Esempio n. 1
0
        private void InitializeRunway2()
        {
            RwyStatus    rwystatus2    = new RwyStatus(runwayStatusOn2, runwayStatusOff2);
            RwyControl   rwycontrol2   = new RwyControl(runwayControlOn2, runwayControlOff2);
            RwyCat       rwycat2       = new RwyCat(runwayCategoryAlarm2, runwayCategoryIII2, runwayCategoryI2, runwayCategoryNo2);
            RwyPcControl rwypccontrol2 = new RwyPcControl(pccontrolStatusFlash2, pccontrolStatusOn2, pccontrolStatusOff2);
            RwyBuzzer    rwybuzzer2    = new RwyBuzzer(runwayBuzzerEnable2, runwayBuzzerDisable2);
            RwyBinding   rwybinding2   = new RwyBinding(rwybuzzer2, rwycat2, rwypccontrol2, rwycontrol2, rwystatus2, runway2, Program.airportConfig.Runway[1]);

            Program.airportBinding._RwyBinding.Add(rwybinding2);
        }
Esempio n. 2
0
        private void InitializeRunway1()
        {
            RwyStatus    rwystatus1    = new RwyStatus(runwayStatusOn1, runwayStatusOff1);
            RwyControl   rwycontrol1   = new RwyControl(runwayControlOn1, runwayControlOff1);
            RwyCat       rwycat1       = new RwyCat(runwayCategoryAlarm1, runwayCategoryIII1, runwayCategoryI1, runwayCategoryNo1);
            RwyPcControl rwypccontrol1 = new RwyPcControl(pccontrolStatusFlash1, pccontrolStatusOn1, pccontrolStatusOff1);
            RwyBuzzer    rwybuzzer1    = new RwyBuzzer(runwayBuzzerEnable1, runwayBuzzerDisable1);
            RwyBinding   rwybinding1   = new RwyBinding(rwybuzzer1, rwycat1, rwypccontrol1, rwycontrol1, rwystatus1, runway1, Program.airportConfig.Runway[0]);

            Program.airportBinding._RwyBinding.Add(rwybinding1);
        }