Changeset 7665 in ntrip
- Timestamp:
- Jan 11, 2016, 2:01:13 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r7505 r7665 163 163 if (query->status() == bncNetQuery::finished && 164 164 outData.contains("END OF HEADER")) { 165 irc = success;166 165 QTextStream in(outData); 167 _sklHeader.read(&in);166 irc = _sklHeader.read(&in); 168 167 } 169 168 … … 184 183 QFile skl(_sklName); 185 184 if ( skl.exists() && skl.open(QIODevice::ReadOnly) ) { 186 readDone = true;187 185 QTextStream in(&skl); 188 _sklHeader.read(&in); 186 if (_sklHeader.read(&in) == success) { 187 readDone = true; 188 } 189 189 } 190 190 -
trunk/BNC/src/rinex/rnxobsfile.cpp
r7478 r7665 63 63 _wlFactorsL2[iPrn] = 1; 64 64 } 65 bncSettings settings; 66 _writeRinexOnlyWithSklObsTypes = settings.value("rnxOnlyWithSKL").toBool(); 65 67 } 66 68 … … 278 280 // ---------------------------------------------------- 279 281 if (_obsTypes.empty()) { 280 setDefault(_markerName, _version); 282 if (!_writeRinexOnlyWithSklObsTypes) { 283 setDefault(_markerName, _version); 284 } 285 else { 286 return failure; 287 } 281 288 } 282 289 -
trunk/BNC/src/rinex/rnxobsfile.h
r7474 r7665 97 97 int _wlFactorsL2[t_prn::MAXPRN_GPS+1]; 98 98 bncTime _startTime; 99 bool _writeRinexOnlyWithSklObsTypes; 100 99 101 QMap<QString, QPair<double, QStringList> > _phaseShifts; 100 102 };
Note:
See TracChangeset
for help on using the changeset viewer.