Ignore:
Timestamp:
05/10/15 06:57:21 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The AGL altitude values are logged with aircraft type-specific units (re #264)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r634 r635  
    242242    def speedInKnots(self):
    243243        """Indicate if the speed is in knots.
     244
     245        This default implementation returns True."""
     246        return True
     247
     248    @property
     249    def aglInFeet(self):
     250        """Indicate if AGL altitudes are to be logged in feet.
    244251
    245252        This default implementation returns True."""
     
    990997        return False
    991998
     999    @property
     1000    def aglInFeet(self):
     1001        """Indicate if AGL altituedes are in feet."""
     1002        return False
     1003
    9921004    def _appendLightsLoggers(self):
    9931005        """Append the loggers needed for the lights."""
     
    10341046
    10351047    @property
     1048    def aglInFeet(self):
     1049        """Indicate if AGL altituedes are in feet."""
     1050        return False
     1051
     1052    @property
    10361053    def derateType(self):
    10371054        """Get the derate type for this type."""
     
    10741091    def speedInKnots(self):
    10751092        """Indicate if the speed is in knots."""
     1093        return False
     1094
     1095    @property
     1096    def aglInFeet(self):
     1097        """Indicate if AGL altituedes are in feet."""
    10761098        return False
    10771099
Note: See TracChangeset for help on using the changeset viewer.