Changeset 2637 in ntrip for trunk/BNC/bncpppclient.cpp


Ignore:
Timestamp:
Nov 3, 2010, 6:54:50 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2585 r2637  
    251251
    252252  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) ) {
     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
    257258      delete static_cast<t_ephGPS*>(_eph.value(prn)->prev);
    258259      _eph.value(prn)->prev = _eph.value(prn)->last;
     
    280281    int tow = gloeph.GPSTOW;
    281282    updatetime(&ww, &tow, gloeph.tb*1000, 0);  // Moscow -> GPS
    282     t_ephGlo* eLast = static_cast<t_ephGlo*>(_eph.value(prn)->last);
    283     if (eLast->GPSweek() < ww ||
    284         (eLast->GPSweek()  == ww &&  eLast->GPSweeks() <  tow)) { 
     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
    285287      delete static_cast<t_ephGlo*>(_eph.value(prn)->prev);
    286288      _eph.value(prn)->prev = _eph.value(prn)->last;
Note: See TracChangeset for help on using the changeset viewer.