Changeset 1973 in ntrip for trunk/BNC/latencychecker.cpp
- Timestamp:
- Nov 17, 2009, 3:53:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/latencychecker.cpp
r1972 r1973 309 309 void latencyChecker::checkObsLatency(const QList<p_obs>& obsList) { 310 310 311 _meanLatency = 0.0;312 313 311 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) { 314 312 if (_perfIntr > 0 ) { … … 332 330 .arg(_numGaps) 333 331 .toAscii(), true) ); 334 _meanLatency = _sumLat/_numLat*1000.;335 332 } else { 336 333 emit( newMessage(QString("%1: Mean latency %2 sec, min %3, max %4, rms %5, %6 epochs") … … 342 339 .arg(_numLat) 343 340 .toAscii(), true) ); 344 _meanLatency = _sumLat/_numLat*1000.;345 341 } 346 342 } … … 399 395 ////////////////////////////////////////////////////////////////////////////// 400 396 void latencyChecker::checkCorrLatency(int corrGPSEpochTime) { 401 402 _meanLatency = 0.0;403 397 404 398 if (corrGPSEpochTime < 0) { … … 436 430 .arg(_numGaps); 437 431 emit(newMessage(QString(_staID + late ).toAscii(), true) ); 438 _meanLatency = _sumLat/_numLat*1000.;439 432 } 440 433 else { … … 446 439 .arg(_numLat); 447 440 emit(newMessage(QString(_staID + late ).toAscii(), true) ); 448 _meanLatency = _sumLat/_numLat*1000.;449 441 } 450 442 }
Note:
See TracChangeset
for help on using the changeset viewer.