source: trunk/FACT++/src/HeadersTNGWeather.h@ 14098

Last change on this file since 14098 was 13921, checked in by tbretz, 12 years ago
Moved state definitions to header file and namespace.
File size: 682 bytes
Line 
1#ifndef FACT_HeadersTNGWeather
2#define FACT_HeadersTNGWeather
3
4namespace 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 fTemp10M;
21 float fTemp5M;
22 float fTemp2M;
23 float fTempGround;
24 float fDewPoint;
25 float fHumidity;
26 float fAirPressure;
27 float fWindSpeed;
28 float fWindDirection;
29 float fDeltaM1;
30 float fDustTotal;
31 float fSeeing;
32
33 } __attribute__((__packed__));
34};
35#endif
Note: See TracBrowser for help on using the repository browser.