Show / Hide Table of Contents

Class Dome

Client implementation of an ASCOM Alpaca Dome device.

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

Inheritance
System.Object
DeviceBase
Dome
Implements
IDome
IDevice
IDomeAsync
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 Dome : DeviceBase, IDome, IDevice, IDomeAsync, IDeviceAsync

Constructors

| Improve this Doc View Source

Dome(DeviceConfiguration)

Initializes a new instance of the Dome class.

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

Device configuration

| Improve this Doc View Source

Dome(DeviceConfiguration, ILogger)

Initializes a new instance of the Dome class.

Declaration
public Dome(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

Dome(DeviceConfiguration, IClientTransactionIdGenerator)

Initializes a new instance of the Dome class.

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

Device configuration

IClientTransactionIdGenerator clientTransactionIdGenerator

Client Transaction ID Generator

| Improve this Doc View Source

Dome(DeviceConfiguration, IClientTransactionIdGenerator, ILogger)

Initializes a new instance of the Dome class.

Declaration
public Dome(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

AbortSlew()

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

AbortSlewAsync()

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

CanFindHome()

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

CanFindHomeAsync()

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

CanPark()

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

CanParkAsync()

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

CanSetAltitude()

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

CanSetAltitudeAsync()

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

CanSetAzimuth()

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

CanSetAzimuthAsync()

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

CanSetPark()

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

CanSetParkAsync()

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

CanSetShutter()

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

CanSetShutterAsync()

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

CanSlave()

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

CanSlaveAsync()

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

CanSyncAzimuth()

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

CanSyncAzimuthAsync()

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

CloseShutter()

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

CloseShutterAsync()

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

FindHome()

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

FindHomeAsync()

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

GetAltitude()

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

GetAltitudeAsync()

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

GetAzimuth()

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

GetAzimuthAsync()

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

GetShutterStatus()

Declaration
public ShutterState GetShutterStatus()
Returns
Type Description
ShutterState
| Improve this Doc View Source

GetShutterStatusAsync()

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

IsAtHome()

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

IsAtHomeAsync()

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

IsAtPark()

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

IsAtParkAsync()

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

IsSlaved()

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

IsSlavedAsync()

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

IsSlewing()

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

IsSlewingAsync()

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

OpenShutter()

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

OpenShutterAsync()

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

Park()

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

ParkAsync()

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

SetPark()

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

SetParkAsync()

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

SetSlaved(Boolean)

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

SetSlavedAsync(Boolean)

Declaration
public Task SetSlavedAsync(bool slaved)
Parameters
Type Name Description
System.Boolean slaved
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SlewToAltitude(Double)

Declaration
public void SlewToAltitude(double altitude)
Parameters
Type Name Description
System.Double altitude
| Improve this Doc View Source

SlewToAltitudeAsync(Double)

Declaration
public Task SlewToAltitudeAsync(double altitude)
Parameters
Type Name Description
System.Double altitude
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SlewToAzimuth(Double)

Declaration
public void SlewToAzimuth(double azimuth)
Parameters
Type Name Description
System.Double azimuth
| Improve this Doc View Source

SlewToAzimuthAsync(Double)

Declaration
public Task SlewToAzimuthAsync(double azimuth)
Parameters
Type Name Description
System.Double azimuth
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SyncToAzimuth(Double)

Declaration
public void SyncToAzimuth(double azimuth)
Parameters
Type Name Description
System.Double azimuth
| Improve this Doc View Source

SyncToAzimuthAsync(Double)

Declaration
public Task SyncToAzimuthAsync(double azimuth)
Parameters
Type Name Description
System.Double azimuth
Returns
Type Description
System.Threading.Tasks.Task

Implements

IDome
IDevice
IDomeAsync
IDeviceAsync
  • Improve this Doc
  • View Source
Back to top Generated by DocFX