Changeset 8351 in ntrip for branches/BNC_2.12/src/bncrinex.cpp
- Timestamp:
- May 18, 2018, 9:56:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncrinex.cpp
r8289 r8351 94 94 _writeRinexFileOnlyWithSkl = settings.value("rnxOnlyWithSKL").toBool(); 95 95 96 _rnxV3 filenames = settings.value("rnxV3filenames").toBool();96 _rnxV3 = (Qt::CheckState(settings.value("rnxV3").toInt()) == Qt::Checked) ? true : false; 97 97 } 98 98 … … 209 209 //////////////////////////////////////////////////////////////////////////// 210 210 QString bncRinex::nextEpochStr(const QDateTime& datTim, 211 const QString& intStr, bool rnxV3 filenames,211 const QString& intStr, bool rnxV3, 212 212 QDateTime* nextEpoch) { 213 213 … … 221 221 if ( indHlp != -1) { 222 222 int step = intStr.left(indHlp-1).toInt(); 223 if (rnxV3 filenames) {223 if (rnxV3) { 224 224 epoStr += QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0')); // H 225 225 } else { … … 248 248 } 249 249 } 250 if (rnxV3 filenames) {250 if (rnxV3) { 251 251 epoStr += QString("_%1M").arg(step, 2, 10, QChar('0')); // period 252 252 } … … 254 254 else if (intStr == "1 hour") { 255 255 int step = intStr.left(indHlp-1).toInt(); 256 if (rnxV3 filenames) {256 if (rnxV3) { 257 257 epoStr += QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0')); // H 258 258 epoStr += QString("%1").arg(0, 2, 10, QChar('0')); // M … … 272 272 else { 273 273 int step = intStr.left(indHlp-1).toInt(); 274 if (rnxV3 filenames) {274 if (rnxV3) { 275 275 epoStr += QString("%1").arg(0, 2, 10, QChar('0')); // H 276 276 epoStr += QString("%1").arg(0, 2, 10, QChar('0')); // M … … 303 303 304 304 QString hlpStr = nextEpochStr(datTim, settings.value("rnxIntr").toString(), 305 _rnxV3 filenames, &_nextCloseEpoch);305 _rnxV3, &_nextCloseEpoch); 306 306 307 307 int statIDlength = _statID.size() -1; … … 335 335 } 336 336 337 if (_rnxV3 filenames) {337 if (_rnxV3) { 338 338 QString country; 339 339 QString monNum = "0"; … … 362 362 "_MO" + // mixed OBS 363 363 distStr + 364 ".rnx"; 364 ".rnx"; 365 365 } 366 366 else {
Note:
See TracChangeset
for help on using the changeset viewer.