Changeset 8956 in ntrip for trunk/BNC/src/PPP/pppParlist.cpp
- Timestamp:
- Jun 23, 2020, 11:58:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppParlist.cpp
r8905 r8956 123 123 //////////////////////////////////////////////////////////////////////////// 124 124 double t_pppParam::partial(const bncTime& /* epoTime */, const t_pppSatObs* obs, 125 const t_lc::type& tLC ) const {//qDebug() << "t_pppParam::partial: " << tLC;125 const t_lc::type& tLC, const t_prn refPrn) const { 126 126 127 127 // Special Case - Melbourne-Wuebbena … … 184 184 return 1.0 / sin(obs->eleSat()); 185 185 case ion: 186 // qDebug() << "refPrn: " << _refPrn.toString().c_str(); 186 187 187 if (obs->prn() == _prn) { 188 188 if (tLC == t_lc::c1) { … … 202 202 } 203 203 } 204 if (tLC == t_lc::GIM && _prn == _refPrn) {204 if (tLC == t_lc::GIM && _prn == refPrn) { 205 205 return 1.0; 206 206 } … … 296 296 //////////////////////////////////////////////////////////////////////////// 297 297 t_irc t_pppParlist::set(const bncTime& epoTime, 298 const std::vector<t_pppSatObs*>& obsVector) { 298 const std::vector<t_pppSatObs*>& obsVector, 299 const QMap<char, t_pppRefSat*>& refSatMap) { 299 300 300 301 // Remove some Parameters … … 310 311 } 311 312 312 else if (par->type() == t_pppParam::amb || 313 par->type() == t_pppParam::crdX || 313 else if (par->type() == t_pppParam::crdX || 314 314 par->type() == t_pppParam::crdY || 315 315 par->type() == t_pppParam::crdZ) { 316 316 if (par->lastObsTime().valid() && (epoTime - par->lastObsTime() > 60.0)) { 317 remove = true; 318 } 319 } 320 else if (par->type() == t_pppParam::amb) { 321 char system = par->prn().system(); 322 t_prn refPrn = t_prn(); 323 if (OPT->_refSatRequired) { 324 refPrn = (refSatMap[system])->prn(); 325 } 326 if ((par->lastObsTime().valid() && (epoTime - par->lastObsTime() > 60.0)) || 327 ( refPrn == par->prn())) { 317 328 remove = true; 318 329 }
Note:
See TracChangeset
for help on using the changeset viewer.