Changeset 4114 in ntrip
- Timestamp:
- May 5, 2012, 7:57:22 AM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r4112 r4114 148 148 } 149 149 editRnxObsHeader(outObsFile); 150 outObsFile.writeHeader(); 150 QMap<QString, QString> txtMap; 151 txtMap["RUN BY"] = "BKG"; 152 outObsFile.writeHeader(txtMap); 151 153 } 152 154 else { -
trunk/BNC/rinex/rnxobsfile.cpp
r4113 r4114 649 649 bncApp* app = (bncApp*) qApp; 650 650 651 QString runBy = app->userName(); 652 QMapIterator<QString, QString> it(txtMap); 653 while (it.hasNext()) { 654 it.next(); 655 if (it.key() == "RUN BY") { 656 runBy = it.value(); 657 } 658 } 659 651 660 *_stream << QString("%1 Observation data Mixed") 652 661 .arg(_header._version, 9, 'f', 2) … … 656 665 *_stream << QString("%1%2%3") 657 666 .arg(app->pgmName(), -20) 658 .arg( app->userName(), -20)667 .arg(runBy, -20) 659 668 .arg(currentDateAndTimeGPS().date().toString("dd-MMM-yyyy"), -20) 660 669 .leftJustified(60)
Note:
See TracChangeset
for help on using the changeset viewer.