Changeset 9689 in ntrip for trunk


Ignore:
Timestamp:
Apr 12, 2022, 11:55:07 AM (2 years ago)
Author:
stuerze
Message:

minor changes to read bsx file two times a day

Location:
trunk/BNC/src/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r9676 r9689  
    301301  }
    302302  if (_bsx) {
    303     _nextShotTimeBsx = QTime(23, 59, 59, 999);
     303    _nextShotTimeBsx1 = QTime(23, 59, 59, 999);
     304    _nextShotTimeBsx2 = QTime(11, 59, 59, 999);
    304305  }
    305306
     
    354355    _bsx = 0;
    355356  }
    356 #ifdef BNC_DEBUG_CMB
     357//#ifdef BNC_DEBUG_CMB
    357358  else {
    358359    emit newMessage("Successfully read Bias SINEX file", true);
    359360  }
    360 #endif
     361//#endif
    361362}
    362363
     
    680681  if (_bsx) {
    681682    QTime currTime = currentDateAndTimeGPS().time();
    682     int ms = currTime.msecsTo(_nextShotTimeBsx);
     683    // Time 1
     684    int ms = currTime.msecsTo(_nextShotTimeBsx1);
     685    if (ms < 30000) {
     686      ms = 30000;
     687    }
     688    QTimer::singleShot(ms, this, SLOT(slotReadBiasSnxFile()));
     689    // Time 2
     690    ms = currTime.msecsTo(_nextShotTimeBsx2);
    683691    if (ms < 30000) {
    684692      ms = 30000;
  • trunk/BNC/src/combination/bnccomb.h

    r9676 r9689  
    219219  bncAntex*                                  _antex;
    220220  bncBiasSnx*                                _bsx;
    221   QTime                                      _nextShotTimeBsx;
     221  QTime                                      _nextShotTimeBsx1;
     222  QTime                                      _nextShotTimeBsx2;
    222223  double                                     _MAXRES;
    223224  QMap<char, QString>                        _masterOrbitAC;
Note: See TracChangeset for help on using the changeset viewer.