Changeset 9690 in ntrip


Ignore:
Timestamp:
Apr 12, 2022, 2:55:48 PM (2 years ago)
Author:
stuerze
Message:

minor changes to read the bsx file every 6 hours

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

Legend:

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

    r9689 r9690  
    301301  }
    302302  if (_bsx) {
    303     _nextShotTimeBsx1 = QTime(23, 59, 59, 999);
    304     _nextShotTimeBsx2 = QTime(11, 59, 59, 999);
     303    int ms = 6.0 * 3600 * 1000.0;
     304    QTimer::singleShot(ms, this, SLOT(slotReadBiasSnxFile()));
    305305  }
    306306
     
    676676  out << "\n" <<           "Combination: " << sys << "\n"
    677677      << "--------------------------------" << "\n";
    678 
    679   // Re-read Bias SINEX file
    680   // -----------------------
    681   if (_bsx) {
    682     QTime currTime = currentDateAndTimeGPS().time();
    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);
    691     if (ms < 30000) {
    692       ms = 30000;
    693     }
    694     QTimer::singleShot(ms, this, SLOT(slotReadBiasSnxFile()));
    695   }
    696678
    697679  // Observation Statistics
  • trunk/BNC/src/combination/bnccomb.h

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