Show / Hide Table of Contents

Class SafetyMonitor

Client implementation of an ASCOM Alpaca Safety Monitor device.

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

Inheritance
System.Object
DeviceBase
SafetyMonitor
Implements
ISafetyMonitor
IDevice
ISafetyMonitorAsync
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 SafetyMonitor : DeviceBase, ISafetyMonitor, IDevice, ISafetyMonitorAsync, IDeviceAsync

Constructors

| Improve this Doc View Source

SafetyMonitor(DeviceConfiguration)

Initializes a new instance of the SafetyMonitor class.

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

Device configuration

| Improve this Doc View Source

SafetyMonitor(DeviceConfiguration, ILogger)

Initializes a new instance of the SafetyMonitor class.

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

SafetyMonitor(DeviceConfiguration, IClientTransactionIdGenerator)

Initializes a new instance of the SafetyMonitor class.

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

Device configuration

IClientTransactionIdGenerator clientTransactionIdGenerator

Client Transaction ID Generator

| Improve this Doc View Source

SafetyMonitor(DeviceConfiguration, IClientTransactionIdGenerator, ILogger)

Initializes a new instance of the SafetyMonitor class.

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

IsSafe()

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

IsSafeAsync()

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

Implements

ISafetyMonitor
IDevice
ISafetyMonitorAsync
IDeviceAsync
  • Improve this Doc
  • View Source
Back to top Generated by DocFX