Changeset 4667 in ntrip


Ignore:
Timestamp:
Sep 8, 2012, 6:22:54 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
4 edited

Legend:

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

    r4636 r4667  
    210210  return curve;
    211211}
     212
     213//
     214//////////////////////////////////////////////////////////////////////////////
     215void t_availPlot::setNumSat(const QVector<double>& _numSatTim,
     216                            const QVector<double>& _numSat) {
     217}
  • trunk/BNC/src/rinex/availplot.h

    r4613 r4667  
    1414public:
    1515  t_availPlot(QWidget* parent, QMap<QString, t_availData>* availDataMap);
     16  void setNumSat(const QVector<double>& _numSatTim,
     17                 const QVector<double>& _numSat);
    1618
    1719private:
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4666 r4667  
    220220  // --------------------
    221221  try {
     222    int       iEpo = 0;
     223    const int step = int( 30.0 / obsFile->interval());
     224    unsigned  numSat = 0;
     225    _numSat.clear();
     226    _numSatTim.clear();
    222227    while ( (_currEpo = obsFile->nextEpoch()) != 0) {
    223228 
     229      ++iEpo;
     230      if (numSat < _currEpo->rnxSat.size()) {
     231        numSat = _currEpo->rnxSat.size();
     232      }
     233      if ( (iEpo % step) == 0 ) {
     234        _numSatTim << _currEpo->tt.mjddec() * 24.0;
     235        _numSat    << numSat;
     236        numSat = 0;
     237      }
     238
    224239      // Loop over all satellites
    225240      // ------------------------
     
    574589
    575590    t_availPlot* plotA = new t_availPlot(0, &_availDataMap);
     591    plotA->setNumSat(_numSatTim, _numSat);
    576592    plotA->setTitle(title);
    577593
  • trunk/BNC/src/rinex/reqcanalyze.h

    r4662 r4667  
    136136  QMap<QString, t_allObs>    _allObsMap;
    137137  QMap<QString, t_availData> _availDataMap;
     138  QVector<double>            _numSat;
     139  QVector<double>            _numSatTim;
    138140};
    139141
Note: See TracChangeset for help on using the changeset viewer.