Changeset 31:c9ed7a60bf3b for src/mlx/flight.py
- Timestamp:
- 02/25/12 14:44:45 (12 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/flight.py
r30 r31 29 29 self._gui = gui 30 30 31 gui.resetFlightStatus() 32 31 33 self.cruiseAltitude = None 32 34 self.flareTimeFromFS = False … … 57 59 self._stage = stage 58 60 self.logger.stage(timestamp, stage) 61 self._gui.setStage(stage) 59 62 if stage==const.STAGE_END: 60 63 with self._endCondition: … … 72 75 the report comes from.""" 73 76 self.logger.fault(faultID, timestamp, what, score) 77 self._gui.setRating(self.logger.getRating()) 74 78 75 79 def handleNoGo(self, faultID, timestamp, what, shortReason): 76 80 """Handle a No-Go fault.""" 77 81 self.logger.noGo(faultID, timestamp, what) 82 self._gui.setNoGo(shortReason) 78 83 79 84 def flareStarted(self, flareStart, flareStartFS):
Note:
See TracChangeset
for help on using the changeset viewer.