Changeset 9158 in ntrip for trunk/BNC/src/bnccore.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/bnccore.cpp

    r8921 r9158  
    280280  if (_rinexVers == 0) {
    281281
    282     if ( Qt::CheckState(settings.value("ephV3").toInt()) == Qt::Checked) {
     282    if ( Qt::CheckState(settings.value("ephV2").toInt()) == Qt::Checked) {
     283      _rinexVers = 2;
     284    }
     285    else {
    283286      _rinexVers = 3;
    284     }
    285     else {
    286       _rinexVers = 2;
    287287    }
    288288
     
    305305    QString ephFileNameGPS = _ephPath + "BRDC";
    306306
    307     bool ephV3 = (_rinexVers == 3)? true : false;
     307    bool ephV2 = (_rinexVers == 2)? true : false;
    308308
    309309    QString hlpStr = bncRinex::nextEpochStr(datTim,
    310                          settings.value("ephIntr").toString(), ephV3);
     310                         settings.value("ephIntr").toString(), ephV2);
    311311
    312312    if (_rinexVers == 3) {
Note: See TracChangeset for help on using the changeset viewer.