Click or drag to resize
AxisRates Class
A collection of rates at which the telescope may be moved about the specified axis by the MoveAxis(TelescopeAxes, Double) method. This is only used if the telescope interface version is 2 or 3
Inheritance Hierarchy
SystemObject
  ASCOM.DriverAccessAxisRates

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public class AxisRates : IAxisRates, IEnumerator

The AxisRates type exposes the following members.

Constructors
  NameDescription
Public methodAxisRates
Creates an empty AxisRates object
Top
Properties
  NameDescription
Public propertyCount
Returns the number of rate objects in the collection
Public propertyCurrent
Returns the current value of the collection
Public propertyItem
Return information about the rates at which the telescope may be moved about the specified axis by the MoveAxis(TelescopeAxes, Double) method.
Top
Methods
  NameDescription
Public methodAdd
Adds a new rate to the collection
Public methodDispose
Disposes of any external resources acquired by the object
Public methodGetEnumerator
Returns an enumerator to provide access to the collection members
Public methodMoveNext
Moves the pointer to the next element
Public methodReset
Resets the enumerator to its initial posiiton before the first element
Top
Remarks

See the description of the MoveAxis(TelescopeAxes, Double) method for more information.

This method must return an empty collection if MoveAxis(TelescopeAxes, Double) is not supported.

The values used in IRate members must be non-negative; forward and backward motion is achieved by the application applying an appropriate sign to the returned IRate values in the MoveAxis(TelescopeAxes, Double) command.

See Also