Class

FuelTank

USI.Core

One discoverable fuel tank on the loaded aircraft.

public sealed class FuelTank : AircraftComponentNode

Properties

DisplayName

public string DisplayName { get; }

Gets a human-readable label for the tank.

Number

public int Number { get; }

Gets the tank's one-based identity within the current aircraft.

Methods

TryGetCapacityPoundsAsync

public Task<USIResult<Double>> TryGetCapacityPoundsAsync()

Gets the tank's configured fuel capacity in pounds.

TryGetFilterBlockedAsync

public Task<USIResult<Boolean>> TryGetFilterBlockedAsync()

Gets whether this tank's fuel filter is blocked.

TryGetIndicatedWeightPoundsAsync

public Task<USIResult<Double>> TryGetIndicatedWeightPoundsAsync()

Gets the cockpit fuel-quantity indication for this tank, in pounds.

TryGetPumpEnabledAsync

public Task<USIResult<Boolean>> TryGetPumpEnabledAsync()

Gets whether this tank's fuel pump is enabled.

TryGetPumpPressurePsiAsync

public Task<USIResult<Double>> TryGetPumpPressurePsiAsync()

Gets pressure generated by this tank's pump, in psi.

TryGetRemainingRatioAsync

public Task<USIResult<Double>> TryGetRemainingRatioAsync()

Gets current tank fuel as a normalized fraction of configured capacity. Zero is empty and one is full.

TryGetTemperatureCelsiusAsync

public Task<USIResult<Double>> TryGetTemperatureCelsiusAsync()

Gets fuel temperature at the tank in degrees Celsius when the provider exposes a tank-local sensor.

TryGetTransferActiveAsync

public Task<USIResult<Boolean>> TryGetTransferActiveAsync()

Gets whether fuel transfer associated with this tank is active.

TryGetUsableRemainingRatioAsync

public Task<USIResult<Double>> TryGetUsableRemainingRatioAsync()

Gets usable fuel as a fraction of configured tank capacity, excluding fuel that cannot be delivered to the aircraft systems.

TryGetUsableWeightPoundsAsync

public Task<USIResult<Double>> TryGetUsableWeightPoundsAsync()

Gets usable fuel weight in this tank, excluding fuel that cannot be delivered to the aircraft systems.

TryGetWeightPoundsAsync

public Task<USIResult<Double>> TryGetWeightPoundsAsync()

Gets the tank's current fuel weight in pounds.

TrySetPumpEnabledAsync

public Task<USIResult> TrySetPumpEnabledAsync(bool enabled)

Enables or disables this tank's fuel pump absolutely.

TrySetWeightPoundsAsync

public Task<USIResult> TrySetWeightPoundsAsync(double weightPounds)

Assigns an absolute fuel weight in pounds when the provider permits deterministic tank-quantity writes.