Changeset 8727 in ntrip
- Timestamp:
- May 6, 2019, 3:17:05 PM (6 years ago)
- Location:
- branches/BNC_2.12/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncgetthread.cpp
r8418 r8727 299 299 ssrUra = false; 300 300 ssrHr = false; 301 _oldSsrEpoch = 0;302 301 _ssrEpoch = 0; 303 302 } else { … … 515 514 QListIterator<int> it(decoder()->_typeList); 516 515 _ssrEpoch = static_cast<int>(decoder()->corrGPSEpochTime()); 517 if (_ oldSsrEpoch != -1 && _ssrEpoch != _oldSsrEpoch) {516 if (_ssrEpoch != -1) { 518 517 if (ssrOrb) { 519 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1057);518 _latencyChecker->checkCorrLatency(_ssrEpoch, 1057); 520 519 ssrOrb = false; 521 520 } 522 521 if (ssrClk) { 523 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1058);522 _latencyChecker->checkCorrLatency(_ssrEpoch, 1058); 524 523 ssrClk = false; 525 524 } 526 525 if (ssrOrbClk) { 527 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1060);526 _latencyChecker->checkCorrLatency(_ssrEpoch, 1060); 528 527 ssrOrbClk = false; 529 528 } 530 529 if (ssrCbi) { 531 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1059);530 _latencyChecker->checkCorrLatency(_ssrEpoch, 1059); 532 531 ssrCbi = false; 533 532 } 534 533 if (ssrPbi) { 535 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1265);534 _latencyChecker->checkCorrLatency(_ssrEpoch, 1265); 536 535 ssrPbi = false; 537 536 } 538 537 if (ssrVtec) { 539 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1264);538 _latencyChecker->checkCorrLatency(_ssrEpoch, 1264); 540 539 ssrVtec = false; 541 540 } 542 541 if (ssrUra) { 543 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1061);542 _latencyChecker->checkCorrLatency(_ssrEpoch, 1061); 544 543 ssrUra = false; 545 544 } 546 545 if (ssrHr) { 547 _latencyChecker->checkCorrLatency(_ oldSsrEpoch, 1062);546 _latencyChecker->checkCorrLatency(_ssrEpoch, 1062); 548 547 ssrHr = false; 549 548 } … … 588 587 _latencyChecker->checkObsLatency(decoder()->_obsList); 589 588 } 590 if (_ssrEpoch != -1) {591 _oldSsrEpoch = _ssrEpoch;592 }593 589 emit newLatency(_staID, _latencyChecker->currentLatency()); 594 590 } -
branches/BNC_2.12/src/bncgetthread.h
r8418 r8727 122 122 int _iMount; 123 123 int _ssrEpoch; 124 int _oldSsrEpoch;125 124 bncRawFile* _rawFile; 126 125 QextSerialPort* _serialPort;
Note:
See TracChangeset
for help on using the changeset viewer.