ElectricalCircuit
USI.Core
One discoverable semantic electrical circuit. Provider circuit names, indexes, buses, and breaker representations remain below this object.
public sealed class ElectricalCircuit : AircraftComponentNodeProperties
DisplayName
public string DisplayName { get; }Kind
public ElectricalCircuitKind Kind { get; }Number
public int? Number { get; }One-based logical circuit number, or null for a semantic role with no established numbered identity.
Methods
TryGetBreakerPulledAsync
public Task<USIResult<Boolean>> TryGetBreakerPulledAsync()Gets whether this circuit's breaker is pulled where the provider exposes an exact breaker state. This is distinct from loss of circuit power.
TryGetLoadCurrentAmpsAsync
public Task<USIResult<Double>> TryGetLoadCurrentAmpsAsync()Gets the load drawn by this numbered circuit in amperes.
TryGetPoweredAsync
public Task<USIResult<Boolean>> TryGetPoweredAsync()Gets whether electrical power is available to this circuit.
TryGetPowerSettingRatioAsync
public Task<USIResult<Double>> TryGetPowerSettingRatioAsync()Gets the reported circuit power setting as a ratio, not inferred voltage or current.
TryGetSwitchEnabledAsync
public Task<USIResult<Boolean>> TryGetSwitchEnabledAsync()Gets a numbered circuit's selected switch state, independently of power or breaker state.
TryGetVoltageAsync
public Task<USIResult<Double>> TryGetVoltageAsync()Gets reported circuit intake voltage, without using it as installation evidence.
TrySetBreakerPulledAsync
public Task<USIResult> TrySetBreakerPulledAsync(bool pulled)Requests a pulled (true) or reset (false) breaker where its exact identity is supported.
TrySetSwitchEnabledAsync
public Task<USIResult> TrySetSwitchEnabledAsync(bool enabled)Requests an explicit selected state where the provider exposes a direct set. This does not substitute a potentially stale read followed by a toggle.
TryToggleSwitchAsync
public Task<USIResult> TryToggleSwitchAsync()Requests one switch toggle, not a specified resulting state or proof of electrical power.
