AxisRates Class

A collection of rates at which the telescope may be moved about the specified axis by the MoveAxis(TelescopeAxis, Double) method. This is only used if the telescope interface version is 2 or 3

Definition

Namespace: ASCOM.Com.DriverAccess
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public class AxisRates : IAxisRates, IEnumerable, 
	IEnumerator, IDisposable
Inheritance
Object    AxisRates
Implements
IAxisRates, IEnumerable, IEnumerator, IDisposable

Remarks

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

This method must return an empty collection if MoveAxis(TelescopeAxis, 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(TelescopeAxis, Double) command.

Constructors

AxisRates Initialise an AxisRates object

Properties

Count Number of AxisRate items in the returned collection
Current Return the current member of the AxisRates collection.
Item Return information about the rates at which the telescope may be moved about the specified axis by the MoveAxis(TelescopeAxis, Double) method.

Methods

Add Add a new member to the AxisRates collection
Dispose DIspose of the AxisRates object
GetEnumerator Returns an enumerator for the AxisRates collection.
MoveNext Move to the next member of the collection.
Reset Reset the enumerator to the first member of the collection

Version Information

.NET Standard

Supported in: 2.0

See Also