Changeset 5378 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Aug 30, 2013, 5:14:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcedit.cpp
r5072 r5378 44 44 #include "bncsettings.h" 45 45 #include "bncutils.h" 46 #include "rnxobsfile.h" 47 #include "rnxnavfile.h" 46 48 47 49 using namespace std; 48 49 const double rnxV2 = 2.11;50 const double rnxV3 = 3.01;51 50 52 51 // Constructor … … 65 64 int version = settings.value("reqcRnxVersion").toInt(); 66 65 if (version < 3) { 67 _rnxVersion = rnxV2;66 _rnxVersion = t_rnxObsHeader::defaultRnxObsVersion2; 68 67 } 69 68 else { 70 _rnxVersion = rnxV3;69 _rnxVersion = t_rnxObsHeader::defaultRnxObsVersion3; 71 70 } 72 71 _samplingRate = settings.value("reqcSampling").toInt(); … … 424 423 outNavFile.setGlonass(haveGlonass); 425 424 426 if ( haveGPS && haveGlonass) {427 outNavFile.setVersion( rnxV3);425 if ( (haveGPS && haveGlonass) || _rnxVersion >= 3.0) { 426 outNavFile.setVersion(t_rnxNavFile::defaultRnxNavVersion3); 428 427 } 429 428 else { 430 outNavFile.setVersion( _rnxVersion);429 outNavFile.setVersion(t_rnxNavFile::defaultRnxNavVersion2); 431 430 } 432 431
Note:
See TracChangeset
for help on using the changeset viewer.