Changeset 6536 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jan 2, 2015, 3:26:56 PM (9 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r6518 r6536  
    12021202
    12031203    else if ( iLine == 3 ) {
     1204      double iodn;
    12041205      if ( readDbl(line, pos[0], fieldLen, _z_pos         )  ||
    12051206           readDbl(line, pos[1], fieldLen, _z_velocity    )  ||
    12061207           readDbl(line, pos[2], fieldLen, _z_acceleration)  ||
    1207            readDbl(line, pos[3], fieldLen, _IODN          ) ) {
    1208         _checkState = bad;
    1209         return;
     1208           readDbl(line, pos[3], fieldLen, iodn           ) ) {
     1209        _checkState = bad;
     1210        return;
     1211        _IODN = int(iodn);
    12101212      }
    12111213    }
     
    13081310    .arg(1.e-3*_z_velocity,     19, 'e', 12)
    13091311    .arg(1.e-3*_z_acceleration, 19, 'e', 12)
    1310     .arg(_IODN,                 19, 'e', 12);
     1312    .arg(double(_IODN),         19, 'e', 12);
    13111313
    13121314  return rnxStr;
  • trunk/BNC/src/ephemeris.h

    r6521 r6536  
    218218  virtual t_irc position(int GPSweek, double GPSweeks, double* xc, double* vv) const;
    219219
    220   double _IODN;
     220  int    _IODN;
    221221  double _TOW;            // not used (set to  0.9999e9)
    222222  double _agf0;           // [s]    clock correction
Note: See TracChangeset for help on using the changeset viewer.