Changeset 3985 in ntrip
- Timestamp:
- Apr 21, 2012, 6:42:54 PM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r3983 r3985 124 124 // Change RINEX Header Content 125 125 //////////////////////////////////////////////////////////////////////////// 126 void t_reqcEdit::editRnxObsHeader(t_rnxObsFile& o utObsFile) {126 void t_reqcEdit::editRnxObsHeader(t_rnxObsFile& obsFile) { 127 127 128 128 bncSettings settings; … … 130 130 QString oldMarkerName = settings.value("reqcOldMarkerName").toString(); 131 131 QString newMarkerName = settings.value("reqcNewMarkerName").toString(); 132 if (oldMarkerName.isEmpty() || 133 QRegExp(oldMarkerName).exactMatch(obsFile.markerName())) { 134 obsFile.setMarkerName(newMarkerName); 135 } 136 132 137 QString oldAntennaName = settings.value("reqcOldAntennaName").toString(); 133 138 QString newAntennaName = settings.value("reqcNewAntennaName").toString(); 134 QString oldReceiverName = settings.value("reqcOldReceiverName").toString(); 135 QString newReceiverName = settings.value("reqcNewReceiverName").toString(); 139 if (oldAntennaName.isEmpty() || 140 QRegExp(oldAntennaName).exactMatch(obsFile.antennaName())) { 141 obsFile.setAntennaName(newAntennaName); 142 } 136 143 144 QString oldReceiverType = settings.value("reqcOldReceiverName").toString(); 145 QString newReceiverType = settings.value("reqcNewReceiverName").toString(); 146 if (oldReceiverType.isEmpty() || 147 QRegExp(oldReceiverType).exactMatch(obsFile.receiverType())) { 148 obsFile.setReceiverType(newReceiverType); 149 } 137 150 } -
trunk/BNC/rinex/reqcedit.h
r3982 r3985 47 47 48 48 private: 49 void editRnxObsHeader(t_rnxObsFile& o utObsFile);49 void editRnxObsHeader(t_rnxObsFile& obsFile); 50 50 51 51 QStringList _obsFileNames;
Note:
See TracChangeset
for help on using the changeset viewer.