IObservingConditions Interface

Defines the IObservingConditions Interface. This interface provides a limited set of values that are useful for astronomical purposes for things such as determining if it is safe to open or operate the observing system, for recording astronomical data or determining refraction corrections.

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public interface IObservingConditions : IAscomDevice
Implements
IAscomDevice

Remarks

It is NOT intended as a general purpose environmental sensor system. The Action method and SupportedActions property can be used to extend your driver to present any further sensors that you need.

Properties

AveragePeriod Gets And sets the time period over which observations will be averaged
CloudCover Amount of sky obscured by cloud
Connected Set True to enable the link. Set False to disable the link. You can also read the property to check whether it is connected.
(Inherited from IAscomDevice)
Description Returns a description of the driver, such as manufacturer and model number.
(Inherited from IAscomDevice)
DewPoint Atmospheric dew point at the observatory
DriverInfo Descriptive and version information about this ASCOM driver.
(Inherited from IAscomDevice)
DriverVersion A string in the form "n.n" containing only the major and minor version of the driver.
(Inherited from IAscomDevice)
Humidity Atmospheric humidity at the observatory
InterfaceVersion The interface version number that this device implements.
(Inherited from IAscomDevice)
Name The short name of the driver, for display purposes
(Inherited from IAscomDevice)
Pressure Atmospheric pressure at the observatory
RainRate Rain rate at the observatory
SkyBrightness Sky brightness at the observatory
SkyQuality Sky quality at the observatory
SkyTemperature Sky temperature at the observatory
StarFWHM Seeing at the observatory measured as star full width half maximum (FWHM) in arc secs.
SupportedActions Returns the list of action names supported by this driver.
(Inherited from IAscomDevice)
Temperature Temperature at the observatory
WindDirection Wind direction at the observatory
WindGust Peak 3 second wind gust at the observatory over the last 2 minutes
WindSpeed Wind speed at the observatory

Methods

Action Invokes the specified device-specific action.
(Inherited from IAscomDevice)
CommandBlind Transmits an arbitrary string to the device and does not wait for a response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
CommandBool Transmits an arbitrary string to the device and waits for a boolean response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
CommandString Transmits an arbitrary string to the device and waits for a string response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
Dispose This method is a "clean-up" method that is primarily of use to drivers that are written in languages such as C# and VB.NET where resource clean-up is initially managed by the language's runtime garbage collection mechanic. Driver authors should take care to ensure that a client or runtime calling Dispose() does not adversely affect other connected clients. Applications should not call this method.
(Inherited from IAscomDevice)
Refresh Forces the driver to immediately query its attached hardware to refresh sensor values
SensorDescription Provides a description of the sensor providing the requested property
TimeSinceLastUpdate Provides the time since the sensor value was last updated

Version Information

.NET Standard

Supported in: 2.0

See Also