Changeset 3535 in ntrip
- Timestamp:
- Dec 16, 2011, 7:36:05 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r3534 r3535 503 503 // Check observations coming twice (e.g. KOUR0 Problem) 504 504 // ---------------------------------------------------- 505 QMap<QString, long>::const_iterator it = _prnLastEpo.find(prn); 506 if (it != _prnLastEpo.end()) { 507 long oldTime = it.value(); 508 if (obsTime < oldTime) { 509 emit( newMessage(_staID + 510 ": old observation " + prn.toAscii(), false)); 511 continue; 505 if (!_rawFile) { 506 QMap<QString, long>::const_iterator it = _prnLastEpo.find(prn); 507 if (it != _prnLastEpo.end()) { 508 long oldTime = it.value(); 509 if (obsTime < oldTime) { 510 emit( newMessage(_staID + 511 ": old observation " + prn.toAscii(), false)); 512 continue; 513 } 514 else if (obsTime == oldTime) { 515 emit( newMessage(_staID + 516 ": observation coming more than once " + prn.toAscii(), false)); 517 continue; 518 } 512 519 } 513 else if (obsTime == oldTime) { 514 emit( newMessage(_staID + 515 ": observation coming more than once " + prn.toAscii(), false)); 516 continue; 517 } 518 } 519 _prnLastEpo[prn] = obsTime; 520 _prnLastEpo[prn] = obsTime; 521 } 520 522 521 523 decoder()->dumpRinexEpoch(obs, _format); … … 524 526 // ---------- 525 527 #ifndef MLS_SOFTWARE 526 if (_PPPclient ) {528 if (_PPPclient && _staID == _PPPclient->staID()) { 527 529 _PPPclient->putNewObs(obs); 528 530 } -
trunk/BNC/bncpppclient.h
r3521 r3535 126 126 static t_irc applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc, 127 127 ColumnVector& vv); 128 QByteArray staID() const {return _staID;} 128 129 129 130 public slots:
Note:
See TracChangeset
for help on using the changeset viewer.