This repository has been archived by the owner on Aug 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.idl
65 lines (58 loc) · 1.89 KB
/
weather.idl
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
60
61
62
63
64
65
struct Precipitation {
float precipIntensity;
float precipIntensityError;
float precipProbability;
string precipType;
float precipAccumulation;
float precipIntensityMax;
};
struct Atmospheric {
float cloudCover;
float dewPoint;
float humidity;
float ozone;
float pressure;
float uvIndex;
unsigned long long uvIndexTime;
float visibility;
float windBearing;
float windGust;
unsigned long long windGustTime;
float windSpeed;
};
struct WeatherCondition {
float apparentTemperature;
string icon;
string summary;
float temperature;
unsigned long long time;
Precipitation precipitationData;
Atmospheric atmosphericData;
};
struct DailyWeather {
float apparentTemperature;
float apparentTemperatureHigh;
unsigned long long apparentTemperatureHighTime;
float apparentTemperatureLow;
unsigned long long apparentTemperatureLowTime;
Precipitation precipitationData;
Atmospheric atmosphericData;
string icon;
string summary;
float moonPhase;
unsigned long long sunriseTime;
unsigned long long sunsetTime;
float temperature;
float temperatureHigh;
unsigned long long temperatureHighTime;
float temperatureLow;
unsigned long long temperatureLowTime;
unsigned long long time;
};
struct WeatherForcast {
string summary;
string icon;
sequence<DailyWeather> forcast;
};
struct WeatherAlert {
};