Interface

IAircraftCabinSystem

USI.Core

Simulator-neutral access to occupant-facing cabin state.

public interface IAircraftCabinSystem : IAircraftComponentCollection

Methods

TryGetAirConditioningFailureDetectedAsync

public Task<USIResult<Boolean>> TryGetAirConditioningFailureDetectedAsync()

Gets whether the cabin air-conditioning system has failed.

TryGetAirConditioningSelectedAsync

public Task<USIResult<Boolean>> TryGetAirConditioningSelectedAsync()

Gets whether electric cabin air conditioning is selected.

TryGetCockpitSmokeDetectedAsync

public Task<USIResult<Boolean>> TryGetCockpitSmokeDetectedAsync()

Gets whether smoke is detected in the cockpit.

TryGetConfiguredPilotEyePositionRelativeToCenterOfGravityFeetAsync

public Task<USIResult<AircraftRelativePositionFeet>> TryGetConfiguredPilotEyePositionRelativeToCenterOfGravityFeetAsync()

Gets the loaded aircraft's configured pilot eye position relative to its center of gravity in forward, rightward, and upward feet.

TryGetHeaterModeAsync

public Task<USIResult<CabinHeaterMode>> TryGetHeaterModeAsync()

Gets the selected electric cabin-heater mode.

TryGetNoSmokingSignEnabledAsync

public Task<USIResult<Boolean>> TryGetNoSmokingSignEnabledAsync()

Gets whether the no-smoking sign is selected on.

TryGetNoSmokingSignIndicationActiveAsync

public Task<USIResult<Boolean>> TryGetNoSmokingSignIndicationActiveAsync()

Gets whether the cockpit no-smoking indication is active.

TryGetPrimaryEntryOpenRatioAsync

public Task<USIResult<Double>> TryGetPrimaryEntryOpenRatioAsync()

Gets the actual opening ratio of the aircraft's primary canopy or entry, from 0 (closed) to 1 (fully open).

TryGetSeatbeltSignEnabledAsync

public Task<USIResult<Boolean>> TryGetSeatbeltSignEnabledAsync()

Gets whether the fasten-seatbelts sign is selected on.

TryGetSeatbeltSignIndicationActiveAsync

public Task<USIResult<Boolean>> TryGetSeatbeltSignIndicationActiveAsync()

Gets whether the cockpit fasten-seatbelts indication is active.

TryGetVentilationFanModeAsync

public Task<USIResult<CabinVentilationFanMode>> TryGetVentilationFanModeAsync()

Gets the selected cabin ventilation-fan mode.

TryGetVentilationFanOperatingLevelAsync

public Task<USIResult<CabinVentilationFanOperatingLevel>> TryGetVentilationFanOperatingLevelAsync()

Gets the actual cabin ventilation-fan operating level.

TrySetAirConditioningSelectedAsync

public Task<USIResult> TrySetAirConditioningSelectedAsync(bool selected)

Selects electric cabin air conditioning.

TrySetHeaterModeAsync

public Task<USIResult> TrySetHeaterModeAsync(CabinHeaterMode mode)

Selects the electric cabin-heater mode.

TrySetNoSmokingSignEnabledAsync

public Task<USIResult> TrySetNoSmokingSignEnabledAsync(bool enabled)

Sets whether the no-smoking sign is selected on.

TrySetPrimaryEntryOpenRatioAsync

public Task<USIResult> TrySetPrimaryEntryOpenRatioAsync(double ratio)

Commands the primary canopy or entry from 0 (closed) to 1 (fully open).

TrySetSeatbeltSignEnabledAsync

public Task<USIResult> TrySetSeatbeltSignEnabledAsync(bool enabled)

Sets whether the fasten-seatbelts sign is selected on.

TrySetVentilationFanModeAsync

public Task<USIResult> TrySetVentilationFanModeAsync(CabinVentilationFanMode mode)

Selects the cabin ventilation-fan mode.