Changeset 8167 in ntrip for branches/BNC_2.12/src/ephemeris.h


Ignore:
Timestamp:
Oct 26, 2017, 2:43:58 PM (6 years ago)
Author:
stuerze
Message:

IRNSS support is added in RINEX QC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/ephemeris.h

    r8140 r8167  
    1717class t_eph {
    1818 public:
    19   enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, BDS};
     19  enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, BDS, IRNSS};
    2020  enum e_checkState {unchecked, ok, bad, outdated};
    2121
     
    8989  virtual ~t_ephGPS() {}
    9090
    91   virtual e_type type() const {return (_prn.system() == 'J' ? t_eph::QZSS : t_eph::GPS); }
     91    virtual e_type type() const {
     92    switch (_prn.system()) {
     93      case 'J':
     94        return t_eph::QZSS;
     95      case 'I':
     96        return t_eph::IRNSS;
     97    };
     98    return t_eph::GPS;
     99  }
    92100  virtual QString toString(double version) const;
    93101  virtual unsigned int  IOD() const { return static_cast<unsigned int>(_IODE); }
     
    101109  double  _clock_driftrate; // [s/s^2]
    102110
    103   double  _IODE;
     111  double  _IODE;            // IODEC in case of IRNSS
    104112  double  _Crs;             // [m]
    105113  double  _Delta_n;         // [rad/s]
     
    122130
    123131  double  _IDOT;            // [rad/s]
    124   double  _L2Codes;         // Codes on L2 channel
     132  double  _L2Codes;         // Codes on L2 channel  (not valid for IRNSS)
    125133  double  _TOEweek;
    126   double  _L2PFlag;         // L2 P data flag
     134  double  _L2PFlag;         // L2 P data flag (not valid for IRNSS)
    127135
    128136  mutable double  _ura;     // SV accuracy
    129137  double  _health;          // SV health
    130138  double  _TGD;             // [s]
    131   double  _IODC;
     139  double  _IODC;            // (not valid for IRNSS)
    132140
    133141  double  _TOT;             // Transmisstion time
    134   double  _fitInterval;     // Fit interval
     142  double  _fitInterval;     // Fit interval (not valid for IRNSS)
     143
    135144};
    136145
Note: See TracChangeset for help on using the changeset viewer.