Changeset 3595 in ntrip


Ignore:
Timestamp:
Jan 21, 2012, 1:56:25 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r3577 r3595  
    725725        emit(newMessage(_staID + ": " + antT + " (ITRF) Y " + ant2 + "m", true));
    726726        emit(newMessage(_staID + ": " + antT + " (ITRF) Z " + ant3 + "m", true));
     727        double hh = 0.0;
    727728        if (decoder()->_antList[ii].height_f) {
    728           QByteArray ant4 = QString("%1 ").arg(decoder()->_antList[ii].height,0,'f',4).toAscii();
     729          hh = decoder()->_antList[ii].height;
     730          QByteArray ant4 = QString("%1 ").arg(hh,0,'f',4).toAscii();
    729731          emit(newMessage(_staID + ": Antenna height above marker "  + ant4 + "m", true));
    730732        }
    731733        emit(newAntCrd(_staID, decoder()->_antList[ii].xx,
    732734                       decoder()->_antList[ii].yy, decoder()->_antList[ii].zz,
    733                        antT));
     735                       hh, antT));
    734736      }
    735737    }
     
    745747          antT = "APC";
    746748        }
     749        double hh = 0.0;
     750        if (decoder()->_antList[ii].height_f) {
     751          hh = decoder()->_antList[ii].height;
     752        }
    747753        emit(newAntCrd(_staID, decoder()->_antList[ii].xx,
    748754                       decoder()->_antList[ii].yy, decoder()->_antList[ii].zz,
    749                        antT));
     755                       hh, antT));
    750756  }
    751757
  • trunk/BNC/bncgetthread.h

    r3577 r3595  
    8282   void newLatency(QByteArray staID, double clate);
    8383   void newObs(QByteArray staID, bool firstObs, t_obs obs);
    84    void newAntCrd(QByteArray staID, double xx, double yy, double zz, QByteArray antType);
     84   void newAntCrd(QByteArray staID, double xx, double yy, double zz,
     85                  double hh, QByteArray antType);
    8586   void newMessage(QByteArray msg, bool showOnScreen);
    8687   void newRTCMMessage(QByteArray staID, int msgID);
Note: See TracChangeset for help on using the changeset viewer.