Changeset 9418 in ntrip for trunk/BNC/src/bncoutf.cpp
- Timestamp:
- Apr 26, 2021, 10:27:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncoutf.cpp
r9158 r9418 151 151 QString baseName = _sklBaseName; 152 152 baseName.replace("${GPSWD}", gpswd); 153 baseName.replace("${V3}" , QString("_U_%1%2").arg(yyyy).arg(doy)); 154 if (_extension.count(".") == 2) {_extension.replace(0,1,"_"); } 155 156 return _path + baseName + epoStr + _extension; 153 baseName.replace("${V3OBS}" , QString("_U_%1%2").arg(yyyy).arg(doy)); 154 baseName.replace("${V3PROD}", QString("_%1%2").arg(yyyy).arg(doy)); 155 QString addition = ""; 156 if (_extension.contains("sp3") || _extension.contains("SP3")) { 157 addition = QString("_ORB"); 158 } 159 if (_extension.contains("clk") || _extension.contains("CLK")) { 160 addition = QString("_CLK"); 161 } 162 if (_extension.count(".") == 2) { 163 _extension.replace(0,1,"_"); 164 } 165 166 return _path + baseName + epoStr + addition + _extension; 157 167 } 158 168
Note:
See TracChangeset
for help on using the changeset viewer.