Exemple #1
0
        public clsSections(FormStart CallingForm)
        {
            mf    = CallingForm;
            Items = cSections.AsReadOnly();

            mf.AutoSteerPGN.RelaysChanged += AOGnew_RelaysChanged;

            mf.SwitchBox.SwitchPGNreceived += SwitchBox_SwitchPGNreceived;

            ToAOG = new PGN234(mf);
        }
Exemple #2
0
        public clsSections(FormStart CallingForm)
        {
            mf    = CallingForm;
            Items = cSections.AsReadOnly(); // to use ForEach

            mf.AutoSteerPGN.RelaysChanged += AOGnew_RelaysChanged;

            mf.SwitchBox.SwitchPGNreceived += SwitchBox_SwitchPGNreceived;

            ToAOG = new PGN234(mf);

            SwON[(int)Switches.Auto] = true;
        }