Changeset 1102 in ntrip for trunk/BNS


Ignore:
Timestamp:
Sep 3, 2008, 2:09:19 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1100 r1102  
    384384            if (sd) {
    385385              QString outLine;
    386               processSatellite(oldEph, _caster.at(ic)->crdTrafo(), ep, GPSweek,
    387                                GPSweeks, prn, xx, sd, outLine);
     386              processSatellite(oldEph, ic, _caster.at(ic)->crdTrafo(), ep,
     387                               GPSweek, GPSweeks, prn, xx, sd, outLine);
    388388              _caster.at(ic)->printAscii(outLine);
    389389            }
     
    407407//
    408408////////////////////////////////////////////////////////////////////////////
    409 void t_bns::processSatellite(int oldEph, bool trafo, t_eph* ep, int GPSweek,
    410                              double GPSweeks, const QString& prn,
     409void t_bns::processSatellite(int oldEph, int iCaster, bool trafo, t_eph* ep,
     410                             int GPSweek, double GPSweeks, const QString& prn,
    411411                             const ColumnVector& xx,
    412412                             struct ClockOrbit::SatData* sd,
     
    444444                  ep->IOD(), dClk, rsw(1), rsw(2), rsw(3));
    445445
    446   if (!oldEph) {
     446  if (!oldEph && iCaster == 0) {
    447447    if (_rnx) {
    448448      _rnx->write(GPSweek, GPSweeks, prn, xx);
  • trunk/BNS/bns.h

    r1072 r1102  
    5959  void openCaster();
    6060  void readEpoch();
    61   void processSatellite(int oldEph, bool trafo, t_eph* ep, int GPSweek,
    62                         double GPSweeks, const QString& prn,
     61  void processSatellite(int oldEph, int iCaster, bool trafo, t_eph* ep,
     62                        int GPSweek, double GPSweeks, const QString& prn,
    6363                        const ColumnVector& xx, struct ClockOrbit::SatData* sd,
    6464                        QString& outLine);
Note: See TracChangeset for help on using the changeset viewer.