Changeset 9158 in ntrip for trunk/BNC/src/bncoutf.cpp
- Timestamp:
- Oct 1, 2020, 3:19:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncoutf.cpp
r8320 r9158 48 48 49 49 _append = Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked; 50 _v 3filenames = settings.value("PPP/v3filenames").toBool();50 _v2filenames = settings.value("PPP/v2filenames").toBool(); 51 51 } 52 52 … … 77 77 if ( indHlp != -1) { 78 78 int step = intStr.left(indHlp-1).toInt(); 79 if ( _v3filenames) {79 if (!_v2filenames) { 80 80 epoStr += QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0')); // H 81 81 } else { … … 95 95 } 96 96 97 if ( _v3filenames) {97 if (!_v2filenames) { 98 98 epoStr += QString("_%1M").arg(step, 2, 10, QChar('0')); // period 99 99 } … … 103 103 else if (intStr == "1 hour") { 104 104 int step = intStr.left(indHlp-1).toInt(); 105 if ( _v3filenames) {105 if (!_v2filenames) { 106 106 epoStr += QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0')); // H 107 107 epoStr += QString("%1").arg(0, 2, 10, QChar('0')); // M … … 114 114 else { 115 115 int step = intStr.left(indHlp-1).toInt(); 116 if ( _v3filenames) {116 if (!_v2filenames) { 117 117 epoStr += QString("%1").arg(0, 2, 10, QChar('0')); // H 118 118 epoStr += QString("%1").arg(0, 2, 10, QChar('0')); // M … … 122 122 } 123 123 124 if ( _v3filenames) {124 if (!_v2filenames) { 125 125 if (sampl < 60) { 126 126 epoStr += QString("_%1S").arg(sampl, 2, 10, QChar('0')); … … 153 153 baseName.replace("${V3}" , QString("_U_%1%2").arg(yyyy).arg(doy)); 154 154 if (_extension.count(".") == 2) {_extension.replace(0,1,"_"); } 155 155 156 156 return _path + baseName + epoStr + _extension; 157 157 }
Note:
See TracChangeset
for help on using the changeset viewer.