Changeset 9599 in ntrip for trunk/BNC/src/pppRun.cpp
- Timestamp:
- Jan 13, 2022, 5:05:06 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppRun.cpp
r9550 r9599 130 130 _rnxNavFile = 0; 131 131 _corrFile = 0; 132 _ionoFile = 0; 132 133 _speed = settings.value("PPP/mapSpeedSlider").toInt(); 133 134 connect(this, SIGNAL(progressRnxPPP(int)), BNC_CORE, SIGNAL(progressRnxPPP(int))); … … 422 423 423 424 if (_opt->_realTime) { 424 if (_opt->_corrMount.empty() || _opt->_corrMount != vTec._staID) { 425 return; 426 } 427 } 428 425 if (_opt->_ionoMount.empty() && _opt->_corrMount.empty()) { 426 return; 427 } 428 if ( _opt->_ionoMount.empty() && 429 !_opt->_corrMount.empty() && _opt->_corrMount != vTec._staID) { 430 return; 431 } 432 if (!_opt->_ionoMount.empty() && _opt->_ionoMount != vTec._staID) { 433 return; 434 } 435 } 429 436 _pppClient->putTec(&vTec); 430 437 } … … 555 562 } 556 563 564 if (!_opt->_ionoFile.empty()) { 565 _ionoFile = new t_corrFile(QString(_opt->_corrFile.c_str())); 566 connect(_ionoFile, SIGNAL(newTec(t_vTec)), 567 this, SLOT(slotNewTec(t_vTec))); 568 } 569 557 570 // Read/Process Observations 558 571 // ------------------------- … … 583 596 catch (...) { 584 597 emit newMessage("unknown exceptions in corrFile", true); 598 break; 599 } 600 } 601 602 // Get Additional VTEC Informations 603 // -------------------------------- 604 if (_ionoFile) { 605 try { 606 _ionoFile->syncRead(epo->tt); 607 } 608 catch (const char* msg) { 609 emit newMessage(QByteArray(msg), true); 610 break; 611 } 612 catch (const string& msg) { 613 emit newMessage(QByteArray(msg.c_str()), true); 614 break; 615 } 616 catch (...) { 617 emit newMessage("unknown exceptions in ionoFile", true); 585 618 break; 586 619 }
Note:
See TracChangeset
for help on using the changeset viewer.