Returns the minimum value for this switch device, this must be less than MaxSwitchValue(Int16).

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public double MinSwitchValue(
	short id
)
Visual Basic
Public Function MinSwitchValue ( _
	id As Short _
) As Double
Visual C++
public:
virtual double MinSwitchValue(
	short id
) sealed

Parameters

id
Type: System..::..Int16
The device whose value should be returned

Return Value

The minimum value to which this device can be set or a read only sensor will return.

Implements

ISwitchV2..::..MinSwitchValue(Int16)

Remarks

Two state devices should return 0.0 as their minimum value.

This method was first introduced in Version 2.

Exceptions

ExceptionCondition
ASCOM..::..InvalidValueExceptionIf id is outside the range 0 to MaxSwitch - 1

See Also