ISwitchV3GetSwitch Method
Return the state of switch device id as a boolean
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.1.3+4851.c5da65c2b
bool GetSwitch(
short id
)
Function GetSwitch (
id As Short
) As Boolean
bool GetSwitch(
short id
)
- id Int16
- The device number (0 to MaxSwitch - 1)
BooleanTrue or false
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. |