Last change
on this file since 18716 was 18339, checked in by tbretz, 9 years ago |
Moved seeing to its own service.
|
File size:
834 bytes
|
Line | |
---|
1 | #ifndef FACT_HeadersTNGWeather
|
---|
2 | #define FACT_HeadersTNGWeather
|
---|
3 |
|
---|
4 | namespace TNGWeather
|
---|
5 | {
|
---|
6 | namespace State
|
---|
7 | {
|
---|
8 | enum states_t
|
---|
9 | {
|
---|
10 | kDisconnected = 1,
|
---|
11 | kConnected,
|
---|
12 | kReceiving,
|
---|
13 | };
|
---|
14 | }
|
---|
15 |
|
---|
16 | struct DimWeather
|
---|
17 | {
|
---|
18 | DimWeather() { memset(this, 0, sizeof(DimWeather)); }
|
---|
19 |
|
---|
20 | float fTemperature;
|
---|
21 | float fTempTrend;
|
---|
22 | float fDewPoint;
|
---|
23 | float fHumidity;
|
---|
24 | float fAirPressure;
|
---|
25 | float fWindSpeed;
|
---|
26 | float fWindDirection;
|
---|
27 | float fDustTotal;
|
---|
28 | float fSolarimeter;
|
---|
29 |
|
---|
30 | } __attribute__((__packed__));
|
---|
31 |
|
---|
32 | struct DimSeeing
|
---|
33 | {
|
---|
34 | DimSeeing() { memset(this, 0, sizeof(DimSeeing)); }
|
---|
35 |
|
---|
36 | float fSeeing;
|
---|
37 | float fSeeingMed;
|
---|
38 | float fSeeingStdev;
|
---|
39 |
|
---|
40 | } __attribute__((__packed__));
|
---|
41 | };
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.