Changeset 6870 in ntrip
- Timestamp:
- Jun 1, 2015, 3:47:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6866 r6870 235 235 _phaseShifts.insert(sys+obstype, QPair<double, QStringList>(shift, satList)); 236 236 delete in; 237 } else if (sys) { 238 _phaseShifts.insert(sys+obstype, QPair<double, QStringList>(shift, satList)); 237 239 } 238 240 } … … 654 656 double shift = it.value().first; 655 657 QStringList satList = it.value().second; 656 QString hlp = QString("%1%2%3") 657 .arg(sys.toStdString().c_str(), 0) 658 .arg(obstype, 4) 659 .arg(shift, 9, 'f', 5); 658 QString hlp; 659 if (obstype.isEmpty()) { 660 hlp = QString("%1") 661 .arg(sys.toStdString().c_str(), 0); 662 } 663 else { 664 hlp = QString("%1%2%3") 665 .arg(sys.toStdString().c_str(), 0) 666 .arg(obstype, 4) 667 .arg(shift, 9, 'f', 5); 668 } 660 669 if (!satList.empty()) { 661 670 hlp += QString("%1").arg(satList.size(), 4);
Note:
See TracChangeset
for help on using the changeset viewer.