Changeset 6223 in ntrip for trunk/BNC/src/rinex/rnxobsfile.cpp


Ignore:
Timestamp:
Oct 11, 2014, 2:11:14 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxobsfile.cpp

    r6222 r6223  
    159159    }
    160160    else if (key == "# / TYPES OF OBSERV") {
     161      if (_version == 0.0) {
     162        _version = t_rnxObsHeader::defaultRnxObsVersion2;
     163      }
    161164      QTextStream* in = new QTextStream(value.toAscii(), QIODevice::ReadOnly);
    162165      int nTypes;
     
    180183    }
    181184    else if (key == "SYS / # / OBS TYPES") {
     185      if (_version == 0.0) {
     186        _version = t_rnxObsHeader::defaultRnxObsVersion2;
     187      }
    182188      QTextStream* in = new QTextStream(value.toAscii(), QIODevice::ReadOnly);
    183189      char sys;
Note: See TracChangeset for help on using the changeset viewer.