Changeset 4667 in ntrip
- Timestamp:
- Sep 8, 2012, 6:22:54 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/availplot.cpp
r4636 r4667 210 210 return curve; 211 211 } 212 213 // 214 ////////////////////////////////////////////////////////////////////////////// 215 void t_availPlot::setNumSat(const QVector<double>& _numSatTim, 216 const QVector<double>& _numSat) { 217 } -
trunk/BNC/src/rinex/availplot.h
r4613 r4667 14 14 public: 15 15 t_availPlot(QWidget* parent, QMap<QString, t_availData>* availDataMap); 16 void setNumSat(const QVector<double>& _numSatTim, 17 const QVector<double>& _numSat); 16 18 17 19 private: -
trunk/BNC/src/rinex/reqcanalyze.cpp
r4666 r4667 220 220 // -------------------- 221 221 try { 222 int iEpo = 0; 223 const int step = int( 30.0 / obsFile->interval()); 224 unsigned numSat = 0; 225 _numSat.clear(); 226 _numSatTim.clear(); 222 227 while ( (_currEpo = obsFile->nextEpoch()) != 0) { 223 228 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 224 239 // Loop over all satellites 225 240 // ------------------------ … … 574 589 575 590 t_availPlot* plotA = new t_availPlot(0, &_availDataMap); 591 plotA->setNumSat(_numSatTim, _numSat); 576 592 plotA->setTitle(title); 577 593 -
trunk/BNC/src/rinex/reqcanalyze.h
r4662 r4667 136 136 QMap<QString, t_allObs> _allObsMap; 137 137 QMap<QString, t_availData> _availDataMap; 138 QVector<double> _numSat; 139 QVector<double> _numSatTim; 138 140 }; 139 141
Note:
See TracChangeset
for help on using the changeset viewer.