Changeset 4114 in ntrip for trunk/BNC


Ignore:
Timestamp:
May 5, 2012, 7:57:22 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/reqcedit.cpp

    r4112 r4114  
    148148      }
    149149      editRnxObsHeader(outObsFile);
    150       outObsFile.writeHeader();
     150      QMap<QString, QString> txtMap;
     151      txtMap["RUN BY"] = "BKG";
     152      outObsFile.writeHeader(txtMap);
    151153    }
    152154    else {
  • trunk/BNC/rinex/rnxobsfile.cpp

    r4113 r4114  
    649649  bncApp* app = (bncApp*) qApp;
    650650
     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
    651660  *_stream << QString("%1           Observation data    Mixed")
    652661    .arg(_header._version, 9, 'f', 2)
     
    656665  *_stream << QString("%1%2%3")
    657666    .arg(app->pgmName(), -20)
    658     .arg(app->userName(), -20)
     667    .arg(runBy, -20)
    659668    .arg(currentDateAndTimeGPS().date().toString("dd-MMM-yyyy"), -20)
    660669    .leftJustified(60)
Note: See TracChangeset for help on using the changeset viewer.