Changeset 132 in ntrip for trunk/BNC


Ignore:
Timestamp:
Sep 7, 2006, 10:23:27 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r131 r132  
    3535  _headerWritten = false;
    3636  readSkeleton();
     37
     38  QSettings settings;
     39  _rnxScriptName = settings.value("rnxScript").toString();
     40  expandEnvVar(_rnxScriptName);
    3741}
    3842
     
    8993  QDate nextDate;
    9094
    91 ////  //// beg test
    92 ////  if (1) {
    93 ////    hlpStr = datTim.toString("_hh_mm_ss");
    94 ////    nextDate = datTim.date();
    95 ////    nextTime = datTim.time().addSecs(10);
    96 ////  } else
    97 ////  //// end test
    98   if   (intStr == "15 min") {
     95//  //// beg test
     96//  if (1) {
     97//    hlpStr = datTim.toString("_hh_mm_ss");
     98//    nextDate = datTim.date();
     99//    nextTime = datTim.time().addSecs(10);
     100//  } else
     101//  //// end test
     102  if (intStr == "15 min") {
    99103    char ch = 'A' + datTim.time().hour();
    100104    hlpStr = ch;
     
    298302void bncRinex::closeFile() {
    299303  _out.close();
    300 }
     304  if (!_rnxScriptName.isEmpty()) {
     305    _rnxScript.start(_rnxScriptName, QStringList() << _fName);
     306  }
     307}
  • trunk/BNC/bncrinex.h

    r130 r132  
    33#define BNCRINEX_H
    44
     5#include <QProcess>
    56#include <QByteArray>
    67#include <QDateTime>
     
    3132   bool                _headerWritten;
    3233   QDateTime           _nextCloseEpoch;
     34   QString             _rnxScriptName;
     35   QProcess            _rnxScript;
    3336};
    3437
Note: See TracChangeset for help on using the changeset viewer.