ISwitchV3SetSwitch Method
Sets a switch controller device to the specified state, true or false.
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.1.3+4851.c5da65c2b
void SetSwitch(
short id,
bool state
)
Sub SetSwitch (
id As Short,
state As Boolean
)
void SetSwitch(
short id,
bool state
)
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 Definition| Date | Version | Description |
|---|
| ISwitch | Platform 5.0 | Member added. |