ISwitchV3GetSwitchValue Method
Returns the value for switch device id as a double
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.1.3+4851.c5da65c2b
double GetSwitchValue(
short id
)
Function GetSwitchValue (
id As Short
) As Double
double GetSwitchValue(
short id
)
- id Int16
- The device number (0 to MaxSwitch - 1)
DoubleThe value for this switch, this is expected to be between
MinSwitchValue(Int16) and
MaxSwitchValue(Int16).
See this link for the canonical definition, which may include further information and implementation requirements:
Canonical Definition| Date | Version | Description |
|---|
| ISwitchV2 | Platform 6.1 | Member added. |