Changeset 4117 in ntrip for trunk/BNC/rinex


Ignore:
Timestamp:
May 5, 2012, 8:10:43 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4115 r4117  
    148148      }
    149149      editRnxObsHeader(outObsFile);
     150      bncSettings settings;
    150151      QMap<QString, QString> txtMap;
    151       txtMap["RUN BY"]  = "BKG";
    152       txtMap["COMMENT"] = "First comment line\nSecond comment line";
     152      QString runBy = settings.value("reqcRunBy").toString();
     153      if (!runBy.isEmpty()) {
     154        txtMap["RUN BY"]  = runBy;
     155      }
     156      QString comment = settings.value("reqcComment").toString();
     157      if (!comment.isEmpty()) {
     158        txtMap["COMMENT"]  = comment;
     159      }
    153160      outObsFile.writeHeader(txtMap);
    154161    }
Note: See TracChangeset for help on using the changeset viewer.