- Timestamp:
- Nov 16, 2007, 9:04:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r566 r575 239 239 QDateTime datTim = QDateTime::currentDateTime().toUTC(); 240 240 241 QString hlp = (_rinexVers == 3) ? "MIX_" : "GPS_"; 242 QString ephFileNameGPS = _ephPath + hlp + 241 QString ephFileNameGPS = _ephPath + "BNC_" + 243 242 QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')); 244 243 … … 268 267 } 269 268 } 270 ephFileNameGPS += hlpStr + datTim.toString(".yyN"); 269 if (_rinexVers == 3) { 270 ephFileNameGPS += hlpStr + datTim.toString(".yyP"); 271 } 272 else { 273 ephFileNameGPS += hlpStr + datTim.toString(".yyN"); 274 } 271 275 272 276 if (_ephFileNameGPS == ephFileNameGPS) { … … 275 279 else { 276 280 _ephFileNameGPS = ephFileNameGPS; 281 } 282 283 for (int ii = PRN_GPS_START; ii <= PRN_GPS_END; ii++) { 284 delete _gpsEph[ii-PRN_GPS_START]; 285 _gpsEph[ii-PRN_GPS_START] = 0; 286 } 287 for (int ii = PRN_GLONASS_START; ii <= PRN_GLONASS_END; ii++) { 288 delete _glonassEph[ii-PRN_GLONASS_START]; 289 _glonassEph[ii-PRN_GLONASS_START] = 0; 277 290 } 278 291 … … 298 311 } 299 312 else if (_rinexVers == 2) { 300 QString ephFileNameGlonass = _ephPath + " GLO_" +313 QString ephFileNameGlonass = _ephPath + "BNC_" + 301 314 QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) + 302 hlpStr + datTim.toString(".yy N");315 hlpStr + datTim.toString(".yyG"); 303 316 304 317 delete _ephStreamGlonass;
Note:
See TracChangeset
for help on using the changeset viewer.