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


Ignore:
Timestamp:
Sep 22, 2008, 11:39:58 AM (16 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1052 r1130  
    687687        _decoder->_obsList.clear();
    688688
    689         // RTCM message types
    690         // ------------------
    691689        if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) {
     690
     691          // RTCM message types
     692          // ------------------
    692693          if (0<_decoder->_typeList.size()) {
    693694            QString type;
    694695            for (int ii=0;ii<_decoder->_typeList.size();ii++) {
    695696              type =  QString("%1 ").arg(_decoder->_typeList[ii]);
    696               if (type != "") {
    697                 emit(newMessage(_staID + ": Received message type " + type.toAscii() ));
    698               }
     697              emit(newMessage(_staID + ": Received message type " + type.toAscii() ));
    699698            }
    700699          }
    701         }
    702         _decoder->_typeList.clear();
     700          _decoder->_typeList.clear();
     701
     702          // Antenna XYZ & H
     703          // ---------------
     704          if (0<_decoder->_antList.size()) {
     705            QString ant1,ant2,ant3,ant4;
     706            for (int ii=0;ii<_decoder->_antList.size();ii+=4) {
     707              ant1 =  QString("%1 ").arg(_decoder->_antList[ii+0]*0.0001,0,'f',4);
     708              ant2 =  QString("%1 ").arg(_decoder->_antList[ii+1]*0.0001,0,'f',4);
     709              ant3 =  QString("%1 ").arg(_decoder->_antList[ii+2]*0.0001,0,'f',4);
     710              ant4 =  QString("%1 ").arg(_decoder->_antList[ii+3]*0.0001,0,'f',4);
     711              emit(newMessage(_staID + ": ARP (ITRF) X " + ant1.toAscii() + "m" ));
     712              emit(newMessage(_staID + ": ARP (ITRF) Y " + ant2.toAscii() + "m"));
     713              emit(newMessage(_staID + ": ARP (ITRF) Z " + ant3.toAscii() + "m"));
     714              emit(newMessage(_staID + ": Antenna height "  + ant4.toAscii() + "m"));
     715            }
     716          }
     717          _decoder->_antList.clear();
     718        }
    703719      }
    704720
Note: See TracChangeset for help on using the changeset viewer.