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


Ignore:
Timestamp:
Jan 16, 2010, 3:52:59 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.h

    r2240 r2265  
    3838class bncParam {
    3939 public:
    40   enum parType {CRD_X, CRD_Y, CRD_Z, RECCLK_GPS, RECCLK_GLO, TROPO, AMB_L3};
     40  enum parType {CRD_X, CRD_Y, CRD_Z, RECCLK, TROPO, AMB_L3};
    4141  bncParam(parType typeIn, int indexIn, const QString& prn);
    4242  ~bncParam();
     
    4444  bool isCrd() const {
    4545    return (type == CRD_X || type == CRD_Y || type == CRD_Z);
    46   }
    47   bool isClk() const {
    48     return (type == RECCLK_GPS|| type == RECCLK_GLO);
    4946  }
    5047  parType  type;
     
    6663  double y()      const {return _params[1]->xx;}
    6764  double z()      const {return _params[2]->xx;}
    68   double clkGPS() const {
    69     for (int ii = 0; ii < _params.size(); ++ii) {
    70       bncParam* pp = _params[ii];
    71       if (pp->type == bncParam::RECCLK_GPS) {
    72         return pp->xx;
    73       }
    74     }
    75     return 0.0;
    76   }
    77   double clkGlo() const {
    78     for (int ii = 0; ii < _params.size(); ++ii) {
    79       bncParam* pp = _params[ii];
    80       if (pp->type == bncParam::RECCLK_GLO) {
    81         return pp->xx;
    82       }
    83     }
    84     return 0.0;
    85   }
     65  double clk()    const {return _params[3]->xx;}
    8666  double trp() const {
    8767    for (int ii = 0; ii < _params.size(); ++ii) {
Note: See TracChangeset for help on using the changeset viewer.