Changeset 7179 in ntrip for trunk/BNC/src/bnccore.cpp
- Timestamp:
- Aug 11, 2015, 3:46:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccore.cpp
r7026 r7179 125 125 qRegisterMetaType<QList<t_satPhaseBias> > ("QList<t_satPhaseBias>"); 126 126 qRegisterMetaType<t_vTec> ("t_vTec"); 127 128 127 } 129 128 … … 291 290 QDateTime datTim = currentDateAndTimeGPS(); 292 291 293 QString ephFileNameGPS = _ephPath + "BRDC" + 294 QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')); 292 QString ephFileNameGPS = _ephPath + "BRDC"; 293 294 bool ephV3filenames = settings.value("ephV3filenames").toBool(); 295 295 296 296 QString hlpStr = bncRinex::nextEpochStr(datTim, 297 settings.value("ephIntr").toString() );297 settings.value("ephIntr").toString(), ephV3filenames); 298 298 299 299 if (_rinexVers == 3) { 300 ephFileNameGPS += hlpStr + datTim.toString(".yyP"); 301 } 302 else { 303 ephFileNameGPS += hlpStr + datTim.toString(".yyN"); 300 if (ephV3filenames) { 301 QString country = "WLD"; 302 QString monNum = "0"; 303 QString recNum = "0"; 304 ephFileNameGPS += QString("%1").arg(monNum, 1, 10) + 305 QString("%1").arg(recNum, 1, 10) + 306 country + 307 "_S_" + // stream 308 QString("%1").arg(datTim.date().year()) + 309 QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) + 310 hlpStr + // HMS_period 311 "_MN.rnx"; // mixed BRDC 312 } 313 else { // RNX v3 with old filenames 314 ephFileNameGPS += QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) + 315 hlpStr + datTim.toString(".yyP"); 316 } 317 } 318 else { // RNX v2.11 319 ephFileNameGPS += QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) + 320 hlpStr + datTim.toString(".yyN"); 304 321 } 305 322
Note:
See TracChangeset
for help on using the changeset viewer.