Changeset 3301 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Jun 17, 2011, 3:56:11 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r3300 r3301  
    426426      // -----------
    427427      vector<string> errmsg;
     428      _decoder->_obsList.clear();
    428429      t_irc irc = _decoder->Decode(data.data(), data.size(), errmsg);
    429430
     
    445446      while (it.hasNext()) {
    446447        const t_obs& obs = it.next();
    447 
    448         // Check observations comming twice (e.g. KOUR0 Problem)
    449         // -----------------------------------------------------
    450         QString prn = QString("%1%2").arg(obs.satSys)
    451                                      .arg(obs.satNum, 2, 10, QChar('0'));
    452         if (prnList.indexOf(prn) == -1) {
    453           prnList << prn;
    454         }
    455         else {
    456           emit( newMessage(_staID +
    457              ": observation comming more than once " + prn.toAscii(), false) );
    458           continue;
    459         }
    460448
    461449        // Check observation epoch
     
    478466        }
    479467     
     468        // Check observations comming twice (e.g. KOUR0 Problem)
     469        // -----------------------------------------------------
     470        QString prn = QString("%1%2").arg(obs.satSys)
     471                                     .arg(obs.satNum, 2, 10, QChar('0'));
     472        if (prnList.indexOf(prn) == -1) {
     473          prnList << prn;
     474        }
     475        else {
     476          emit( newMessage(_staID +
     477             ": observation comming more than once " + prn.toAscii(), false) );
     478          continue;
     479        }
     480
    480481        // RINEX Output
    481482        // ------------
Note: See TracChangeset for help on using the changeset viewer.