Changeset 8643 in ntrip for branches/BNC_2.12


Ignore:
Timestamp:
Mar 25, 2019, 1:22:00 PM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncrinex.cpp

    r8641 r8643  
    335335
    336336  int statIDlength = _statID.size() -1;
    337   QString ID4 = _statID.left(4);
    338   ID4 = ID4.toUpper();
     337  QString ID;
     338  if (_rnxV3) {
     339    ID = _statID.left(9);
     340  }
     341  else {
     342    ID = _statID.left(4);
     343  }
     344  ID = ID.toUpper();
    339345
    340346  // Check name conflict
     
    357363  if (!sklExt.isEmpty()) {
    358364    if (sklExt.indexOf("skl",0, Qt::CaseSensitive) != -1)  {
    359       sklPre = ID4.toLower();
     365      sklPre = ID.toLower();
    360366    } else if (sklExt.indexOf("SKL",0, Qt::CaseSensitive) != -1) {
    361       sklPre = ID4.toUpper();
     367      sklPre = ID;
    362368    }
    363369    _sklName = path + sklPre + distStr + "." + sklExt;
     
    378384    }
    379385
    380     path += ID4 +
     386    path += ID.left(4) +
    381387            QString("%1").arg(monNum, 1, 10) +
    382388            QString("%1").arg(recNum, 1, 10) +
     
    392398  }
    393399  else {
    394     path += ID4 +
     400    path += ID.left(4) +
    395401            QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) +
    396402            hlpStr + distStr + datTim.toString(".yyO");
Note: See TracChangeset for help on using the changeset viewer.