Changeset 10330 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Feb 13, 2024, 11:51:53 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10311 r10330 638 638 //////////////////////////////////////////////////////////////////////////// 639 639 void bncComb::processEpoch(bncTime epoTime, const vector<t_clkCorr>& clkCorrVec) { 640 640 QDateTime now = currentDateAndTimeGPS(); 641 bncTime currentTime(now.toString(Qt::ISODate).toStdString()); 641 642 for (unsigned ii = 0; ii < clkCorrVec.size(); ii++) { 642 643 const t_clkCorr& clkCorr = clkCorrVec[ii]; … … 698 699 continue; 699 700 } 700 else if (ephLast->checkState() == t_eph::bad || 701 else if (outDatedBcep(ephLast, currentTime) || 702 ephLast->checkState() == t_eph::bad || 701 703 ephLast->checkState() == t_eph::outdated || 702 704 ephLast->checkState() == t_eph::unhealthy) { … … 711 713 _newCorr->_eph = ephLast; 712 714 } 713 else if (ephPrev && ephPrev->checkState() == t_eph::ok && 715 else if (ephPrev && 716 !outDatedBcep(ephPrev, currentTime) && // if not updated in storage 717 ephPrev->checkState() == t_eph::ok && // received 714 718 ephPrev->IOD() == _newCorr->_iod) { 715 719 _newCorr->_eph = ephPrev;
Note:
See TracChangeset
for help on using the changeset viewer.