Changeset 8643 in ntrip for branches/BNC_2.12
- Timestamp:
- Mar 25, 2019, 1:22:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncrinex.cpp
r8641 r8643 335 335 336 336 int statIDlength = _statID.size() -1; 337 QString ID4 = _statID.left(4); 338 ID4 = ID4.toUpper(); 337 QString ID; 338 if (_rnxV3) { 339 ID = _statID.left(9); 340 } 341 else { 342 ID = _statID.left(4); 343 } 344 ID = ID.toUpper(); 339 345 340 346 // Check name conflict … … 357 363 if (!sklExt.isEmpty()) { 358 364 if (sklExt.indexOf("skl",0, Qt::CaseSensitive) != -1) { 359 sklPre = ID 4.toLower();365 sklPre = ID.toLower(); 360 366 } else if (sklExt.indexOf("SKL",0, Qt::CaseSensitive) != -1) { 361 sklPre = ID 4.toUpper();367 sklPre = ID; 362 368 } 363 369 _sklName = path + sklPre + distStr + "." + sklExt; … … 378 384 } 379 385 380 path += ID 4+386 path += ID.left(4) + 381 387 QString("%1").arg(monNum, 1, 10) + 382 388 QString("%1").arg(recNum, 1, 10) + … … 392 398 } 393 399 else { 394 path += ID 4+400 path += ID.left(4) + 395 401 QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) + 396 402 hlpStr + distStr + datTim.toString(".yyO");
Note:
See TracChangeset
for help on using the changeset viewer.