-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fields_definitions.h
93 lines (88 loc) · 1.08 KB
/
Fields_definitions.h
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*
* This file's only purpose is to keep the main .ino clean from
* many lines for definitions.
* Note the fields have unrealistic characteristic values to
* recognize a problem in the data.
*/
// Variables for local forecasts
char today[3][24] = {
"99.9",
"-9.9",
"exceptional",
};
char tomorr[3][24] = {
"88.8",
"-8.8",
"exceptional",
};
// Variables for storing sensors' data
char sensor1[4][12] = {
"Cuisine",
"90.0",
"9000",
"90.0",
};
char sensor2[4][12] = {
"Salon",
"80.0",
"8000",
"80.0",
};
char sensor3[4][12] = {
"Chambre",
"70.0",
"7000",
"70.0",
};
// Variables for storing cities' data
char city1[4][24] = {
"Lyon",
"77.7",
"-7.7",
"exceptional",
};
char city2[4][24] = {
"Suhr",
"66.6",
"-6.6",
"exceptional",
};
char city3[4][24] = {
"Chambly",
"55.5",
"-5.5",
"exceptional",
};
int rainNextHour[9] = {
0,
0,
1,
1,
2,
2,
1,
0,
1,
};
int rainNextHourDuration[9] = {
1,
1,
1,
1,
1,
2,
2,
2,
2,
};
int rainNextHourDurationSum[9] = {
0,
1,
2,
3,
4,
5,
7,
9,
11,
};