Ignore:
Timestamp:
12/22/12 08:42:13 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added support for logging the state of the anti-ice system (re #159)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/flight.py

    r384 r391  
    183183
    184184    @property
     185    def takeoffAntiIceOn(self):
     186        """Get whether the anti-ice system was on during takeoff."""
     187        return self._gui.takeoffAntiIceOn
     188
     189    @takeoffAntiIceOn.setter
     190    def takeoffAntiIceOn(self, value):
     191        """Set whether the anti-ice system was on during takeoff."""
     192        self._gui.takeoffAntiIceOn = value
     193
     194    @property
    185195    def derate(self):
    186196        """Get the derate value of the flight."""
     
    211221        """Get the VRef speed of the flight."""
    212222        return self._gui.vref
     223
     224    @property
     225    def landingAntiIceOn(self):
     226        """Get whether the anti-ice system was on during landing."""
     227        return self._gui.landingAntiIceOn
     228
     229    @landingAntiIceOn.setter
     230    def landingAntiIceOn(self, value):
     231        """Set whether the anti-ice system was on during landing."""
     232        self._gui.landingAntiIceOn = value
    213233
    214234    @property
Note: See TracChangeset for help on using the changeset viewer.