Changeset 8167 in ntrip for branches/BNC_2.12/src/ephemeris.h
- Timestamp:
- Oct 26, 2017, 2:43:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/ephemeris.h
r8140 r8167 17 17 class t_eph { 18 18 public: 19 enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, BDS };19 enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, BDS, IRNSS}; 20 20 enum e_checkState {unchecked, ok, bad, outdated}; 21 21 … … 89 89 virtual ~t_ephGPS() {} 90 90 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 } 92 100 virtual QString toString(double version) const; 93 101 virtual unsigned int IOD() const { return static_cast<unsigned int>(_IODE); } … … 101 109 double _clock_driftrate; // [s/s^2] 102 110 103 double _IODE; 111 double _IODE; // IODEC in case of IRNSS 104 112 double _Crs; // [m] 105 113 double _Delta_n; // [rad/s] … … 122 130 123 131 double _IDOT; // [rad/s] 124 double _L2Codes; // Codes on L2 channel 132 double _L2Codes; // Codes on L2 channel (not valid for IRNSS) 125 133 double _TOEweek; 126 double _L2PFlag; // L2 P data flag 134 double _L2PFlag; // L2 P data flag (not valid for IRNSS) 127 135 128 136 mutable double _ura; // SV accuracy 129 137 double _health; // SV health 130 138 double _TGD; // [s] 131 double _IODC; 139 double _IODC; // (not valid for IRNSS) 132 140 133 141 double _TOT; // Transmisstion time 134 double _fitInterval; // Fit interval 142 double _fitInterval; // Fit interval (not valid for IRNSS) 143 135 144 }; 136 145
Note:
See TracChangeset
for help on using the changeset viewer.