Class Main
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Represents the primary temperature- and pressure-related section of the weather payload.
public class Main
- Inheritance
-
Main
- Inherited Members
Constructors
Main(JToken?)
Initializes a new instance of the Main class from JSON data.
public Main(JToken? data)
Parameters
dataJTokenThe JSON token that contains the main weather metrics.
Properties
DewPoint
Dew point temperature in Celsius.
public double? DewPoint { get; }
Property Value
FeelsLike
Temperature. This temperature parameter accounts for the human perception of weather. Default Unit: Celsius
public double? FeelsLike { get; }
Property Value
GroundLevel
Atmospheric pressure on the ground level, hPa
public double? GroundLevel { get; }
Property Value
Humidity
Humidity, %
public double? Humidity { get; }
Property Value
Pressure
Atmospheric pressure (on the sea level, if there is no SeaLevel or GroundLevel data), hPa
public double? Pressure { get; }
Property Value
SeaLevel
Atmospheric pressure on the sea level, hPa
public double? SeaLevel { get; }
Property Value
Temperature
Temperature. Default Unit: Celsius
public double? Temperature { get; }
Property Value
TemperatureMax
Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Default Unit: Celsius
public double? TemperatureMax { get; }
Property Value
TemperatureMin
Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas). Default Unit: Celsius
public double? TemperatureMin { get; }