Changeset 4573 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Aug 29, 2012, 11:36:03 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4572 r4573  
    156156
    157157    t_graphWin* graphWin = new t_graphWin(0, fileName, plots,
    158                                           scaleTitle, scaleInterval);
     158                                          &scaleTitle, &scaleInterval);
    159159
    160160    graphWin->show();
     
    425425      }
    426426    }
     427
     428    dataL1 << int(firstEpoch.gpssec());
    427429
    428430    if (slipFlag) {
     
    483485    (*dataSNR2) << (new t_polarPoint(az, zen, SNR2));
    484486
    485     dataL1 << int(firstEpoch.gpssec());
    486 
    487487    if (_log) {
    488488      _log->setRealNumberNotation(QTextStream::FixedNotation);
     
    509509                                     QMap<QString, QVector<int> >* prnAvail){
    510510
    511 }
     511  qDebug() << fileName << title;
     512
     513  QMapIterator<QString, QVector<int> > it(*prnAvail);
     514  while (it.hasNext()) {
     515    it.next();
     516    const QString&      prn    = it.key();
     517    const QVector<int>& epochs = it.value();
     518    qDebug() << prn << epochs.size();
     519  }
     520
     521  bncApp* app = dynamic_cast<bncApp*>(qApp);
     522  if (app->GUIenabled()) {
     523
     524    QVector<QWidget*> plots;
     525
     526    t_graphWin* graphWin = new t_graphWin(0, fileName, plots, 0, 0);
     527
     528    graphWin->show();
     529
     530    bncSettings settings;
     531    QString dirName = settings.value("reqcPlotDir").toString();
     532    if (!dirName.isEmpty()) {
     533      QByteArray ext = "_AVAIL.png";
     534      graphWin->savePNG(dirName, ext);
     535    }
     536  }
     537}
Note: See TracChangeset for help on using the changeset viewer.