Changeset 12965 for trunk/FACT++/src
- Timestamp:
- 02/29/12 10:09:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/magicweather.cc
r12954 r12965 35 35 float fPress; 36 36 float fWind; 37 float fGusts; 37 38 float fDir; 38 39 … … 137 138 data.fDir = atof(line.substr(3).data()); 138 139 140 if (line.substr(0, 2)=="WP") 141 data.fGusts = atof(line.substr(2).data()); 142 139 143 if (line.substr(0, 5)=="PRESS") 140 144 data.fPress = atof(line.substr(5).data()); … … 297 301 ConnectionDimDrive(ba::io_service& ioservice, MessageImp &imp) : 298 302 ConnectionWeather(ioservice, imp), 299 fDimWeather("MAGIC_WEATHER/DATA", "S:1;F:1;F:1;F:1;F:1;F:1;F:1 ",303 fDimWeather("MAGIC_WEATHER/DATA", "S:1;F:1;F:1;F:1;F:1;F:1;F:1;F:1", 300 304 "|stat:Status" 301 305 "|T[deg C]:Temperature" … … 304 308 "|P[hPa]:Air pressure" 305 309 "|v[km/h]:Wind speed" 310 "|v_max[km/h]:Wind gusts" 306 311 "|d[deg]:Wind direction (N-E)") 307 312 {
Note:
See TracChangeset
for help on using the changeset viewer.