Ignore:
Timestamp:
Dec 26, 2014, 12:47:27 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncephuploadcaster.cpp

    r6441 r6443  
    6161  if (_ephUploadCaster) {
    6262    QByteArray outBuffer;
    63     QMapIterator<QString, t_ephPair*> it(_eph);
     63
     64    QListIterator<QString> it(prnList());
    6465    while (it.hasNext()) {
    65       it.next();
     66      const t_eph* eph = ephLast(it.next());
    6667
    67       t_eph* eph = it.value()->last;
     68      const t_ephGPS*     ephGPS     = dynamic_cast<const t_ephGPS*>(eph);
     69      const t_ephGlo*     ephGlo     = dynamic_cast<const t_ephGlo*>(eph);
     70      const t_ephGal*     ephGal     = dynamic_cast<const t_ephGal*>(eph);
     71      const t_ephSBAS*    ephSBAS    = dynamic_cast<const t_ephSBAS*>(eph);
     72      const t_ephCompass* ephCompass = dynamic_cast<const t_ephCompass*>(eph);
     73
    6874      unsigned char Array[80];
    6975      int size = 0;
    70       t_ephGPS*     ephGPS     = dynamic_cast<t_ephGPS*>(eph);
    71       t_ephGlo*     ephGlo     = dynamic_cast<t_ephGlo*>(eph);
    72       t_ephGal*     ephGal     = dynamic_cast<t_ephGal*>(eph);
    73       t_ephSBAS*    ephSBAS    = dynamic_cast<t_ephSBAS*>(eph);
    74       t_ephCompass* ephCompass = dynamic_cast<t_ephCompass*>(eph);
     76
    7577      if (ephGPS) {
    7678        size = t_ephEncoder::RTCM3(*ephGPS, Array);
Note: See TracChangeset for help on using the changeset viewer.