Changeset 3691 in ntrip


Ignore:
Timestamp:
Feb 12, 2012, 2:53:32 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/corrfile.cpp

    r3690 r3691  
    6666void t_corrFile::syncRead(const bncTime& tt) {
    6767
     68  cout << "tt = " << tt.gpssec() << endl;
     69
     70  if (stopRead(tt)) {
     71    return;
     72  }
     73
    6874  QList<QString> corrs;
    6975
    7076  if (!_lastLine.isEmpty() && !stopRead(tt)) {
    7177    corrs << _lastLine;
     78    cout << _lastLine.toAscii().data() << endl;
    7279  }
    7380
     
    8087
    8188    if (stopRead(tt)) {
     89      cout << "stop " << endl;
    8290      if (corrs.size()) {
    8391        emit newCorrections(corrs);
    8492      }
     93      return;
    8594    }
    8695    else {
    8796      corrs << _lastLine;
     97      cout << _lastLine.toAscii().data() << endl;
    8898    }
    8999  }
  • trunk/BNC/pppopt.cpp

    r3642 r3691  
    8181  corrFileName = settings.value("postcorrFile").toString();
    8282
    83   pppMode      = settings.value("pppSPP").toString() == "PPP";
     83  if      (settings.value("pppSPP").toString() == "Post-Processing") {
     84    if (corrFileName.isEmpty()) {
     85      pppMode = false;
     86    }
     87    else {
     88      pppMode = true;
     89    }
     90  }
     91  else if (settings.value("pppSPP").toString() == "PPP") {
     92    pppMode = true;
     93  }
     94  else {
     95    pppMode = false;
     96  }
     97     
    8498  rnxAppend    = settingsChecked("rnxAppend");
    8599  usePhase     = settingsChecked("pppUsePhase");
Note: See TracChangeset for help on using the changeset viewer.