Changeset 3837 in ntrip
- Timestamp:
- Apr 12, 2012, 12:01:37 PM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/rnxobsfile.cpp
r3722 r3837 169 169 delete in; 170 170 } 171 else if (key == "TIME OF FIRST OBS") { 172 QTextStream in(value.toAscii(), QIODevice::ReadOnly); 173 int year, month, day, hour, min; 174 double sec; 175 in >> year >> month >> day >> hour >> min >> sec; 176 _startTime.set(year, month, day, hour, min, sec); 177 } 171 178 if (maxLines > 0 && numLines == maxLines) { 172 179 break; … … 248 255 ttPrev = rnxEpo->tt; 249 256 } 257 _stream->seek(0); 258 _header.read(_stream); 259 } 260 261 // Time of first observation 262 // ------------------------- 263 if (!_header._startTime.valid()) { 264 const t_rnxEpo* rnxEpo = nextEpoch(); 265 if (!rnxEpo) { 266 throw QString("t_rnxObsFile: not enough epochs"); 267 } 268 _header._startTime = rnxEpo->tt; 250 269 _stream->seek(0); 251 270 _header.read(_stream); -
trunk/BNC/rinex/rnxobsfile.h
r3718 r3837 109 109 int _wlFactorsL1[MAXPRN_GPS+1]; 110 110 int _wlFactorsL2[MAXPRN_GPS+1]; 111 bncTime _startTime; 111 112 }; 112 113 -
trunk/BNC/rinex/teqcedit.cpp
r3826 r3837 50 50 51 51 bncSettings settings; 52 53 _obsFileNames = settings.value("teqcObsFile").toString().split("'", QString::SkipEmptyParts); 52 54 } 53 55 … … 63 65 cout << "Teqc Edit Running ..." << endl; 64 66 67 QStringListIterator it(_obsFileNames); 68 while (it.hasNext()) { 69 t_rnxObsFile* rnxObsFile = new t_rnxObsFile(it.next()); 70 } 71 65 72 emit finished(); 66 73 deleteLater(); -
trunk/BNC/rinex/teqcedit.h
r3826 r3837 27 27 28 28 #include <QtCore> 29 #include "rnxobsfile.h" 29 30 30 31 class t_teqcEdit : public QThread { … … 46 47 47 48 private: 49 QStringList _obsFileNames; 50 QVector<t_rnxObsFile*> _rnxObsFiles; 48 51 }; 49 52
Note:
See TracChangeset
for help on using the changeset viewer.