Changeset 9158 in ntrip for trunk/BNC/src/bncoutf.cpp


Ignore:
Timestamp:
Oct 1, 2020, 3:19:04 PM (4 years ago)
Author:
stuerze
Message:

the default RINEX version in BNC is changed from version 2 to verision 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncoutf.cpp

    r8320 r9158  
    4848
    4949  _append = Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked;
    50   _v3filenames = settings.value("PPP/v3filenames").toBool();
     50  _v2filenames = settings.value("PPP/v2filenames").toBool();
    5151}
    5252
     
    7777  if ( indHlp != -1) {
    7878    int step = intStr.left(indHlp-1).toInt();
    79     if (_v3filenames) {
     79    if (!_v2filenames) {
    8080      epoStr +=  QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0')); // H
    8181    } else {
     
    9595    }
    9696
    97     if (_v3filenames) {
     97    if (!_v2filenames) {
    9898      epoStr += QString("_%1M").arg(step, 2, 10, QChar('0'));                // period
    9999    }
     
    103103  else if (intStr == "1 hour") {
    104104    int step = intStr.left(indHlp-1).toInt();
    105     if (_v3filenames) {
     105    if (!_v2filenames) {
    106106      epoStr += QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0'));  // H
    107107      epoStr += QString("%1").arg(0, 2, 10, QChar('0'));                     // M
     
    114114  else {
    115115    int step = intStr.left(indHlp-1).toInt();
    116     if (_v3filenames) {
     116    if (!_v2filenames) {
    117117      epoStr += QString("%1").arg(0, 2, 10, QChar('0'));                    // H
    118118      epoStr += QString("%1").arg(0, 2, 10, QChar('0'));                    // M
     
    122122  }
    123123
    124   if (_v3filenames) {
     124  if (!_v2filenames) {
    125125    if (sampl < 60) {
    126126      epoStr += QString("_%1S").arg(sampl, 2, 10, QChar('0'));
     
    153153  baseName.replace("${V3}" , QString("_U_%1%2").arg(yyyy).arg(doy));
    154154  if (_extension.count(".") == 2) {_extension.replace(0,1,"_"); }
    155  
     155
    156156  return _path + baseName + epoStr + _extension;
    157157}
Note: See TracChangeset for help on using the changeset viewer.