FACT++  1.0
HeadersTNGWeather.h
Go to the documentation of this file.
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
float fWindDirection
float fDustTotal
float fWindSpeed
float fHumidity
float fAirPressure
enum TNGWeather::State::states_t __attribute__
float fDewPoint