Changeset 6248 in ntrip
- Timestamp:
- Oct 17, 2014, 10:22:57 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6247 r6248 331 331 QStringList hlp = useObsTypes->at(iType).split(":", QString::SkipEmptyParts); 332 332 if (hlp.size() == 2 && hlp[0].length() == 1) { 333 char sys = hlp[0][0].toAscii(); 334 QString type = hlp[1]; 335 _obsTypes[sys].push_back(type); 333 if (_version >= 3.0) { 334 char sys = hlp[0][0].toAscii(); 335 QString type = t_rnxObsFile::type2to3(sys, hlp[1]); 336 if (!_obsTypes[sys].contains(type)) { 337 _obsTypes[sys].push_back(type); 338 } 339 } 340 else { 341 for (int iSys = 0; iSys < _usedSystems.length(); iSys++) { 342 char sys = _usedSystems[iSys].toAscii(); 343 QString type = t_rnxObsFile::type3to2(sys, hlp[1]); 344 if (!_obsTypes[sys].contains(type)) { 345 _obsTypes[sys].push_back(type); 346 } 347 } 348 } 336 349 } 337 350 } 338 351 else { 339 352 for (int iSys = 0; iSys < _usedSystems.length(); iSys++) { 340 char sys = _usedSystems[iSys].toAscii(); 341 _obsTypes[sys].push_back(useObsTypes->at(iType)); 353 char sys = _usedSystems[iSys].toAscii(); 354 QString type = _version >= 3.0 ? t_rnxObsFile::type2to3(sys, useObsTypes->at(iType)) : 355 t_rnxObsFile::type3to2(sys, useObsTypes->at(iType)); 356 if (!_obsTypes[sys].contains(type)) { 357 _obsTypes[sys].push_back(type); 358 } 342 359 } 343 360 }
Note:
See TracChangeset
for help on using the changeset viewer.