Changeset 765:fc1433d4854f
- Timestamp:
- 02/21/16 14:51:04 (9 years ago)
- Branch:
- version_0.37
- 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
r749 r765 1849 1849 state.gearsDown = state.gearControlDown 1850 1850 1851 # Th N1 values cannot be read either 1852 state.n1 = [None, None] 1853 1851 1854 return state 1852 1855 -
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.