Changeset 3046 in ntrip for trunk/BNC/combination/bnccomb.cpp


Ignore:
Timestamp:
Feb 25, 2011, 3:14:17 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3035 r3046  
    2525#include "bncutils.h"
    2626#include "bncpppclient.h"
     27#include "bnssp3.h"
    2728
    2829using namespace std;
     
    170171  }
    171172  _out = 0;
     173
     174  // SP3 writer
     175  // ----------
     176  if ( settings.value("sp3Path").toString().isEmpty() ) {
     177    _sp3 = 0;
     178  }
     179  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  }
    172187}
    173188
     
    182197  delete _caster;
    183198  delete _out;
     199  delete _sp3;
    184200}
    185201
     
    377393    }
    378394  }
     395
     396  //if (_sp3) {
     397  //  _sp3->write(GPSweek, GPSweeks, prn, xx, _append);
     398  //}
    379399}
    380400
Note: See TracChangeset for help on using the changeset viewer.