Ignore:
Timestamp:
05/31/12 15:20:55 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The position of the gear control lever is logged

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/monitor.py

    r202 r209  
    141141
    142142        self._antiCollisionLightsOn = gtk.Label("ANTICOLLISION")
    143         table.attach(self._antiCollisionLightsOn, 1, 3, 5, 6)
     143        table.attach(self._antiCollisionLightsOn, 1, 2, 5, 6)
    144144
    145145        self._strobeLightsOn = gtk.Label("STROBE")
    146         table.attach(self._strobeLightsOn, 3, 4, 5, 6)
     146        table.attach(self._strobeLightsOn, 2, 3, 5, 6)
    147147
    148148        self._landingLightsOn = gtk.Label("LANDING")
    149         table.attach(self._landingLightsOn, 4, 5, 5, 6)
     149        table.attach(self._landingLightsOn, 3, 4, 5, 6)
    150150
    151151        self._pitotHeatOn = gtk.Label("PITOT HEAT")
    152         table.attach(self._pitotHeatOn, 5, 7, 5, 6)
     152        table.attach(self._pitotHeatOn, 4, 5, 5, 6)
    153153
    154154        self._parking = gtk.Label("PARKING")
    155         table.attach(self._parking, 7, 8, 5, 6)
     155        table.attach(self._parking, 5, 6, 5, 6)
     156
     157        self._gearControlDown = gtk.Label("GEAR LEVER DOWN")
     158        table.attach(self._gearControlDown, 6, 8, 5, 6)
    156159
    157160        self._gearsDown = gtk.Label("GEARS DOWN")
     
    241244            self._pitotHeatOn.set_sensitive(False)
    242245            self._parking.set_sensitive(False)
     246            self._gearControlDown.set_sensitive(False)
    243247            self._gearsDown.set_sensitive(False)
    244248            self._spoilersArmed.set_sensitive(False)
     
    308312            self._pitotHeatOn.set_sensitive(aircraftState.pitotHeatOn)
    309313            self._parking.set_sensitive(aircraftState.parking)
     314            self._gearControlDown.set_sensitive(aircraftState.gearControlDown)
    310315            self._gearsDown.set_sensitive(aircraftState.gearsDown)
    311316            self._spoilersArmed.set_sensitive(aircraftState.spoilersArmed)
Note: See TracChangeset for help on using the changeset viewer.