Show / Hide Table of Contents

Class Focuser

Client implementation of an ASCOM Alpaca Focuser device.

This class is meant to be use in a client application that need to control an ASCOM Alpaca Focuser

Inheritance
System.Object
DeviceBase
Focuser
Implements
IFocuser
IDevice
IFocuserAsync
IDeviceAsync
Inherited Members
DeviceBase.DeviceNumber
DeviceBase.InvokeAction(String, String)
DeviceBase.InvokeActionAsync(String, String)
DeviceBase.SendCommandBlind(String, Boolean)
DeviceBase.SendCommandBlindAsync(String, Boolean)
DeviceBase.SendCommandBool(String, Boolean)
DeviceBase.SendCommandBoolAsync(String, Boolean)
DeviceBase.SendCommandString(String, Boolean)
DeviceBase.SendCommandStringAsync(String, Boolean)
DeviceBase.IsConnected()
DeviceBase.IsConnectedAsync()
DeviceBase.SetConnected(Boolean)
DeviceBase.SetConnectedAsync(Boolean)
DeviceBase.GetDescription()
DeviceBase.GetDescriptionAsync()
DeviceBase.GetDriverInfo()
DeviceBase.GetDriverInfoAsync()
DeviceBase.GetDriverVersion()
DeviceBase.GetDriverVersionAsync()
DeviceBase.GetInterfaceVersion()
DeviceBase.GetInterfaceVersionAsync()
DeviceBase.GetName()
DeviceBase.GetNameAsync()
DeviceBase.GetSupportedActions()
DeviceBase.GetSupportedActionsAsync()
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()
Namespace: ES.Ascom.Alpaca.Client.Devices
Assembly: ES.Ascom.Alpaca.Client.dll
Syntax
public sealed class Focuser : DeviceBase, IFocuser, IDevice, IFocuserAsync, IDeviceAsync

Constructors

| Improve this Doc View Source

Focuser(DeviceConfiguration)

Initializes a new instance of the Focuser class.

Declaration
public Focuser(DeviceConfiguration configuration)
Parameters
Type Name Description
DeviceConfiguration configuration

Device configuration

| Improve this Doc View Source

Focuser(DeviceConfiguration, ILogger)

Initializes a new instance of the Focuser class.

Declaration
public Focuser(DeviceConfiguration configuration, ILogger logger)
Parameters
Type Name Description
DeviceConfiguration configuration

Device configuration

ILogger logger

Logger, can be useful for debugging

| Improve this Doc View Source

Focuser(DeviceConfiguration, IClientTransactionIdGenerator)

Initializes a new instance of the Focuser class.

Declaration
public Focuser(DeviceConfiguration configuration, IClientTransactionIdGenerator clientTransactionIdGenerator)
Parameters
Type Name Description
DeviceConfiguration configuration

Device configuration

IClientTransactionIdGenerator clientTransactionIdGenerator

Client Transaction ID Generator

| Improve this Doc View Source

Focuser(DeviceConfiguration, IClientTransactionIdGenerator, ILogger)

Initializes a new instance of the Focuser class.

Declaration
public Focuser(DeviceConfiguration configuration, IClientTransactionIdGenerator clientTransactionIdGenerator, ILogger logger)
Parameters
Type Name Description
DeviceConfiguration configuration

Device configuration

IClientTransactionIdGenerator clientTransactionIdGenerator

Client Transaction ID Generator

ILogger logger

Logger, can be useful for debugging

Properties

| Improve this Doc View Source

DeviceType

Declaration
protected override DeviceType DeviceType { get; }
Property Value
Type Description
DeviceType
Overrides
ES.Ascom.Alpaca.Client.Devices.DeviceBase.DeviceType

Methods

| Improve this Doc View Source

GetMaxIncrement()

Declaration
public int GetMaxIncrement()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetMaxIncrementAsync()

Declaration
public Task<int> GetMaxIncrementAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Int32>
| Improve this Doc View Source

GetMaxStep()

Declaration
public int GetMaxStep()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetMaxStepAsync()

Declaration
public Task<int> GetMaxStepAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Int32>
| Improve this Doc View Source

GetPosition()

Declaration
public int GetPosition()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetPositionAsync()

Declaration
public Task<int> GetPositionAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Int32>
| 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

GetTemperature()

Declaration
public double GetTemperature()
Returns
Type Description
System.Double
| Improve this Doc View Source

GetTemperatureAsync()

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

Halt()

Declaration
public void Halt()
| Improve this Doc View Source

HaltAsync()

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

IsAbsolute()

Declaration
public bool IsAbsolute()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsAbsoluteAsync()

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

IsMoving()

Declaration
public bool IsMoving()
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

IsTempComp()

Declaration
public bool IsTempComp()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsTempCompAsync()

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

IsTempCompAvailable()

Declaration
public bool IsTempCompAvailable()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsTempCompAvailableAsync()

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

Move(Int32)

Declaration
public void Move(int position)
Parameters
Type Name Description
System.Int32 position
| Improve this Doc View Source

MoveAsync(Int32)

Declaration
public Task MoveAsync(int position)
Parameters
Type Name Description
System.Int32 position
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SetTempComp(Boolean)

Declaration
public void SetTempComp(bool tempComp)
Parameters
Type Name Description
System.Boolean tempComp
| Improve this Doc View Source

SetTempCompAsync(Boolean)

Declaration
public Task SetTempCompAsync(bool tempComp)
Parameters
Type Name Description
System.Boolean tempComp
Returns
Type Description
System.Threading.Tasks.Task

Implements

IFocuser
IDevice
IFocuserAsync
IDeviceAsync
  • Improve this Doc
  • View Source
Back to top Generated by DocFX