- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r496 r478 1382 1382 if state.groundSpeed>50: 1383 1383 SpeedChecker.logSpeedFault(flight, state) 1384 else:1385 self._takeoffState = None1386 1384 1387 1385 def _checkPushAndTaxi(self, flight, aircraft, state): … … 1428 1426 def isCondition(self, flight, aircraft, oldState, state): 1429 1427 """Check if the fault condition holds.""" 1430 return state.strobeLightsOn is not None and \ 1431 ((flight.stage==const.STAGE_BOARDING and \ 1428 return (flight.stage==const.STAGE_BOARDING and \ 1432 1429 state.strobeLightsOn and state.onTheGround) or \ 1433 1430 (flight.stage==const.STAGE_TAKEOFF and \ … … 1437 1434 not state.strobeLightsOn and not state.onTheGround) or \ 1438 1435 (flight.stage==const.STAGE_PARKING and \ 1439 state.strobeLightsOn and state.onTheGround) )1436 state.strobeLightsOn and state.onTheGround) 1440 1437 1441 1438 def logFault(self, flight, aircraft, logger, oldState, state):
Note:
See TracChangeset
for help on using the changeset viewer.