Changeset 766:86cca1d2f4e3 for src
- Timestamp:
- 02/21/16 14:51:04 (9 years ago)
- Branch:
- default
- Phase:
- public
- rebase_source:
- 7bbf267be5d04c2dbaccb658c002d7c222d8b678
- Location:
- src/mlx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fs.py
r666 r765 212 212 - n1[]: the N1 values of the turbine engines (array of floats 213 213 of as many items as the number of engines, present only for aircraft with 214 turbines, for other aircraft it is None) 214 turbines, for other aircraft it is None). If the aircraft has turbines, but 215 the N1 values cannot be read reliably, the array contains Nones. 215 216 - rpm[]: the RPM values of the piston engines (array of floats 216 217 of as many items as the number of engines, present only for aircraft with -
src/mlx/fsuipc.py
r669 r766 1846 1846 state.gearsDown = state.gearControlDown 1847 1847 1848 # Th N1 values cannot be read either 1849 state.n1 = [None, None] 1850 1848 1851 return state 1849 1852 -
src/mlx/gui/monitor.py
r680 r765 378 378 for n1 in aircraftState.n1: 379 379 if n1Str: n1Str += ", " 380 n1Str += "%.0f" % (n1,) 380 if n1 is None: 381 n1Str += "?" 382 else: 383 n1Str += "%.0f" % (n1,) 381 384 elif aircraftState.rpm is not None: 382 385 n1Str = ""
Note:
See TracChangeset
for help on using the changeset viewer.