Changeset 6156 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Sep 14, 2014, 10:27:27 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6155 r6156  
    353353      continue;
    354354    }
    355 
     355 
    356356    // Create new correction
    357357    // ---------------------
     
    362362    newCorr->_acName  = acName;
    363363    newCorr->_clkCorr = new t_clkCorr(clkCorr);
     364
     365    // Check orbit correction
     366    // ----------------------
     367    if (!_orbCorrections.contains(acName)) {
     368      delete newCorr;
     369      continue;
     370    }
     371    else {
     372      QMap<t_prn, t_orbCorr>& storage = _orbCorrections[acName];
     373      if (!storage.contains(clkCorr._prn)  || storage[clkCorr._prn]._iod != newCorr->_iod) {
     374        delete newCorr;
     375        continue;
     376      }
     377      else {
     378        newCorr->_orbCorr = new t_orbCorr(storage[clkCorr._prn]);
     379      }
     380    }
    364381
    365382    // Check the Ephemeris
Note: See TracChangeset for help on using the changeset viewer.