Changeset 9277 in ntrip
- Timestamp:
- Nov 25, 2020, 2:09:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/latencychecker.cpp
r9250 r9277 322 322 if (_miscIntr > 0 ) { 323 323 t_latency& l = _lObs; 324 l._type = "Observations 324 l._type = "Observations"; 325 325 QListIterator<t_satObs> it(obsList); 326 326 while (it.hasNext()) { … … 336 336 .arg(_staID.data()) 337 337 .arg(l._type.data()) 338 .arg(int(l._sumLat/l._numLat*100)/100. )339 .arg(int(l._minLat*100)/100. )340 .arg(int(l._maxLat*100)/100. )341 .arg(int((sqrt( (l._sumLatQ - l._sumLat * l._sumLat / l._numLat)/l._numLat))*100)/100.)338 .arg(int(l._sumLat/l._numLat*100)/100., 4, 'f', 2) 339 .arg(int(l._minLat*100)/100., 4, 'f', 2) 340 .arg(int(l._maxLat*100)/100., 4, 'f', 2) 341 .arg(int((sqrt(l._sumLatQ / l._numLat))*100)/100., 4, 'f', 2) 342 342 .arg(l._numLat) 343 343 .arg(l._numGaps) … … 349 349 .arg(_staID.data()) 350 350 .arg(l._type.data()) 351 .arg(int(l._sumLat/l._numLat*100)/100. )352 .arg(int(l._minLat*100)/100. )353 .arg(int(l._maxLat*100)/100. )354 .arg(int((sqrt( (l._sumLatQ - l._sumLat * l._sumLat / l._numLat)/l._numLat))*100)/100.)351 .arg(int(l._sumLat/l._numLat*100)/100., 4, 'f', 2) 352 .arg(int(l._minLat*100)/100., 4, 'f', 2) 353 .arg(int(l._maxLat*100)/100., 4, 'f', 2) 354 .arg(int((sqrt(l._sumLatQ / l._numLat))*100)/100., 4, 'f', 2) 355 355 .arg(l._numLat) 356 356 .toLatin1(), true) ); … … 413 413 case 1057: case 1063: case 1240: case 1246: case 1252: case 1258: 414 414 l = _lOrb; 415 l._type = "RtcmSsrOrbit 415 l._type = "RtcmSsrOrbit"; 416 416 break; 417 417 case 1058: case 1064: case 1241: case 1247: case 1253: case 1259: 418 418 l = _lClk; 419 l._type = "RtcmSsrClock 419 l._type = "RtcmSsrClock"; 420 420 break; 421 421 case 1060: case 1066: case 1243: case 1249: case 1255: case 1261: … … 425 425 case 1059: case 1065: case 1242: case 1248: case 1254: case 1260: 426 426 l = _lCb; 427 l._type = "RtcmSsrCodeBiases 427 l._type = "RtcmSsrCodeBiases"; 428 428 break; 429 429 case 1265: case 1266: case 1267: case 1268: case 1269: case 1270: … … 433 433 case 1264: 434 434 l = _lVtec; 435 l._type = "RtcmSsrVTEC 435 l._type = "RtcmSsrVTEC"; 436 436 break; 437 437 case 1061: case 1067: case 1244: case 1250: case 1256: case 1262: 438 438 l = _lUra; 439 l._type = "RtcmSsrURA 439 l._type = "RtcmSsrURA"; 440 440 break; 441 441 case 1062: case 1068: case 1245: case 1251: case 1257: case 1263: 442 442 l = _lHr; 443 l._type = "RtcmSsrHrClock 443 l._type = "RtcmSsrHrClock"; 444 444 break; 445 445 case 4076: 446 446 l = _lSsrIgs; 447 l._type = "RtcmSsrIgs4076 447 l._type = "RtcmSsrIgs4076"; 448 448 break; 449 449 default: … … 460 460 late = QString(" %1: Mean latency %2 sec, min %3, max %4, rms %5, %6 epochs, %7 gaps") 461 461 .arg(l._type.data()) 462 .arg(int(l._sumLat/l._numLat*100)/100. )463 .arg(int(l._minLat*100)/100. )464 .arg(int(l._maxLat*100)/100. )465 .arg(int((sqrt( (l._sumLatQ - l._sumLat * l._sumLat / l._numLat)/l._numLat))*100)/100.)462 .arg(int(l._sumLat/l._numLat*100)/100., 4, 'f', 2) 463 .arg(int(l._minLat*100)/100., 4, 'f', 2) 464 .arg(int(l._maxLat*100)/100., 4, 'f', 2) 465 .arg(int((sqrt(l._sumLatQ / l._numLat))*100)/100., 4, 'f', 2) 466 466 .arg(l._numLat) 467 467 .arg(l._numGaps); … … 473 473 late = QString(" %1: Mean latency %2 sec, min %3, max %4, rms %5, %6 epochs") 474 474 .arg(l._type.data()) 475 .arg(int(l._sumLat/l._numLat*100)/100. )476 .arg(int(l._minLat*100)/100. )477 .arg(int(l._maxLat*100)/100. )478 .arg(int((sqrt( (l._sumLatQ - l._sumLat * l._sumLat / l._numLat)/l._numLat))*100)/100.)475 .arg(int(l._sumLat/l._numLat*100)/100., 4, 'f', 2) 476 .arg(int(l._minLat*100)/100., 4, 'f', 2) 477 .arg(int(l._maxLat*100)/100., 4, 'f', 2) 478 .arg(int((sqrt(l._sumLatQ / l._numLat))*100)/100., 4, 'f', 2) 479 479 .arg(l._numLat); 480 480 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) {
Note:
See TracChangeset
for help on using the changeset viewer.