Changeset 8273 in ntrip
- Timestamp:
- Feb 5, 2018, 11:25:57 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncgetthread.cpp
r8248 r8273 100 100 if (!settings.value("rawOutFile").toString().isEmpty()) { 101 101 _rawOutput = true; 102 } else { 102 } 103 else { 103 104 _rawOutput = false; 104 105 } 105 106 if (!settings.value("miscMount").toString().isEmpty()) { 107 _latencycheck = true; 108 } 109 else { 110 _latencycheck = false; 111 } 106 112 initialize(); 107 113 initDecoder(); … … 281 287 } 282 288 283 if (!_staID.isEmpty() ) {289 if (!_staID.isEmpty() && _latencycheck) { 284 290 _latencyChecker = new latencyChecker(_staID); 285 291 obs = false; … … 505 511 // -------------------------------- 506 512 if (_latencyChecker) { 507 _latencyChecker->checkOutage(irc == success);513 _latencyChecker->checkOutage(irc); 508 514 QListIterator<int> it(decoder()->_typeList); 509 _ssrEpoch = decoder()->corrGPSEpochTime();510 if (_oldSsrEpoch && _ssrEpoch&& _ssrEpoch != _oldSsrEpoch) {515 _ssrEpoch = static_cast<int>(decoder()->corrGPSEpochTime()); 516 if (_oldSsrEpoch != -1 && _ssrEpoch != _oldSsrEpoch) { 511 517 if (ssrOrb) { 512 518 _latencyChecker->checkCorrLatency(_oldSsrEpoch, 1057); … … 581 587 _latencyChecker->checkObsLatency(decoder()->_obsList); 582 588 } 583 _oldSsrEpoch = _ssrEpoch; 589 if (_ssrEpoch != -1) { 590 _oldSsrEpoch = _ssrEpoch; 591 } 584 592 emit newLatency(_staID, _latencyChecker->currentLatency()); 585 593 }
Note:
See TracChangeset
for help on using the changeset viewer.