Changeset 240:ec52afedd4ad
- Timestamp:
- 06/07/12 14:57:57 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fsuipc.py
r212 r240 685 685 for (tank, level) in levels: 686 686 offset = _tank2offset[tank] 687 data.append( (offset, "u", long(level * 128.8 * 65536.0)) ) 687 value = long(level * 128.0 * 65536.0) 688 data.append( (offset, "u", value) ) 688 689 self._handler.requestWrite(data, self._handleFuelWritten) 689 690
Note:
See TracChangeset
for help on using the changeset viewer.