Changeset 10791 in ntrip for trunk/BNC/src/PPP/pppParlist.h
- Timestamp:
- Dec 3, 2025, 5:37:16 PM (7 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/PPP/pppParlist.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppParlist.h
r10583 r10791 14 14 class t_pppParam { 15 15 public: 16 enum e_type {crdX, crdY, crdZ, rClkG, rClkR, rClkE, rClkC, trp, ion, amb, 17 cBiasG1, cBiasR1, cBiasE1, cBiasC1, pBiasG1, pBiasR1, pBiasE1, pBiasC1, 18 cBiasG2, cBiasR2, cBiasE2, cBiasC2, pBiasG2, pBiasR2, pBiasE2, pBiasC2}; 16 enum e_type {crdX, crdY, crdZ, rClk, trp, ion, amb, bias}; 19 17 20 t_pppParam(e_type type, const t_prn& prn, t_lc ::type tLC, const std::vector<t_pppSatObs*>* obsVector = 0);18 t_pppParam(e_type type, const t_prn& prn, t_lc LC = t_lc(), const std::vector<t_pppSatObs*>* obsVector = 0); 21 19 ~t_pppParam(); 22 20 23 21 e_type type() const {return _type;} 24 22 double x0() const {return _x0;} 25 double partial(const bncTime& epoTime, const t_pppSatObs* obs, 26 const t_lc::type& tLC) const; 23 double partial(const bncTime& epoTime, const t_pppSatObs* obs, const t_lc& LC) const; 27 24 bool epoSpec() const {return _epoSpec;} 28 25 bool isEqual(const t_pppParam* par2) const { 29 return (_type == par2->_type && _prn == par2->_prn && _ tLC == par2->_tLC);26 return (_type == par2->_type && _prn == par2->_prn && _LC == par2->_LC && _sys == par2->_sys); 30 27 } 31 28 void setIndex(int indexNew) { … … 36 33 _indexOld = -1; 37 34 } 38 int indexOld() const {return _indexOld;} 39 int indexNew() const {return _indexNew;} 40 double sigma0() const {return _sigma0;} 41 double noise() const {return _noise;} 42 t_lc ::type tLC() const {return _tLC;}43 t_prn prn() const {return _prn;} 35 int indexOld() const {return _indexOld;} 36 int indexNew() const {return _indexNew;} 37 double sigma0() const {return _sigma0;} 38 double noise() const {return _noise;} 39 t_lc LC() const {return _LC;} 40 t_prn prn() const {return _prn;} 44 41 std::string toString() const; 45 42 … … 55 52 unsigned ambNumEpo() const {return _ambInfo ? _ambInfo->_numEpo : 0;} 56 53 void stepAmbNumEpo() {if (_ambInfo) _ambInfo->_numEpo += 1;} 54 char system() const { 55 if (_prn.valid()) { 56 return _prn.system(); 57 } 58 else if (_LC.valid()) { 59 return _LC.system(); 60 } 61 else { 62 return _sys; 63 } 64 } 65 void setSystem(char sys) {_sys = sys;} 57 66 58 67 static bool sortFunction(const t_pppParam* p1, const t_pppParam* p2) { … … 60 69 return p1->_type < p2->_type; 61 70 } 62 else if (p1->_ tLC != p2->_tLC) {63 return p1->_ tLC < p2->_tLC;71 else if (p1->_LC != p2->_LC) { 72 return p1->_LC < p2->_LC; 64 73 } 65 74 else if (p1->_prn != p2->_prn) { … … 84 93 e_type _type; 85 94 t_prn _prn; 86 t_lc::type _tLC; 95 char _sys; 96 t_lc _LC; 87 97 double _x0; 88 98 bool _epoSpec; … … 104 114 const std::vector<t_pppParam*>& params() const {return _params;} 105 115 std::vector<t_pppParam*>& params() {return _params;} 106 const QMap<char, int>& usedSystems() const {return _usedSystems;}107 116 void printResult(const bncTime& epoTime, const SymmetricMatrix& QQ, 108 const ColumnVector& xx) const; 117 const ColumnVector& xx, double fixRatio = 0.0) const; 109 118 void printParams(const bncTime& epoTime); 110 119 111 120 private: 112 121 std::vector<t_pppParam*> _params; 113 QMap<char, int>_usedSystems;122 std::map<char, int> _usedSystems; 114 123 }; 115 124
Note:
See TracChangeset
for help on using the changeset viewer.
