Changeset 6865 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Jun 1, 2015, 10:50:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6842 r6865 653 653 QString obstype = it.key().mid(1); 654 654 double shift = it.value().first; 655 QStringList satList = 656 QString hlp = QString("%1 %2 %3")655 QStringList satList = it.value().second; 656 QString hlp = QString("%1%2%3") 657 657 .arg(sys.toStdString().c_str(), 0) 658 658 .arg(obstype, 4) 659 659 .arg(shift, 9, 'f', 5); 660 660 if (!satList.empty()) { 661 hlp += QString("%1 ").arg(satList.size(), 2);661 hlp += QString("%1").arg(satList.size(), 4); 662 662 } 663 663 else { … … 672 672 for (it_s = satList.begin(); it_s != satList.end(); ++it_s) { 673 673 (hlp.contains(obstype)) ? 674 emptyFillStr = "": 675 emptyFillStr = " "; 676 hlp += QString("%1 ").arg(*it_s); 674 emptyFillStr = "": emptyFillStr = " "; 675 hlp += QString("%1").arg(*it_s, 4); 677 676 ii++; 678 677 if (ii % 10 == 0) { … … 686 685 } 687 686 if (hlp.size()) { 687 (hlp.contains(obstype)) ? 688 emptyFillStr = "": emptyFillStr = " "; 688 689 *stream << QString("%1%2") 689 690 .arg(emptyFillStr, 0)
Note:
See TracChangeset
for help on using the changeset viewer.