Changeset 548:bcb90fca2956


Ignore:
Timestamp:
01/04/14 13:44:04 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Removed the logging in the Tu-134 anti-collision lights checker and changed the conditions to match procedures. The logged text is also changed to reflect reality (re #220)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MLXMANIFEST

    r547 r548  
    151151library/unittest/case.pyc       37758   1d2235e74c246b562c5c00ddf73c621a
    152152library/encodings/euc_jp.pyc    1646    c0d60e6d08161643bd7dbe651063f334
    153 library/mlx/acft.pyc    35652   dd72c137496e1567d95ba5ddaa722db2
     153library/mlx/acft.pyc    35652   f8a2b445040db12a956a5ad19c9f962f
    154154library/gobject._gobject.pyd    113152  3d05dd191361f83aa247b62c700fa04e
    155155doc/manual/hu/checklistEditor.png       27863   8c750892a52dc10ca654a9d0b2765358
     
    172172Microsoft.VC90.CRT/msvcr90.dll  655872  e7d91d008fe76423962b91c43c88e4eb
    173173sounds/ding.wav 80856   18e639792d3767436ac6955eb60e4f54
    174 library/mlx/checks.pyc  59307   1a2fc7ae662b76238310227a919a6d03
     174library/mlx/checks.pyc  59496   0ff54f376d6dc9992300332db1ebd038
    175175doc/manual/en/statusIcon2.png   5875    71fc121823dee0a4c00715fac1b5665c
    176176doc/manual/en/pirepViewer.png   25098   7c545e70b995ac0f9fcae93fe5d0e899
  • src/mlx/checks.py

    r546 r548  
    932932        flight.handleFault(AntiCollisionLightsChecker, state.timestamp,
    933933                           FaultChecker._appendDuring(flight,
    934                                                       "Anti-collision lights were off"),
     934                                                      "Anti-collision lights were %s" %
     935                                                      ("on" if state.antiCollisionLightsOn else "off",)),
    935936                           1)
    936937
     
    955956            if n1>5: numEnginesRunning += 1
    956957
    957         print "TupolevAntiCollisionLightsChecker: n1", state.n1,
    958         print ", numEnginesRunning:", numEnginesRunning,
    959         print ", stage:", flight.stage,
    960         print ", antiCollisionLightsOn:", state.antiCollisionLightsOn,
    961         print ", parking:", state.parking,
    962         print
    963 
    964958        if flight.stage==const.STAGE_PARKING or \
    965            (flight.stage==const.STAGE_TAXIAFTERLAND and state.parking):
     959           flight.stage==const.STAGE_TAXIAFTERLAND:
    966960            return numEnginesRunning<len(state.n1) \
    967961                   and state.antiCollisionLightsOn
Note: See TracChangeset for help on using the changeset viewer.