Class

ExternalPowerSource

USI.Core

Public SDK type.

public sealed class ExternalPowerSource : IndexedAircraftComponentNode

Methods

TryGetAvailableAsync

public Task<USIResult<Boolean>> TryGetAvailableAsync()

TryGetBreakerPulledAsync

public Task<USIResult<Boolean>> TryGetBreakerPulledAsync()

Gets whether this source's exact electrical breaker is pulled.

TryGetCanBeRequestedAsync

public Task<USIResult<Boolean>> TryGetCanBeRequestedAsync()

Gets whether ground service can currently be asked to provide this external power source. This is distinct from source availability.

TryGetConnectedAsync

public Task<USIResult<Boolean>> TryGetConnectedAsync()

TryGetCurrentAmpsAsync

public Task<USIResult<Double>> TryGetCurrentAmpsAsync()

TryGetOnIndicationActiveAsync

public Task<USIResult<Boolean>> TryGetOnIndicationActiveAsync()

Gets whether the cockpit indication that external power is on is active. This presentation output is distinct from connection and switch state.

TryGetSwitchEnabledAsync

public Task<USIResult<Boolean>> TryGetSwitchEnabledAsync()

TryGetVoltageAsync

public Task<USIResult<Double>> TryGetVoltageAsync()

TryRequestGroundServiceAsync

public Task<USIResult> TryRequestGroundServiceAsync()

Requests simulator-managed ground-power delivery for this source. A successful result does not imply that the source is connected or selected.

TrySetBreakerPulledAsync

public Task<USIResult> TrySetBreakerPulledAsync(bool pulled)

Requests a pulled or reset breaker; no resulting power state is inferred.

TrySetConnectedAsync

public Task<USIResult> TrySetConnectedAsync(bool connected)

Requests electrical connection, not ground-service delivery or switch selection.

TrySetSwitchEnabledAsync

public Task<USIResult> TrySetSwitchEnabledAsync(bool enabled)