Changeset 3047 in ntrip


Ignore:
Timestamp:
Feb 25, 2011, 3:23:34 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

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

    r3046 r3047  
    174174  // SP3 writer
    175175  // ----------
    176   if ( settings.value("sp3Path").toString().isEmpty() ) {
     176  if ( settings.value("cmbSP3Path").toString().isEmpty() ) {
    177177    _sp3 = 0;
    178178  }
    179179  else {
    180     QString prep  = "BNS";
    181     QString ext   = ".sp3";
    182     QString path  = settings.value("sp3Path").toString();
    183     QString intr  = settings.value("sp3Intr").toString();
    184     int     sampl = settings.value("sp3Sampl").toInt();
    185     _sp3 = new bnsSP3(prep, ext, path, intr, sampl);
    186   }
     180    QString prep      = "BNC";
     181    QString ext       = ".sp3";
     182    QString path      = settings.value("cmbSP3Path").toString();
     183    QString interval  = "";
     184    int     sampl     = 0;
     185    _sp3 = new bnsSP3(prep, ext, path, interval, sampl);
     186  }
     187
     188  _append = Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked;
    187189}
    188190
     
    356358    }
    357359   
     360    // SP3 Output
     361    // ----------
     362    if (_sp3) {
     363      ColumnVector xx(4); xx = 0.0;
     364      _sp3->write(resTime.gpsw(), resTime.gpssec(), corr->prn, xx, _append);
     365    }
     366
    358367    delete corr;
    359368  }
     
    393402    }
    394403  }
    395 
    396   //if (_sp3) {
    397   //  _sp3->write(GPSweek, GPSweeks, prn, xx, _append);
    398   //}
    399404}
    400405
  • trunk/BNC/combination/bnccomb.h

    r3046 r3047  
    8888  std::ofstream*        _out;
    8989  bnsSP3*               _sp3;
     90  bool                  _append;
    9091};
    9192
Note: See TracChangeset for help on using the changeset viewer.