Changeset 3301 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Jun 17, 2011, 3:56:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r3300 r3301 426 426 // ----------- 427 427 vector<string> errmsg; 428 _decoder->_obsList.clear(); 428 429 t_irc irc = _decoder->Decode(data.data(), data.size(), errmsg); 429 430 … … 445 446 while (it.hasNext()) { 446 447 const t_obs& obs = it.next(); 447 448 // Check observations comming twice (e.g. KOUR0 Problem)449 // -----------------------------------------------------450 QString prn = QString("%1%2").arg(obs.satSys)451 .arg(obs.satNum, 2, 10, QChar('0'));452 if (prnList.indexOf(prn) == -1) {453 prnList << prn;454 }455 else {456 emit( newMessage(_staID +457 ": observation comming more than once " + prn.toAscii(), false) );458 continue;459 }460 448 461 449 // Check observation epoch … … 478 466 } 479 467 468 // Check observations comming twice (e.g. KOUR0 Problem) 469 // ----------------------------------------------------- 470 QString prn = QString("%1%2").arg(obs.satSys) 471 .arg(obs.satNum, 2, 10, QChar('0')); 472 if (prnList.indexOf(prn) == -1) { 473 prnList << prn; 474 } 475 else { 476 emit( newMessage(_staID + 477 ": observation comming more than once " + prn.toAscii(), false) ); 478 continue; 479 } 480 480 481 // RINEX Output 481 482 // ------------
Note:
See TracChangeset
for help on using the changeset viewer.