AlpacaSwitchSetAsyncValue Method

Set a switch's value asynchronously

Definition

Namespace: ASCOM.Alpaca.Clients
Assembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
C#
public void SetAsyncValue(
	short id,
	double value
)

Parameters

id  Int16
Switch number.
value  Double
New double value.

Implements

ISwitchV3SetAsyncValue(Int16, Double)

Remarks

See this link for the canonical definition, which may include further information and implementation requirements: Canonical Definition

Exceptions

MethodNotImplementedExceptionWhen CanAsync(id) is false.

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also