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


Ignore:
Timestamp:
May 18, 2018, 9:56:20 AM (6 years ago)
Author:
stuerze
Message:

individual satellite system will be considerred now during concatenation of ephemeris files

File:
1 edited

Legend:

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

    r8289 r8351  
    9494  _writeRinexFileOnlyWithSkl = settings.value("rnxOnlyWithSKL").toBool();
    9595
    96   _rnxV3filenames = settings.value("rnxV3filenames").toBool();
     96  _rnxV3 = (Qt::CheckState(settings.value("rnxV3").toInt()) == Qt::Checked) ? true : false;
    9797}
    9898
     
    209209////////////////////////////////////////////////////////////////////////////
    210210QString bncRinex::nextEpochStr(const QDateTime& datTim,
    211                                const QString& intStr, bool rnxV3filenames,
     211                               const QString& intStr, bool rnxV3,
    212212                               QDateTime* nextEpoch) {
    213213
     
    221221  if ( indHlp != -1) {
    222222    int step = intStr.left(indHlp-1).toInt();
    223     if (rnxV3filenames) {
     223    if (rnxV3) {
    224224      epoStr +=  QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0')); // H
    225225    } else {
     
    248248      }
    249249    }
    250     if (rnxV3filenames) {
     250    if (rnxV3) {
    251251      epoStr += QString("_%1M").arg(step, 2, 10, QChar('0'));                // period
    252252    }
     
    254254  else if (intStr == "1 hour") {
    255255    int step = intStr.left(indHlp-1).toInt();
    256     if (rnxV3filenames) {
     256    if (rnxV3) {
    257257      epoStr += QString("%1").arg(datTim.time().hour(), 2, 10, QChar('0'));  // H
    258258      epoStr += QString("%1").arg(0, 2, 10, QChar('0'));                     // M
     
    272272  else {
    273273    int step = intStr.left(indHlp-1).toInt();
    274     if (rnxV3filenames) {
     274    if (rnxV3) {
    275275      epoStr += QString("%1").arg(0, 2, 10, QChar('0'));                    // H
    276276      epoStr += QString("%1").arg(0, 2, 10, QChar('0'));                    // M
     
    303303
    304304  QString hlpStr = nextEpochStr(datTim, settings.value("rnxIntr").toString(),
    305                                 _rnxV3filenames, &_nextCloseEpoch);
     305                                _rnxV3, &_nextCloseEpoch);
    306306
    307307  int statIDlength = _statID.size() -1;
     
    335335  }
    336336
    337   if (_rnxV3filenames) {
     337  if (_rnxV3) {
    338338    QString country;
    339339    QString monNum = "0";
     
    362362            "_MO" + // mixed OBS
    363363            distStr +
    364             ".rnx"; 
     364            ".rnx";
    365365  }
    366366  else {
Note: See TracChangeset for help on using the changeset viewer.