Ignore:
Timestamp:
11/13/12 18:17:23 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

#139: added a checker for thev transponder state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/const.py

    r329 r335  
    187187    """Convert the given stage to a lower-case string."""
    188188    return _stageStrings[stage] if stage in _stageStrings else None
    189        
     189
    190190#-------------------------------------------------------------------------------
    191191
     
    233233    """Get the string equivalent of the given flight type."""
    234234    return _flightTypeStrings[flightType] \
    235            if flightType in _flightTypeStrings else None   
     235           if flightType in _flightTypeStrings else None
    236236
    237237#-------------------------------------------------------------------------------
     
    325325    """Get the string equivalent of the given message type."""
    326326    return _messageTypeStrings[messageType] \
    327            if messageType in _messageTypeStrings else None   
     327           if messageType in _messageTypeStrings else None
    328328
    329329#-------------------------------------------------------------------------------
     
    358358    """Get the string equivalent of the given message level."""
    359359    return _messageLevelStrings[messageLevel] \
    360            if messageLevel in _messageLevelStrings else None   
     360           if messageLevel in _messageLevelStrings else None
    361361
    362362def string2messageLevel(str):
     
    476476    """Get the string equivalent of the given fuelTank."""
    477477    return _fuelTankStrings[fuelTank] \
    478            if fuelTank in _fuelTankStrings else None   
     478           if fuelTank in _fuelTankStrings else None
    479479
    480480#-------------------------------------------------------------------------------
     
    525525
    526526#-------------------------------------------------------------------------------
    527 
Note: See TracChangeset for help on using the changeset viewer.