Interface IObservingConditions
Defines the capabilities supported by an ASCOM Alpaca Observing conditions device
Inherited Members
Namespace: ES.Ascom.Alpaca.Devices
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IObservingConditions : IDevice
Methods
| Improve this Doc View SourceGetAveragePeriod()
Gets the time period over which observations will be averaged
Declaration
double GetAveragePeriod()
Returns
| Type | Description |
|---|---|
| System.Double |
GetCloudCover()
Gets the percentage of the sky obscured by cloud
Declaration
double GetCloudCover()
Returns
| Type | Description |
|---|---|
| System.Double |
GetDewPoint()
Gets the atmospheric dew point at the observatory reported in °C.
Declaration
double GetDewPoint()
Returns
| Type | Description |
|---|---|
| System.Double |
GetHumidity()
Gets the atmospheric humidity (%) at the observatory
Declaration
double GetHumidity()
Returns
| Type | Description |
|---|---|
| System.Double |
GetPressure()
Gets the atmospheric pressure in hectoPascals at the observatory's altitude - NOT reduced to sea level.
Declaration
double GetPressure()
Returns
| Type | Description |
|---|---|
| System.Double |
GetRainRate()
Gets the rain rate (mm/hour) at the observatory.
Declaration
double GetRainRate()
Returns
| Type | Description |
|---|---|
| System.Double |
GetSensorDescription(ObservingConditionSensorName)
Gets a description of the sensor with the name specified in the PropertyName parameter
Declaration
string GetSensorDescription(ObservingConditionSensorName sensorName)
Parameters
| Type | Name | Description |
|---|---|---|
| ObservingConditionSensorName | sensorName |
Returns
| Type | Description |
|---|---|
| System.String |
GetSkyBrightness()
Gets the sky brightness at the observatory (Lux)
Declaration
double GetSkyBrightness()
Returns
| Type | Description |
|---|---|
| System.Double |
GetSkyQuality()
Gets the sky quality at the observatory (magnitudes per square arc second)
Declaration
double GetSkyQuality()
Returns
| Type | Description |
|---|---|
| System.Double |
GetSkyTemperature()
Gets the sky temperature(°C) at the observatory.
Declaration
double GetSkyTemperature()
Returns
| Type | Description |
|---|---|
| System.Double |
GetStarFwhm()
Gets the seeing at the observatory measured as star full width half maximum (FWHM) in arc secs.
Declaration
double GetStarFwhm()
Returns
| Type | Description |
|---|---|
| System.Double |
GetTemperature()
Gets the temperature(°C) at the observatory.
Declaration
double GetTemperature()
Returns
| Type | Description |
|---|---|
| System.Double |
GetTimeSinceLastUpdate(ObservingConditionSensorName)
Gets the time since the sensor was last updated
Declaration
TimeSpan GetTimeSinceLastUpdate(ObservingConditionSensorName sensorName)
Parameters
| Type | Name | Description |
|---|---|---|
| ObservingConditionSensorName | sensorName |
Returns
| Type | Description |
|---|---|
| System.TimeSpan |
GetWindDirection()
Gets the wind direction. The returned value must be between 0.0 and 360.0, interpreted according to the meteorological standard, where a special value of 0.0 is returned when the wind speed is 0.0. Wind direction is measured clockwise from north, through east, where East=90.0, South=180.0, West=270.0 and North=360.0.
Declaration
double GetWindDirection()
Returns
| Type | Description |
|---|---|
| System.Double |
GetWindGust()
Gets the peak 3 second wind gust(m/s) at the observatory over the last 2 minutes.
Declaration
double GetWindGust()
Returns
| Type | Description |
|---|---|
| System.Double |
GetWindSpeed()
Gets the wind speed(m/s) at the observatory.
Declaration
double GetWindSpeed()
Returns
| Type | Description |
|---|---|
| System.Double |
Refresh()
Forces the driver to immediately query its attached hardware to refresh sensor values.
Declaration
void Refresh()
SetAveragePeriod(Double)
Sets the time period over which observations will be averaged
Declaration
void SetAveragePeriod(double period)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | period | Time period (hours) over which to average sensor readings |