Ignore:
Timestamp:
12/22/12 06:43:00 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the handling of the anti-ice values and extended the simulator to handle them too (re #159)

File:
1 edited

Legend:

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

    r367 r390  
    5959
    6060        self._onTheGround = gtk.Label("ONTHEGROUND")
    61         table.attach(self._onTheGround, 10, 12, 0, 1)
     61        table.attach(self._onTheGround, 10, 11, 0, 1)
     62
     63        self._antiIceOn = gtk.Label("ANTI-ICE")
     64        table.attach(self._antiIceOn, 11, 12, 0, 1)
    6265
    6366        (label, self._zfw) = self._createLabeledEntry("ZFW:", 6)
     
    259262            self._stalled.set_sensitive(False)
    260263            self._onTheGround.set_sensitive(False)
     264            self._antiIceOn.set_sensitive(False)
    261265            self._zfw.set_text("-")
    262266            self._grossWeight.set_text("-")
     
    311315            self._stalled.set_sensitive(aircraftState.stalled)
    312316            self._onTheGround.set_sensitive(aircraftState.onTheGround)
     317            self._antiIceOn.set_sensitive(aircraftState.antiIceOn)
    313318            self._zfw.set_text("%.0f" % (aircraftState.zfw,))
    314319            self._grossWeight.set_text("%.0f" % (aircraftState.grossWeight,))
Note: See TracChangeset for help on using the changeset viewer.