PneumaticValve
USI.Core
A named valve in the aircraft pneumatic network.
public sealed class PneumaticValve : PneumaticIndexedComponentMethods
TryGetModeAsync
public Task<USIResult<PneumaticValveMode>> TryGetModeAsync()TryGetOpeningRatioAsync
public Task<USIResult<Double>> TryGetOpeningRatioAsync()TryGetSwitchOpenAsync
public Task<USIResult<Boolean>> TryGetSwitchOpenAsync()TryGetTargetOpeningRatioAsync
public Task<USIResult<Double>> TryGetTargetOpeningRatioAsync()TrySetModeAsync
public Task<USIResult> TrySetModeAsync(PneumaticValveMode mode)Sets the valve's simulator-neutral operating mode.
TrySetOpenAsync
public Task<USIResult> TrySetOpenAsync(bool open)Requests the valve fully open or fully closed.
TrySetTargetOpeningRatioAsync
public Task<USIResult> TrySetTargetOpeningRatioAsync(double ratio)Sets the commanded valve opening from closed to fully open.
TryToggleAsync
public Task<USIResult> TryToggleAsync()Requests one toggle of the valve's selected open state.
