Show / Hide Table of Contents

Interface IRotatorAsync

Defines the capabilities supported by an ASCOM Alpaca Rotator device

Inherited Members
IDeviceAsync.DeviceNumber
IDeviceAsync.InvokeActionAsync(String, String)
IDeviceAsync.SendCommandBlindAsync(String, Boolean)
IDeviceAsync.SendCommandBoolAsync(String, Boolean)
IDeviceAsync.SendCommandStringAsync(String, Boolean)
IDeviceAsync.IsConnectedAsync()
IDeviceAsync.SetConnectedAsync(Boolean)
IDeviceAsync.GetDescriptionAsync()
IDeviceAsync.GetDriverInfoAsync()
IDeviceAsync.GetDriverVersionAsync()
IDeviceAsync.GetInterfaceVersionAsync()
IDeviceAsync.GetNameAsync()
IDeviceAsync.GetSupportedActionsAsync()
Namespace: ES.Ascom.Alpaca.Devices
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IRotatorAsync : IDeviceAsync

Methods

| Improve this Doc View Source

CanReverseAsync()

Indicates whether the rotator supports the Reverse method.

Declaration
Task<bool> CanReverseAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

True if the rotator supports the Reverse method.

| Improve this Doc View Source

GetPositionAsync()

Returns the rotator's current position.

Declaration
Task<double> GetPositionAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

Current instantaneous Rotator position, in degrees.

| Improve this Doc View Source

GetTargetPositionAsync()

Returns the destination position angle for Move() and MoveAbsolute().

Declaration
Task<double> GetTargetPositionAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Double>
| Improve this Doc View Source

HaltAsync()

Immediately stop any Rotator motion due to a previous Move or MoveAbsolute method call.

Declaration
Task HaltAsync()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

IsMovingAsync()

Indicates whether the rotator is currently moving.

Declaration
Task<bool> IsMovingAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

IsReversedAsync()

Returns the rotator’s Reverse state.

Declaration
Task<bool> IsReversedAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

MoveAbsoluteAsync(Double)

Causes the rotator to move the absolute position of Position degrees.

Declaration
Task MoveAbsoluteAsync(double position)
Parameters
Type Name Description
System.Double position

Absolute position in degrees.

Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

MoveAsync(Double)

Causes the rotator to move Position degrees relative to the current Position value.

Declaration
Task MoveAsync(double position)
Parameters
Type Name Description
System.Double position

Relative position to move in degrees from current Position.

Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SetReversedAsync(Boolean)

Sets the rotator’s Reverse state.

Declaration
Task SetReversedAsync(bool reversed)
Parameters
Type Name Description
System.Boolean reversed

True if the rotation and angular direction must be reversed to match the optical characteristcs

Returns
Type Description
System.Threading.Tasks.Task

See Also

IRotator
  • Improve this Doc
  • View Source
Back to top Generated by DocFX