Interface

IAircraftOxygenSystem

USI.Core

Simulator-neutral access to aircraft oxygen-system state.

public interface IAircraftOxygenSystem

Methods

TryDeployPassengerMasksAsync

public Task<USIResult> TryDeployPassengerMasksAsync()

Requests deployment of the passenger oxygen masks. This is a one-way emergency action; it does not imply that the oxygen generator has started or that supply is available.

TryGetBottleCapacityLitersAsync

public Task<USIResult<Double>> TryGetBottleCapacityLitersAsync()

Gets the configured crew oxygen bottle capacity, in liters.

TryGetBottlePressurePsiAsync

public Task<USIResult<Double>> TryGetBottlePressurePsiAsync()

Gets crew oxygen bottle pressure in pounds per square inch.

TryGetBottleRemainingLitersAsync

public Task<USIResult<Double>> TryGetBottleRemainingLitersAsync()

Gets oxygen remaining in the crew bottle, in liters.

TryGetConnectedOccupantCountAsync

public Task<USIResult<Int32>> TryGetConnectedOccupantCountAsync()

Gets the number of occupants connected to the bottle system.

TryGetCrewBottleValveOpenAsync

public Task<USIResult<Boolean>> TryGetCrewBottleValveOpenAsync()

Gets whether the crew oxygen bottle valve is selected open.

TryGetDemandFlowModeAsync

public Task<USIResult<OxygenDemandFlowMode>> TryGetDemandFlowModeAsync()

Gets the selected crew oxygen demand-flow mode.

TryGetPassengerSupplyActiveAsync

public Task<USIResult<Boolean>> TryGetPassengerSupplyActiveAsync()

Gets whether the passenger oxygen generator is supplying oxygen.

TryGetPassengerSupplyIndicationActiveAsync

public Task<USIResult<Boolean>> TryGetPassengerSupplyIndicationActiveAsync()

Gets whether the cockpit passenger-oxygen-on indication is active.

TryGetPassengerSupplyMinutesRemainingAsync

public Task<USIResult<Double>> TryGetPassengerSupplyMinutesRemainingAsync()

Gets passenger oxygen supply time remaining, in minutes.

TryGetPilotFeltAltitudeFeetAsync

public Task<USIResult<Double>> TryGetPilotFeltAltitudeFeetAsync()

Gets the pressure altitude physiologically experienced by the pilot.

TrySetConnectedOccupantCountAsync

public Task<USIResult> TrySetConnectedOccupantCountAsync(int count)

Sets the number of occupants connected to the bottle system.

TrySetCrewBottleValveOpenAsync

public Task<USIResult> TrySetCrewBottleValveOpenAsync(bool open)

Selects whether the crew oxygen bottle valve is open.

TrySetDemandFlowModeAsync

public Task<USIResult> TrySetDemandFlowModeAsync(OxygenDemandFlowMode mode)

Selects the crew oxygen demand-flow mode.