Changeset 5497 in ntrip for trunk/GnssCenter/monitor
- Timestamp:
- Sep 23, 2013, 9:37:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/monitor.cpp
r5494 r5497 285 285 double latDeg = ell[0] * 180.0 / M_PI; 286 286 double lonDeg = ell[1] * 180.0 / M_PI; 287 287 288 QString str = sat->_prn.c_str(); 289 288 290 QColor color; 289 291 if (str[0] == 'G') { … … 296 298 color = Qt::black; 297 299 } 300 301 if (_results) { 302 int numSta = 0; 303 for (unsigned jj = 0; jj < _results->size(); jj++) { 304 const t_thriftResult* result = _results->at(jj); 305 for (unsigned is = 0; is < result->_prns.size(); is++) { 306 if (result->_prns[is] == sat->_prn) { 307 numSta += 1; 308 } 309 } 310 } 311 str += QString().sprintf("\n%d", numSta); 312 if (numSta < 4) { 313 color = Qt::red; 314 } 315 } 316 298 317 t_worldPlot::t_point* point = new t_worldPlot::t_point(color, str, latDeg, lonDeg); 299 318 points.append(point);
Note:
See TracChangeset
for help on using the changeset viewer.