Changeset 359:fa4e93edd48b for src/mlx
- Timestamp:
- 12/13/12 16:27:23 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r350 r359 280 280 "Vertical speed range: %.0f..%.0f feet/min" % \ 281 281 (self._minVS, self._maxVS)) 282 elif newStage==const.STAGE_PARKING:283 self.logger.message(aircraftState.timestamp, "Block time end")282 # elif newStage==const.STAGE_PARKING: 283 # self.logger.message(aircraftState.timestamp, "Block time end") 284 284 elif newStage==const.STAGE_END: 285 285 flightLength = self._flight.flightTimeEnd - self._flight.flightTimeStart 286 self.logger.message(aircraftState.timestamp, "Block time end") 286 287 self.logger.message(aircraftState.timestamp, 287 288 "Flight time: " + -
src/mlx/checks.py
r358 r359 94 94 aircraft.prepareFlare() 95 95 elif stage==const.STAGE_TAXIAFTERLAND: 96 if state.parking: 97 aircraft.setStage(state, const.STAGE_PARKING) 98 elif stage==const.STAGE_PARKING: 99 if aircraft.checkFlightEnd(state): 96 if state.parking and aircraft.checkFlightEnd(state): 100 97 aircraft.setStage(state, const.STAGE_END) 101 98 -
src/mlx/flight.py
r354 r359 274 274 elif stage==const.STAGE_TAXIAFTERLAND: 275 275 self.flightTimeEnd = timestamp 276 elif stage==const.STAGE_PARKING: 276 # elif stage==const.STAGE_PARKING: 277 # self.blockTimeEnd = timestamp 278 elif stage==const.STAGE_END: 277 279 self.blockTimeEnd = timestamp 278 elif stage==const.STAGE_END:279 280 with self._endCondition: 280 281 self._endCondition.notify()
Note:
See TracChangeset
for help on using the changeset viewer.