Interface IObservingConditionsAsync
Defines the capabilities supported by an ASCOM Alpaca Observing conditions device
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IObservingConditionsAsync : IDeviceAsync
Methods
|
Improve this Doc
View Source
GetAveragePeriodAsync()
Gets the time period over which observations will be averaged
Declaration
Task<double> GetAveragePeriodAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetCloudCoverAsync()
Gets the percentage of the sky obscured by cloud
Declaration
Task<double> GetCloudCoverAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetDewPointAsync()
Gets the atmospheric dew point at the observatory reported in °C.
Declaration
Task<double> GetDewPointAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetHumidityAsync()
Gets the atmospheric humidity (%) at the observatory
Declaration
Task<double> GetHumidityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetPressureAsync()
Gets the atmospheric pressure in hectoPascals at the observatory's altitude - NOT reduced to sea level.
Declaration
Task<double> GetPressureAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetRainRateAsync()
Gets the rain rate (mm/hour) at the observatory.
Declaration
Task<double> GetRainRateAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetSensorDescriptionAsync(ObservingConditionSensorName)
Gets a description of the sensor with the name specified in the PropertyName parameter
Declaration
Task<string> GetSensorDescriptionAsync(ObservingConditionSensorName sensorName)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetSkyBrightnessAsync()
Gets the sky brightness at the observatory (Lux)
Declaration
Task<double> GetSkyBrightnessAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetSkyQualityAsync()
Gets the sky quality at the observatory (magnitudes per square arc second)
Declaration
Task<double> GetSkyQualityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetSkyTemperatureAsync()
Gets the sky temperature(°C) at the observatory.
Declaration
Task<double> GetSkyTemperatureAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetStarFwhmAsync()
Gets the seeing at the observatory measured as star full width half maximum (FWHM) in arc secs.
Declaration
Task<double> GetStarFwhmAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetTemperatureAsync()
Gets the temperature(°C) at the observatory.
Declaration
Task<double> GetTemperatureAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetTimeSinceLastUpdateAsync(ObservingConditionSensorName)
Gets the time since the sensor was last updated
Declaration
Task<TimeSpan> GetTimeSinceLastUpdateAsync(ObservingConditionSensorName sensorName)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.TimeSpan> |
|
|
Improve this Doc
View Source
GetWindDirectionAsync()
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
Task<double> GetWindDirectionAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetWindGustAsync()
Gets the peak 3 second wind gust(m/s) at the observatory over the last 2 minutes.
Declaration
Task<double> GetWindGustAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
GetWindSpeedAsync()
Gets the wind speed(m/s) at the observatory.
Declaration
Task<double> GetWindSpeedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Double> |
|
|
Improve this Doc
View Source
RefreshAsync()
Forces the driver to immediately query its attached hardware to refresh sensor values.
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetAveragePeriodAsync(Double)
Sets the time period over which observations will be averaged
Declaration
Task SetAveragePeriodAsync(double period)
Parameters
Type |
Name |
Description |
System.Double |
period |
Time period (hours) over which to average sensor readings
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
See Also