Changeset 8034 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 5, 2016, 10:33:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r8024 r8034 214 214 for (unsigned ii = 0; ii < obsVector.size(); ii++) { 215 215 const t_pppSatObs* satObs = obsVector.at(ii); 216 if (satObs->prn().system() == 'G') { 217 if (tLC == t_lc::dummy) { 218 if (satObs->isValid(t_lc::cIF)) { 219 tLC = t_lc::cIF; 220 } 221 else if (satObs->isValid(t_lc::c1)) { 222 tLC = t_lc::c1; 223 } 224 else { 225 tLC = t_lc::c2; 226 } 216 if (tLC == t_lc::dummy) { 217 if (satObs->isValid(t_lc::cIF)) { 218 tLC = t_lc::cIF; 227 219 } 228 if ( satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= OPT->_minEle) ) { 229 ++iObs; 230 BB[iObs][0] = satObs->xc()[0]; 231 BB[iObs][1] = satObs->xc()[1]; 232 BB[iObs][2] = satObs->xc()[2]; 233 BB[iObs][3] = satObs->obsValue(tLC) - satObs->cmpValueForBanc(tLC); 220 else if (satObs->isValid(t_lc::c1)) { 221 tLC = t_lc::c1; 234 222 } 223 else { 224 tLC = t_lc::c2; 225 } 226 } 227 if ( satObs->isValid(tLC) && (!satObs->modelSet() || satObs->eleSat() >= OPT->_minEle) ) { 228 ++iObs; 229 BB[iObs][0] = satObs->xc()[0]; 230 BB[iObs][1] = satObs->xc()[1]; 231 BB[iObs][2] = satObs->xc()[2]; 232 BB[iObs][3] = satObs->obsValue(tLC) - satObs->cmpValueForBanc(tLC); 235 233 } 236 234 }
Note:
See TracChangeset
for help on using the changeset viewer.