Changeset 705:e9d73c721d33


Ignore:
Timestamp:
10/25/15 08:58:15 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
cef
Phase:
public
Message:

The weights are recomputed to tons (re #279).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r704 r705  
    19981998        plan["stem"] = str(arrivalTime.minute)
    19991999
    2000         plan["manualzfw"] = str(wizard.zfw)
    2001         plan["cargo"] = str(wizard.bagWeight + wizard.cargoWeight + wizard.mailWeight)
     2000        plan["manualzfw"] = str(wizard.zfw / 1000.0)
     2001        plan["cargo"] = str((wizard.bagWeight + wizard.cargoWeight + wizard.mailWeight)/1000.0)
    20022002
    20032003        plan["route"] = wizard.route
Note: See TracChangeset for help on using the changeset viewer.