Changeset 406:00bd37a9869f
- Timestamp:
- 12/27/12 09:13:14 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fsuipc.py
r401 r406 1560 1560 for fuelTank in self._fuelTanks: 1561 1561 capacity = data[index+1] * fuelWeight * const.LBSTOKG 1562 amount = data[index] * capacity / 128.0 / 65536.0 1563 index += 2 1564 1565 result.append( (fuelTank, amount, capacity) if addCapacities 1566 else (fuelTank, amount)) 1567 totalFuel += amount 1562 if capacity>=1.0: 1563 amount = data[index] * capacity / 128.0 / 65536.0 1564 index += 2 1565 1566 result.append( (fuelTank, amount, capacity) if addCapacities 1567 else (fuelTank, amount)) 1568 totalFuel += amount 1568 1569 1569 1570 return (result, totalFuel)
Note:
See TracChangeset
for help on using the changeset viewer.