Class Rotator
  
  Client implementation of an ASCOM Alpaca Rotator device.
This class is meant to be use in a client application that need to control an ASCOM Alpaca Rotator
    Inheritance
    System.Object
    
    Rotator
   
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: ES.Ascom.Alpaca.Client.dll
  Syntax
  
    public sealed class Rotator : DeviceBase, IRotator, IDevice, IRotatorAsync, IDeviceAsync
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Rotator(DeviceConfiguration)
  Initializes a new instance of the Rotator class.
Declaration
  
    public Rotator(DeviceConfiguration configuration)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Rotator(DeviceConfiguration, ILogger)
  Initializes a new instance of the Rotator class.
Declaration
  
    public Rotator(DeviceConfiguration configuration, ILogger logger)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Rotator(DeviceConfiguration, IClientTransactionIdGenerator)
  Initializes a new instance of the Rotator class.
Declaration
  
    public Rotator(DeviceConfiguration configuration, IClientTransactionIdGenerator clientTransactionIdGenerator)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Rotator(DeviceConfiguration, IClientTransactionIdGenerator, ILogger)
  Initializes a new instance of the Rotator class.
Declaration
  
    public Rotator(DeviceConfiguration configuration, IClientTransactionIdGenerator clientTransactionIdGenerator, ILogger logger)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Rotator(DeviceConfiguration, ICommandSender)
  
  
  Declaration
  
    public Rotator(DeviceConfiguration configuration, ICommandSender commandSender)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | DeviceConfiguration | configuration |  | 
      
        | ES.Ascom.Alpaca.Client.Request.ICommandSender | commandSender |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Rotator(DeviceConfiguration, ICommandSender, IClientTransactionIdGenerator)
  
  
  Declaration
  
    public Rotator(DeviceConfiguration configuration, ICommandSender commandSender, IClientTransactionIdGenerator clientTransactionIdGenerator)
   
  Parameters
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DeviceType
  
  
  Declaration
  
    protected override DeviceType DeviceType { get; }
   
  Property Value
  
  Overrides
  ES.Ascom.Alpaca.Client.Devices.DeviceBase.DeviceType
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CanReverse()
  
  
  Declaration
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CanReverseAsync()
  
  
  Declaration
  
    public Task<bool> CanReverseAsync()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task<System.Boolean> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetPosition()
  
  
  Declaration
  
    public double GetPosition()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetPositionAsync()
  
  
  Declaration
  
    public Task<double> GetPositionAsync()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task<System.Double> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetStepSize()
  
  
  Declaration
  
    public double GetStepSize()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetStepSizeAsync()
  
  
  Declaration
  
    public Task<double> GetStepSizeAsync()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task<System.Double> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetTargetPosition()
  
  
  Declaration
  
    public double GetTargetPosition()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetTargetPositionAsync()
  
  
  Declaration
  
    public Task<double> GetTargetPositionAsync()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task<System.Double> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Halt()
  
  
  Declaration
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HaltAsync()
  
  
  Declaration
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsMoving()
  
  
  Declaration
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsMovingAsync()
  
  
  Declaration
  
    public Task<bool> IsMovingAsync()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task<System.Boolean> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsReversed()
  
  
  Declaration
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsReversedAsync()
  
  
  Declaration
  
    public Task<bool> IsReversedAsync()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task<System.Boolean> |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Move(Double)
  
  
  Declaration
  
    public void Move(double position)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Double | position |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MoveAbsolute(Double)
  
  
  Declaration
  
    public void MoveAbsolute(double position)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Double | position |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MoveAbsoluteAsync(Double)
  
  
  Declaration
  
    public Task MoveAbsoluteAsync(double position)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Double | position |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MoveAsync(Double)
  
  
  Declaration
  
    public Task MoveAsync(double position)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Double | position |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetReversed(Boolean)
  
  
  Declaration
  
    public void SetReversed(bool reversed)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Boolean | reversed |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetReversedAsync(Boolean)
  
  
  Declaration
  
    public Task SetReversedAsync(bool reversed)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Boolean | reversed |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task |  | 
    
  
  Implements