Changeset 2782 in ntrip for trunk/BNC/bncmodel.h


Ignore:
Timestamp:
Dec 12, 2010, 7:11:32 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.h

    r2780 r2782  
    3838class bncParam {
    3939 public:
    40   enum parType {CRD_X, CRD_Y, CRD_Z, RECCLK, TROPO, AMB_L3};
     40  enum parType {CRD_X, CRD_Y, CRD_Z, RECCLK, TROPO, AMB_L3, GALILEO_OFFSET};
    4141  bncParam(parType typeIn, int indexIn, const QString& prn);
    4242  ~bncParam();
     
    6868      bncParam* pp = _params[ii];
    6969      if (pp->type == bncParam::TROPO) {
     70        return pp->xx;
     71      }
     72    }
     73    return 0.0;
     74  }
     75  double Galileo_offset() const {
     76    for (int ii = 0; ii < _params.size(); ++ii) {
     77      bncParam* pp = _params[ii];
     78      if (pp->type == bncParam::GALILEO_OFFSET) {
    7079        return pp->xx;
    7180      }
     
    130139  double                _sigTrp0;
    131140  double                _sigTrpP;
     141  double                _sigGalileoOffset0;
     142  double                _sigGalileoOffsetP;
    132143  double                _sigL3;
    133144  double                _sigP3;
Note: See TracChangeset for help on using the changeset viewer.