-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAirPolutionComponents.cs
More file actions
59 lines (51 loc) · 1.63 KB
/
AirPolutionComponents.cs
File metadata and controls
59 lines (51 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System.Text.Json.Serialization;
namespace OpenWeatherMapSharp.Models
{
/// <summary>
/// Represents the concentration values
/// of various air pollutants (in μg/m³).
/// </summary>
public class AirPolutionComponents
{
/// <summary>
/// Carbon monoxide concentration.
/// </summary>
[JsonPropertyName("co")]
public double CarbonMonoxide { get; set; }
/// <summary>
/// Nitric oxide concentration.
/// </summary>
[JsonPropertyName("no")]
public double NitrogenMonoxide { get; set; }
/// <summary>
/// Nitrogen dioxide concentration.
/// </summary>
[JsonPropertyName("no2")]
public double NitrogenDioxide { get; set; }
/// <summary>
/// Ozone concentration.
/// </summary>
[JsonPropertyName("o3")]
public double Ozone { get; set; }
/// <summary>
/// Sulfur dioxide concentration.
/// </summary>
[JsonPropertyName("so2")]
public double SulfurDioxide { get; set; }
/// <summary>
/// Fine particulate matter (PM2.5) concentration.
/// </summary>
[JsonPropertyName("pm2_5")]
public double FineParticlesMatter { get; set; }
/// <summary>
/// Coarse particulate matter (PM10) concentration.
/// </summary>
[JsonPropertyName("pm10")]
public double CoarseParticulateMatter { get; set; }
/// <summary>
/// Ammonia concentration.
/// </summary>
[JsonPropertyName("nh3")]
public double Ammonia { get; set; }
}
}