Changeset 3381 in ntrip for trunk


Ignore:
Timestamp:
Aug 28, 2011, 5:40:19 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3378 r3381  
    15681568  }
    15691569
    1570   delete epoData;
    1571   epoData = new t_epoData(*_epoData_sav);
     1570  epoData->tt = _epoData_sav->tt;
     1571  QMapIterator<QString, t_satData*> itGPS(_epoData_sav->satDataGPS);
     1572  while (itGPS.hasNext()) {
     1573    itGPS.next();
     1574    epoData->satDataGPS.remove(itGPS.key());
     1575    epoData->satDataGPS[itGPS.key()] = new t_satData(*itGPS.value());
     1576  }
     1577  QMapIterator<QString, t_satData*> itGlo(_epoData_sav->satDataGlo);
     1578  while (itGlo.hasNext()) {
     1579    itGlo.next();
     1580    epoData->satDataGlo.remove(itGlo.key());
     1581    epoData->satDataGlo[itGlo.key()] = new t_satData(*itGlo.value());
     1582  }
     1583  QMapIterator<QString, t_satData*> itGal(_epoData_sav->satDataGal);
     1584  while (itGal.hasNext()) {
     1585    itGal.next();
     1586    epoData->satDataGal.remove(itGal.key());
     1587    epoData->satDataGal[itGal.key()] = new t_satData(*itGal.value());
     1588  }
     1589
    15721590}
    15731591
Note: See TracChangeset for help on using the changeset viewer.