Changeset 1575 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Feb 11, 2009, 1:22:58 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1574 r1575  
    505505    if ( _miscMount == _staID || _miscMount == "ALL" ) {
    506506
    507       // RTCMv3 message types
    508       // --------------------
     507      // RTCM message types
     508      // ------------------
    509509      for (int ii = 0; ii <_decoder->_typeList.size(); ii++) {
    510510        QString type =  QString("%1 ").arg(_decoder->_typeList[ii]);
     
    519519      }
    520520
    521       // Antenna Coordinates
    522       // -------------------
     521      // RTCM Antenna Coordinates
     522      // ------------------------
    523523      for (int ii=0; ii <_decoder->_antList.size(); ii++) {
    524524        QByteArray antT;
     
    529529          antT = "APC";
    530530        }
     531        QByteArray ant1, ant2, ant3;
     532        ant1 = QString("%1 ").arg(_decoder->_antList[ii].xx,0,'f',4).toAscii();
     533        ant2 = QString("%1 ").arg(_decoder->_antList[ii].yy,0,'f',4).toAscii();
     534        ant3 = QString("%1 ").arg(_decoder->_antList[ii].zz,0,'f',4).toAscii();
     535        emit(newMessage(_staID + ": " + antT + " (ITRF) X " + ant1 + "m", true));
     536        emit(newMessage(_staID + ": " + antT + " (ITRF) Y " + ant2 + "m", true));
     537        emit(newMessage(_staID + ": " + antT + " (ITRF) Z " + ant3 + "m", true));
     538        if (_decoder->_antList[ii].height_f) {
     539          QByteArray ant4 = QString("%1 ").arg(_decoder->_antList[ii].height,0,'f',4).toAscii();
     540          emit(newMessage(_staID + ": Antenna height above marker "  + ant4 + "m", true));
     541        }
    531542        emit(newAntCrd(_staID, _decoder->_antList[ii].xx,
    532543                       _decoder->_antList[ii].yy, _decoder->_antList[ii].zz,
     
    535546    }
    536547  }
    537      
     548
    538549  _decoder->_typeList.clear();
    539550  _decoder->_antType.clear();
Note: See TracChangeset for help on using the changeset viewer.