Changeset 8289 in ntrip for branches/BNC_2.12/src/bncrinex.cpp


Ignore:
Timestamp:
Feb 26, 2018, 12:54:35 PM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r7879 r8289  
    305305                                _rnxV3filenames, &_nextCloseEpoch);
    306306
     307  int statIDlength = _statID.size() -1;
    307308  QString ID4 = _statID.left(4);
    308309  ID4 = ID4.toUpper();
     
    315316  while (it.hasNext()) {
    316317    QString mp = it.next();
    317     if (mp.indexOf(ID4) != -1) {
     318    if (mp.indexOf(_statID.left(statIDlength)) != -1) {
    318319      ++num;
    319320    }
    320321  }
    321322  if (num > 1) {
    322     distStr = "_" + _statID.mid(4);
     323    distStr = "_" + _statID.right(1);
    323324  }
    324325
     
    359360            hlpStr + // HMS_period
    360361            QString("_%1S").arg(sampl, 2, 10, QChar('0')) + // sampling rate
     362            "_MO" + // mixed OBS
    361363            distStr +
    362             "_MO.rnx"; // mixed OBS
     364            ".rnx";
    363365  }
    364366  else {
Note: See TracChangeset for help on using the changeset viewer.