Changeset 4111 in ntrip for trunk/BNC/upload


Ignore:
Timestamp:
May 4, 2012, 5:43:29 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/upload
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/upload/bncrtnetdecoder.cpp

    r3233 r4111  
    6060      int  outPort = hlp[1].toInt();
    6161      bool CoM     = (hlp[5].toInt() == Qt::Checked);
     62      int PID = 0;
     63      if (hlp.size() > 8) {
     64        PID = hlp[8].toInt();
     65      }
     66      int SID = 0;
     67      if (hlp.size() > 9) {
     68        SID = hlp[9].toInt();
     69      }
     70      int IOD = 0;
     71      if (hlp.size() > 10) {
     72        IOD = hlp[10].toInt();
     73      }
    6274      bncRtnetUploadCaster* newCaster = new bncRtnetUploadCaster(
    6375                                                       hlp[2], hlp[0], outPort,
    6476                                                       hlp[3], hlp[4], CoM,
    65                                                        hlp[6], hlp[7], "", iRow);
     77                                                       hlp[6], hlp[7], "",
     78                                                       PID, SID, IOD, iRow);
    6679      newCaster->start();
    6780      _casters.push_back(newCaster);
  • trunk/BNC/upload/bncrtnetuploadcaster.cpp

    r4110 r4111  
    3232                                 const QString& sp3FileName,
    3333                                 const QString& rnxFileName,
    34                                  const QString& outFileName, int iRow) :
     34                                 const QString& outFileName,
     35                                 int PID, int SID, int IOD, int iRow) :
    3536  bncUploadCaster(mountpoint, outHost, outPort, password, iRow, 0) {
    3637
    3738  _crdTrafo   = crdTrafo;
    3839  _CoM        = CoM;
     40  _PID        = PID;
     41  _SID        = SID;
     42  _IOD        = IOD;
    3943
    4044  // Member that receives the ephemeris
     
    256260  co.OrbitDataSupplied = 1;
    257261  co.SatRefDatum       = DATUM_ITRF;
    258   co.SSRIOD            =   0;
    259   co.SSRProviderID     = 256; // 256 .. BKG,  257 ... EUREF
    260   co.SSRSolutionID     =   1;
     262  co.SSRIOD            = _IOD;
     263  co.SSRProviderID     = _PID; // 256 .. BKG,  257 ... EUREF
     264  co.SSRSolutionID     = _SID;
    261265 
    262266  struct Bias bias;
  • trunk/BNC/upload/bncrtnetuploadcaster.h

    r3753 r4111  
    2424                  const QString& sp3FileName,
    2525                  const QString& rnxFileName,
    26                   const QString& outFileName, int iRow);
     26                  const QString& outFileName,
     27                  int PID, int SID, int IOD, int iRow);
    2728  void decodeRtnetStream(char* buffer, int bufLen);
    2829 protected:
     
    4041  QString        _crdTrafo;
    4142  bool           _CoM;
     43  int            _PID;
     44  int            _SID;
     45  int            _IOD;
    4246  double         _samplOrb;
    4347  double         _dx;
Note: See TracChangeset for help on using the changeset viewer.