Changeset 6278 in ntrip


Ignore:
Timestamp:
Oct 31, 2014, 7:02:35 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6276 r6278  
    647647void t_reqcAnalyze::slotDspAvailPlot(const QString& fileName, const QByteArray& title) {
    648648
    649   QMap<t_prn, t_plotData> plotData;
     649  QMap<t_prn, t_plotData> plotDataMap;
     650
     651  for (int ii = 0; ii < _qcFile._qcEpo.size(); ii++) {
     652    const t_qcEpo& qcEpo = _qcFile._qcEpo[ii];
     653    QMapIterator<t_prn, t_qcObs> it(qcEpo._qcObs);
     654    while (it.hasNext()) {
     655      it.next();
     656      const t_prn&   prn   = it.key();
     657      const t_qcObs& qcObs = it.value();
     658      t_plotData& plotData = plotDataMap[prn];
     659      double mjdX24 = qcEpo._epoTime.mjddec() * 24.0;
     660      if (qcObs._hasL1)  plotData._L1ok   << mjdX24;
     661      if (qcObs._hasL2)  plotData._L2ok   << mjdX24;
     662      if (qcObs._slipL1) plotData._L1slip << mjdX24;
     663      if (qcObs._slipL2) plotData._L2slip << mjdX24;
     664      if (qcObs._gapL1)  plotData._L1gap  << mjdX24;
     665      if (qcObs._gapL2)  plotData._L2gap  << mjdX24;
     666    }
     667  }
    650668
    651669  if (BNC_CORE->GUIenabled()) {
    652     t_availPlot* plotA = new t_availPlot(0, plotData);
     670    t_availPlot* plotA = new t_availPlot(0, plotDataMap);
    653671    plotA->setTitle(title);
    654672
    655     t_elePlot* plotZ = new t_elePlot(0, plotData);
    656 
    657     t_dopPlot* plotD = new t_dopPlot(0, plotData);
     673    t_elePlot* plotZ = new t_elePlot(0, plotDataMap);
     674
     675    t_dopPlot* plotD = new t_dopPlot(0, plotDataMap);
    658676
    659677    QVector<QWidget*> plots;
Note: See TracChangeset for help on using the changeset viewer.