Returns the step size that this device supports. This gives the difference between
successive values of the device.
ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 22.214.171.124 (126.96.36.19974)
public double SwitchStep(
Public Function SwitchStep (
id As Short
) As Double
virtual double SwitchStep(
- Type: SystemInt16
The device number whose value should be returned
The step size for this device.
SwitchStep(Int16) must be greater than zero, two state devices should return 1.0.
The number of states is determined from (MaxSwitchValue(Int16) - MinSwitchValue(Int16) ) / SwitchStep(Int16) + 1,
this must be an integer, value 2 for a boolean device and more than 2 for a multi-state device.
SwitchStep, MinSwitchValue and MaxSwitchValue can be used to determine the way the device is controlled and/or displayed,
for example by setting the number of decimal places or number of states for a display.
This method was first introduced in Version 2.