Changeset 923 in ntrip for trunk/BNS/bns.cpp
- Timestamp:
- May 18, 2008, 4:10:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r922 r923 365 365 } 366 366 if (sd) { 367 processSatellite( ep, GPSweek, GPSweeks, prn, xx, sd);367 processSatellite(oldEph, ep, GPSweek, GPSweeks, prn, xx, sd); 368 368 } 369 369 } … … 385 385 // 386 386 //////////////////////////////////////////////////////////////////////////// 387 void t_bns::processSatellite( t_eph* ep, int GPSweek, double GPSweeks,387 void t_bns::processSatellite(int oldEph, t_eph* ep, int GPSweek, double GPSweeks, 388 388 const QString& prn, const ColumnVector& xx, 389 389 struct ClockOrbit::SatData* sd) { … … 411 411 if (_outStream) { 412 412 QString line; 413 line.sprintf("%d %.1f %s %3d %8.3f %8.3f %8.3f %8.3f\n", 414 GPSweek, GPSweeks, ep->prn().toAscii().data(), 413 char oldCh = (oldEph ? '!' : ' '); 414 line.sprintf("%c %d %.1f %s %3d %10.3f %8.3f %8.3f %8.3f\n", 415 oldCh, GPSweek, GPSweeks, ep->prn().toAscii().data(), 415 416 ep->IOD(), dClk, rsw(1), rsw(2), rsw(3)); 416 417 *_outStream << line; 417 418 _outStream->flush(); 418 419 } 419 if (_rnx) { 420 _rnx->write(GPSweek, GPSweeks, prn, xx); 421 } 422 if (_sp3) { 423 _sp3->write(GPSweek, GPSweeks, prn, xx); 420 if (!oldEph) { 421 if (_rnx) { 422 _rnx->write(GPSweek, GPSweeks, prn, xx); 423 } 424 if (_sp3) { 425 _sp3->write(GPSweek, GPSweeks, prn, xx); 426 } 424 427 } 425 428 }
Note:
See TracChangeset
for help on using the changeset viewer.