Changeset 9852 in ntrip


Ignore:
Timestamp:
Oct 18, 2022, 11:49:10 AM (6 weeks ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncephuser.cpp

    r9773 r9852  
    242242    ColumnVector xcL(6);
    243243    ColumnVector vvL(3);
    244     ephL->getCrd(eph->TOC(), xcL, vvL, false);
     244    if (ephL->getCrd(eph->TOC(), xcL, vvL, false) != success) {
     245      eph->setCheckState(t_eph::bad);
     246      return;
     247    }
    245248
    246249    double diff  = (xc.Rows(1,3) - xcL.Rows(1,3)).NormFrobenius();
    247250    double diffC = fabs(xc(4) - xcL(4)) * t_CST::c;
    248251
    249     if (diff < MAXDIFF && diffC < MAXDIFF) {
    250       if (diff < MINDIFF && diffC < MINDIFF &&
     252    if (diff  < MAXDIFF &&
     253        diffC < MAXDIFF) {
     254      if (diff  < MINDIFF &&
     255          diffC < MINDIFF &&
    251256          ephL->checkState() == t_eph::ok) {
    252257        // to prevent the same data sets with different TOC values
  • trunk/BNC/src/bncgetthread.cpp

    r9851 r9852  
    436436    try {
    437437      if (_isToBeDeleted) {
     438        emit(newMessage(_staID + ": is to be deleted", true));
    438439        QThread::exit(0);
    439440        this->deleteLater();
  • trunk/BNC/src/bncmain.cpp

    r9850 r9852  
    522522      caster->readMountPoints();
    523523      if (caster->numStations() == 0) {
     524        BNC_CORE->slotMessage("bncMain: number of caster stations: 0 => exit" , true);
    524525        exit(0);
    525526      }
  • trunk/BNC/src/bncnetqueryv2.cpp

    r9795 r9852  
    4747    _keyFileName = settings.value("sslClientCertPath").toString() + _url.host() + QString(".%1.key").arg(_url.port());
    4848  }
    49 
    5049
    5150}
Note: See TracChangeset for help on using the changeset viewer.