Changeset 10192 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Aug 31, 2023, 10:17:54 PM (9 months ago)
Author:
stuerze
Message:

bug fixed

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r10153 r10192  
    485485    // Check regarding current time
    486486    // ----------------------------
    487     if ((newClk->_time >= currentTime) ||        // future time stamp
    488         (currentTime - newClk->_time) > 60.0) { // very old data sets
    489 #ifdef BNC_DEBUG_CMB
    490       emit newMessage("bncComb: very old data sets: " + acName.toLatin1() + " " + newClk->_prn.toString().c_str() +
    491           QString(" %1 ").arg(newClk->_time.timestr().c_str()).toLatin1() + "vs. current time" +
    492           QString(" %1 ").arg(currentTime.timestr().c_str()).toLatin1(), true);
    493 #endif
    494       delete newClk;
    495       continue;
     487    if (BNC_CORE->mode() != t_bncCore::batchPostProcessing) {
     488      if ((newClk->_time >= currentTime) ||        // future time stamp
     489          (currentTime - newClk->_time) > 60.0) { // very old data sets
     490  #ifdef BNC_DEBUG_CMB
     491        emit newMessage("bncComb: very old data sets: " + acName.toLatin1() + " " + newClk->_prn.toString().c_str() +
     492            QString(" %1 ").arg(newClk->_time.timestr().c_str()).toLatin1() + "vs. current time" +
     493            QString(" %1 ").arg(currentTime.timestr().c_str()).toLatin1(), true);
     494  #endif
     495        delete newClk;
     496        continue;
     497      }
    496498    }
    497499
  • trunk/BNC/src/pppRun.cpp

    r10185 r10192  
    292292    // Check regarding current time
    293293    // ----------------------------
    294     if ((newObs->_time >= currentTime) ||        // future time stamp
    295         (currentTime - newObs->_time) > 60.0) {  // very old data sets
    296       delete newObs;
    297       continue;
     294    if (BNC_CORE->mode() != t_bncCore::batchPostProcessing) {
     295      if ((newObs->_time >= currentTime) ||        // future time stamp
     296          (currentTime - newObs->_time) > 60.0) {  // very old data sets
     297        delete newObs;
     298        continue;
     299      }
    298300    }
    299301
Note: See TracChangeset for help on using the changeset viewer.