A class that provides information about the Fuel and Payload of the current aircraft
More...
|
FsFuelTank | GetFuelTank (FSFuelTanks Tank) |
| DEPRECATED: Use the accessor on the FuelTanks collection instead. e.g. FsFuelTank leftTank = PayloadServices.FuelTanks[FsFuelTanks.Left_Main]; More...
|
|
void | RefreshData () |
| Updates all the payload data from FSUIPC. More...
|
|
void | WriteChanges () |
| Writes the changes to fuel tank levels and payload weights More...
|
|
double | LoadFuelUSGallons (double FuelQuantity, bool SetAbsoluteQuantity) |
| Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks. More...
|
|
double | LoadFuelLitres (double FuelQuantity, bool SetAbsoluteQuantity) |
| Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks. More...
|
|
double | LoadFuelLbs (double FuelQuantity, bool SetAbsoluteQuantity) |
| Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks. More...
|
|
double | LoadFuelKgs (double FuelQuantity, bool SetAbsoluteQuantity) |
| Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks. More...
|
|
double | LoadFuelNewtons (double FuelQuantity, bool SetAbsoluteQuantity) |
| Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks. More...
|
|
double | LoadFuelSlugs (double FuelQuantity, bool SetAbsoluteQuantity) |
| Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks. More...
|
|
A class that provides information about the Fuel and Payload of the current aircraft
double LoadFuelKgs |
( |
double |
FuelQuantity, |
|
|
bool |
SetAbsoluteQuantity |
|
) |
| |
|
inline |
Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks.
The priority for filling tanks is set out in the FuelDistributionPlan. The default plan fills tip and aux tanks first, followed by the main tanks, then centre, and finally external.
- Parameters
-
FuelQuantity | The quantity of fuel in Kg |
SetAbsoluteQuantity | Set to true to set the fuel load to the specified quantity. Set to false to add the specified quantity to the fuel already in the tanks. |
- Returns
- The quantity of fuel that could not be placed in the tanks
double LoadFuelLbs |
( |
double |
FuelQuantity, |
|
|
bool |
SetAbsoluteQuantity |
|
) |
| |
|
inline |
Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks.
The priority for filling tanks is set out in the FuelDistributionPlan. The default plan fills tip and aux tanks first, followed by the main tanks, then centre, and finally external.
- Parameters
-
FuelQuantity | The quantity of fuel in Pounds (Lbs) |
SetAbsoluteQuantity | Set to true to set the fuel load to the specified quantity. Set to false to add the specified quantity to the fuel already in the tanks. |
- Returns
- The quantity of fuel that could not be placed in the tanks
double LoadFuelLitres |
( |
double |
FuelQuantity, |
|
|
bool |
SetAbsoluteQuantity |
|
) |
| |
|
inline |
Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks.
The priority for filling tanks is set out in the FuelDistributionPlan. The default plan fills tip and aux tanks first, followed by the main tanks, then centre, and finally external.
- Parameters
-
FuelQuantity | The quantity of fuel in Litres |
SetAbsoluteQuantity | Set to true to set the fuel load to the specified quantity. Set to false to add the specified quantity to the fuel already in the tanks. |
- Returns
- The quantity of fuel that could not be placed in the tanks
double LoadFuelNewtons |
( |
double |
FuelQuantity, |
|
|
bool |
SetAbsoluteQuantity |
|
) |
| |
|
inline |
Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks.
The priority for filling tanks is set out in the FuelDistributionPlan. The default plan fills tip and aux tanks first, followed by the main tanks, then centre, and finally external.
- Parameters
-
FuelQuantity | The quantity of fuel in Newtons |
SetAbsoluteQuantity | Set to true to set the fuel load to the specified quantity. Set to false to add the specified quantity to the fuel already in the tanks. |
- Returns
- The quantity of fuel that could not be placed in the tanks
double LoadFuelSlugs |
( |
double |
FuelQuantity, |
|
|
bool |
SetAbsoluteQuantity |
|
) |
| |
|
inline |
Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks.
The priority for filling tanks is set out in the FuelDistributionPlan. The default plan fills tip and aux tanks first, followed by the main tanks, then centre, and finally external.
- Parameters
-
FuelQuantity | The quantity of fuel in Slugs |
SetAbsoluteQuantity | Set to true to set the fuel load to the specified quantity. Set to false to add the specified quantity to the fuel already in the tanks. |
- Returns
- The quantity of fuel that could not be placed in the tanks
double LoadFuelUSGallons |
( |
double |
FuelQuantity, |
|
|
bool |
SetAbsoluteQuantity |
|
) |
| |
|
inline |
Sets the fuel in the aircraft to the specified quantity, or adds the specified quantity. The fuel will be distributed automatically between the fuel tanks present on the aircraft. If adding fuel the algorithm will try to correct any imbalance between the tanks.
The priority for filling tanks is set out in the FuelDistributionPlan. The default plan fills tip and aux tanks first, followed by the main tanks, then centre, and finally external.
- Parameters
-
FuelQuantity | The quantity of fuel in US Gallons |
SetAbsoluteQuantity | Set to true to set the fuel load to the specified quantity. Set to false to add the specified quantity to the fuel already in the tanks. |
- Returns
- The quantity of fuel that could not be placed in the tanks