Exemplo n.º 1
0
        public ToggleSwitchMfdInputControl BuildExtFuelTransSwitch()
        {
            var extFuelTransSwitch = new ToggleSwitchMfdInputControl();

            extFuelTransSwitch.PositionChanged += _extFuelTransSwitch_PositionChanged;
            extFuelTransSwitch.AddPosition("NORM");
            extFuelTransSwitch.AddPosition("WING FIRST");
            return(extFuelTransSwitch);
        }
        public ToggleSwitchMfdInputControl CreateHsiModeSelectorSwitch()
        {
            var toggleSwitch = new ToggleSwitchMfdInputControl();

            toggleSwitch.PositionChanged += _hsiModeSelectorSwitch_PositionChanged;
            toggleSwitch.AddPosition(@"ILS/TCN");
            toggleSwitch.AddPosition("TCN");
            toggleSwitch.AddPosition("NAV");
            toggleSwitch.AddPosition(@"ILS/NAV");
            return(toggleSwitch);
        }
        public ToggleSwitchMfdInputControl BuildFuelSelectSwitch()
        {
            var fuelSelectSwitch = new ToggleSwitchMfdInputControl();

            fuelSelectSwitch.PositionChanged += _fuelSelectControl_PositionChanged;
            fuelSelectSwitch.AddPosition("TEST");
            fuelSelectSwitch.AddPosition("NORM");
            fuelSelectSwitch.AddPosition("RSVR");
            fuelSelectSwitch.AddPosition("INT WING");
            fuelSelectSwitch.AddPosition("EXT WING");
            fuelSelectSwitch.AddPosition("EXT CTR");
            return(fuelSelectSwitch);
        }