forked from cpe433-264/CPE433-64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PM25Reading.cs
41 lines (39 loc) · 820 Bytes
/
PM25Reading.cs
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
using System;
namespace DNWS
{
class PM25ipm10
{
public int v {get; set;}
}
class PM25ipm25
{
public int v {get; set;}
}
class PM25iaqi
{
public PM25ipm10 pm10 {get; set;}
public PM25ipm25 pm25 {get; set;}
}
class PM25city
{
public string name {get; set;}
}
class PM25time
{
public DateTimeOffset iso {get; set;}
}
class PM25data
{
public int aqi {get; set;}
public PM25city city {get; set;}
public string dominentpol {get; set;}
public PM25iaqi iaqi {get; set;}
public PM25time time {get; set;}
}
class PM25Reading
{
public string status {get; set; }
public PM25data aqi {get; set;}
public PM25data data { get; set;}
}
}