Changeset 3680 in ntrip for trunk/BNC/bncpostprocess.cpp


Ignore:
Timestamp:
Feb 12, 2012, 11:42:49 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3675 r3680  
    110110  const t_rnxObsFile::t_epo* epo = 0;
    111111  while ( (epo = _rnxObsFile->nextEpoch()) != 0) {
    112 
     112    for (int iObs = 0; iObs < epo->satObs.size(); iObs++) {
     113      const t_rnxObsFile::t_satObs& satObs = epo->satObs[iObs];
     114      t_obs obs;
     115      strncpy(obs.StatID, _rnxObsFile->markerName().toAscii().constData(),
     116              sizeof(obs.StatID));
     117      obs.satSys   = satObs.prn.toAscii().data()[0];
     118      obs.satNum   = satObs.prn.mid(1).toInt();
     119      obs.GPSWeek  = epo->tt.gpsw();
     120      obs.GPSWeeks = epo->tt.gpssec();
     121    }
    113122  }
    114123
Note: See TracChangeset for help on using the changeset viewer.