Changeset 9127 in ntrip for branches/BNC_2.12/src/latencychecker.cpp
 Timestamp:
 Sep 21, 2020, 9:41:49 PM (20 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/BNC_2.12/src/latencychecker.cpp
r8716 r9127 396 396 l._followSec = true; 397 397 } 398 l._oldSec 398 l._oldSec = l._newSec; 399 399 } 400 400 _lObs = l; … … 407 407 void latencyChecker::checkCorrLatency(int corrGPSEpochTime, int type) { 408 408 if (corrGPSEpochTime < 0) { 409 return 409 return; 410 410 } 411 411 t_latency& l = _lOrb; // init 412 412 switch (type) { 413 413 case 1057: case 1063: case 1240: case 1246: case 1252: case 1258: 414 l = _lOrb; l._type = "Orbit"; 414 l = _lOrb; 415 l._type = "RtcmSsrOrbit "; 415 416 break; 416 417 case 1058: case 1064: case 1241: case 1247: case 1253: case 1259: 417 l = _lClk; l._type = "Clock"; 418 l = _lClk; 419 l._type = "RtcmSsrClock "; 418 420 break; 419 421 case 1060: case 1066: case 1243: case 1249: case 1255: case 1261: 420 l = _lClkOrb; l._type = "Clock&Orbit"; 422 l = _lClkOrb; 423 l._type = "RtcmSsrClock&Orbit"; 421 424 break; 422 425 case 1059: case 1065: case 1242: case 1248: case 1254: case 1260: 423 l = _lCb; l._type = "CodeBiases"; 424 break; 425 case 1265: case 1266: case 1267: case 1268: case 1269: case 1270: 426 l = _lPb; l._type = "PhaseBiases"; 426 l = _lCb; 427 l._type = "RtcmSsrCodeBiases "; 428 break; 429 case 1265: case 1266: case 1267: case 1268: case 1269: case 1270: 430 l = _lPb; 431 l._type = "RtcmSsrPhaseBiases"; 427 432 break; 428 433 case 1264: 429 l = _lVtec; l._type = "VTEC"; 434 l = _lVtec; 435 l._type = "RtcmSsrVTEC "; 430 436 break; 431 437 case 1061: case 1067: case 1244: case 1250: case 1256: case 1262: 432 l = _lUra; l._type = "URA"; 438 l = _lUra; 439 l._type = "RtcmSsrURA "; 433 440 break; 434 441 case 1062: case 1068: case 1245: case 1251: case 1257: case 1263: 435 l = _lHr; l._type = "HrClock"; 442 l = _lHr; 443 l._type = "RtcmSsrHrClock "; 444 break; 445 case 4076: 446 l = _lSsrIgs; 447 l._type = "RtcmSsrIgs4076 "; 436 448 break; 437 449 default: … … 474 486 l.init(); 475 487 } 476 477 488 if (l._followSec) { 478 489 l._diffSec += l._newSec  l._oldSec; … … 512 523 } 513 524 l._oldSec = l._newSec; 514 } 515 switch (type) { 516 case 1057: case 1063: case 1240: case 1246: case 1252: case 1258: 517 _lOrb = l; 518 break; 519 case 1058: case 1064: case 1241: case 1247: case 1253: case 1259: 520 _lClk = l; 521 break; 522 case 1060: case 1066: case 1243: case 1249: case 1255: case 1261: 523 _lClkOrb = l; 524 break; 525 case 1059: case 1065: case 1242: case 1248: case 1254: case 1260: 526 _lCb = l; 527 break; 528 case 1265: case 1266: case 1267: case 1268: case 1269: case 1270: 529 _lPb = l; 530 break; 531 case 1264: 532 _lVtec = l; 533 break; 534 case 1061: case 1067: case 1244: case 1250: case 1256: case 1262: 535 _lUra = l; 536 break; 537 case 1062: case 1068: case 1245: case 1251: case 1257: case 1263: 538 _lHr = l; 539 break; 540 } 525 } 526 switch (type) { 527 case 1057: case 1063: case 1240: case 1246: case 1252: case 1258: 528 _lOrb = l; 529 break; 530 case 1058: case 1064: case 1241: case 1247: case 1253: case 1259: 531 _lClk = l; 532 break; 533 case 1060: case 1066: case 1243: case 1249: case 1255: case 1261: 534 _lClkOrb = l; 535 break; 536 case 1059: case 1065: case 1242: case 1248: case 1254: case 1260: 537 _lCb = l; 538 break; 539 case 1265: case 1266: case 1267: case 1268: case 1269: case 1270: 540 _lPb = l; 541 break; 542 case 1264: 543 _lVtec = l; 544 break; 545 case 1061: case 1067: case 1244: case 1250: case 1256: case 1262: 546 _lUra = l; 547 break; 548 case 1062: case 1068: case 1245: case 1251: case 1257: case 1263: 549 _lHr = l; 550 break; 551 case 4076: 552 _lSsrIgs = l; 553 break; 554 } 541 555 } 542 556
Note:
See TracChangeset
for help on using the changeset viewer.