ISwitchV2SetSwitch Method
Sets a switch controller device to the specified state, true or false.
Namespace: ASCOM.Common.DeviceInterfacesAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
void SetSwitch(
short id,
bool state
)
Sub SetSwitch (
id As Short,
state As Boolean
)
Parameters
- id Int16
- The device number (0 to MaxSwitch - 1)
- state Boolean
- The required control state
See this link for the canonical definition, which may include further information and implementation requirements:
Canonical DefinitionSupported in: 2.0