Changeset 2642 in ntrip
- Timestamp:
- Nov 4, 2010, 4:05:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2637 r2642 251 251 252 252 if (_eph.contains(prn)) { 253 //// t_ephGPS* eLast = static_cast<t_ephGPS*>(_eph.value(prn)->last); 254 //// if ( (eLast->GPSweek() < gpseph.GPSweek) || 255 //// (eLast->GPSweek() == gpseph.GPSweek && 256 //// eLast->TOC() < gpseph.TOC) ) { 257 if (true) { // simply take the last one 253 t_ephGPS* eLast = static_cast<t_ephGPS*>(_eph.value(prn)->last); 254 if ( (eLast->GPSweek() < gpseph.GPSweek) || 255 (eLast->GPSweek() == gpseph.GPSweek && 256 eLast->TOC() < gpseph.TOC) ) { 258 257 delete static_cast<t_ephGPS*>(_eph.value(prn)->prev); 259 258 _eph.value(prn)->prev = _eph.value(prn)->last; … … 281 280 int tow = gloeph.GPSTOW; 282 281 updatetime(&ww, &tow, gloeph.tb*1000, 0); // Moscow -> GPS 283 //// t_ephGlo* eLast = static_cast<t_ephGlo*>(_eph.value(prn)->last); 284 //// if (eLast->GPSweek() < ww || 285 //// (eLast->GPSweek() == ww && eLast->GPSweeks() < tow)) { 286 if (true) { // simply take the last one 282 t_ephGlo* eLast = static_cast<t_ephGlo*>(_eph.value(prn)->last); 283 if (eLast->GPSweek() < ww || 284 (eLast->GPSweek() == ww && eLast->GPSweeks() < tow)) { 287 285 delete static_cast<t_ephGlo*>(_eph.value(prn)->prev); 288 286 _eph.value(prn)->prev = _eph.value(prn)->last;
Note:
See TracChangeset
for help on using the changeset viewer.