Changeset 4263 in ntrip for trunk/BNC/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Jun 22, 2012, 11:05:56 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcanalyze.cpp

    r4262 r4263  
    136136      }
    137137
     138      QString prn = QString("%1%2").arg(obs.satSys)
     139                                   .arg(obs.satNum, 2, 10, QChar('0'));
     140      _satStat[prn].addObs(obs);
    138141    }
    139142
     
    142145  _log->flush();
    143146}
     147
     148// 
     149////////////////////////////////////////////////////////////////////////////
     150void t_reqcAnalyze::t_satStat::addObs(const t_obs& obs) {
     151  if (currObs) {
     152    delete prevObs;
     153    prevObs = currObs;
     154  }
     155  currObs = new t_obs(obs);
     156}
Note: See TracChangeset for help on using the changeset viewer.