Changeset 873 in ntrip
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r872 r873 324 324 325 325 for (int ii = 1; ii <= numSat; ii++) { 326 line = _clkSocket->readLine(); 327 328 QTextStream in(line); 329 326 330 327 QString prn; 331 328 ColumnVector xx(4); 332 333 in >> prn >> xx(1) >> xx(2) >> xx(3) >> xx(4); 334 xx(4) *= 1e-6; 335 336 gpsEph* ep = 0; 337 if ( _ephList.contains(prn) ) { 338 t_ephPair* pair = _ephList[prn]; 339 if (oldEph == 1) { 340 ep = pair->oldEph; 329 gpsEph* ep = 0; 330 331 if (oldEph == 0) { 332 line = _clkSocket->readLine(); 333 QTextStream in(line); 334 in >> prn; 335 if ( _ephList.contains(prn) ) { 336 in >> xx(1) >> xx(2) >> xx(3) >> xx(4); xx(4) *= 1e-6; 337 t_ephPair* pair = _ephList[prn]; 338 pair->xx = xx; 339 ep = pair->eph; 341 340 } 342 else { 343 ep = pair->eph; 341 } 342 else { 343 if ( _ephList.contains(prn) ) { 344 t_ephPair* pair = _ephList[prn]; 345 prn = pair->eph->prn; 346 xx = pair->xx; 347 ep = pair->oldEph; 344 348 } 345 349 } -
trunk/BNS/bns.h
r872 r873 20 20 eph = 0; 21 21 oldEph = 0; 22 xx.ReSize(4); 22 23 } 23 24 … … 27 28 } 28 29 30 ColumnVector xx; 29 31 gpsEph* eph; 30 32 gpsEph* oldEph;
Note:
See TracChangeset
for help on using the changeset viewer.