예제 #1
0
파일: clsSections.cs 프로젝트: SK21/AOG_RC
        public clsSections(FormStart CallingForm)
        {
            mf    = CallingForm;
            Items = cSections.AsReadOnly();

            mf.AutoSteerPGN.RelaysChanged += AOGnew_RelaysChanged;

            mf.SwitchBox.SwitchPGNreceived += SwitchBox_SwitchPGNreceived;

            ToAOG = new PGN234(mf);
        }
예제 #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;
        }