Table of Contents

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

Properties

DewPoint

Dew point temperature in Celsius.

public double? DewPoint { get; }

Property Value

double?

Dew point temperature in Celsius.

FeelsLike

Temperature. This temperature parameter accounts for the human perception of weather. Default Unit: Celsius

public double? FeelsLike { get; }

Property Value

double?

Temperature. This temperature parameter accounts for the human perception of weather. Default Unit: Celsius

GroundLevel

Atmospheric pressure on the ground level, hPa

public double? GroundLevel { get; }

Property Value

double?

Atmospheric pressure on the ground level, hPa

Humidity

Humidity, %

public double? Humidity { get; }

Property Value

double?

Humidity, %

Pressure

Atmospheric pressure (on the sea level, if there is no SeaLevel or GroundLevel data), hPa

public double? Pressure { get; }

Property Value

double?

Atmospheric pressure (on the sea level, if there is no SeaLevel or GroundLevel data), hPa

SeaLevel

Atmospheric pressure on the sea level, hPa

public double? SeaLevel { get; }

Property Value

double?

Atmospheric pressure on the sea level, hPa

Temperature

Temperature. Default Unit: Celsius

public double? Temperature { get; }

Property Value

double?

Temperature. Default Unit: Celsius

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

double?

Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Default Unit: Celsius

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; }

Property Value

double?

Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas). Default Unit: Celsius

Methods

FromJson(string?)

Creates this model from its OpenWeather JSON fragment.

public static Main FromJson(string? json)

Parameters

json string

The JSON fragment, or null for an empty model.

Returns

Main

The parsed weather model.