Class

HydraulicPump

USI.Core

A named pump in a component-based hydraulic network.

public sealed class HydraulicPump : HydraulicIndexedComponent

Methods

TryGetActiveAsync

public Task<USIResult<Boolean>> TryGetActiveAsync()

TryGetPressurePsiAsync

public Task<USIResult<Double>> TryGetPressurePsiAsync()

TryGetSelectedAsync

public Task<USIResult<Boolean>> TryGetSelectedAsync()

Gets whether the pump is selected on. Selection is distinct from the pump actually producing pressure.

TryToggleSelectedAsync

public Task<USIResult> TryToggleSelectedAsync()

Requests one provider-defined change of the pump selection. The result confirms accepted intent, not final pump activity.