- Timestamp:
- Jan 7, 2010, 10:57:20 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2182 r2207 212 212 in >> messageType >> updateInterval >> GPSweek >> GPSweeks >> prn; 213 213 if ( messageType == COTYPE_GPSCOMBINED || 214 messageType == COTYPE_GLONASSCOMBINED ) { 214 messageType == COTYPE_GLONASSCOMBINED || 215 messageType == COTYPE_GPSORBIT || 216 messageType == COTYPE_GPSCLOCK || 217 messageType == COTYPE_GLONASSORBIT || 218 messageType == COTYPE_GLONASSCLOCK ) { 219 215 220 t_corr* cc = 0; 216 221 if (_corr.contains(prn)) { … … 221 226 _corr[prn] = cc; 222 227 } 228 223 229 cc->tt.set(GPSweek, GPSweeks); 224 cc->rao.ReSize(3); 225 in >> cc->iod >> cc->dClk >> cc->rao[0] >> cc->rao[1] >> cc->rao[2]; 226 cc->dClk /= t_CST::c; 230 231 if ( messageType == COTYPE_GPSCOMBINED || 232 messageType == COTYPE_GLONASSCOMBINED ) { 233 cc->rao.ReSize(3); 234 in >> cc->iod >> cc->dClk >> cc->rao[0] >> cc->rao[1] >> cc->rao[2]; 235 cc->dClk /= t_CST::c; 236 } 237 else if ( messageType == COTYPE_GPSORBIT || 238 messageType == COTYPE_GLONASSORBIT ) { 239 cc->rao.ReSize(3); 240 in >> cc->iod >> cc->rao[0] >> cc->rao[1] >> cc->rao[2]; 241 } 242 else if ( messageType == COTYPE_GPSCLOCK || 243 messageType == COTYPE_GLONASSCLOCK ) { 244 int dummyIOD; 245 in >> dummyIOD >> cc->dClk; 246 cc->dClk /= t_CST::c; 247 } 227 248 } 228 249 }
Note:
See TracChangeset
for help on using the changeset viewer.