Changeset 1575 in ntrip
- Timestamp:
- Feb 11, 2009, 1:22:58 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1574 r1575 505 505 if ( _miscMount == _staID || _miscMount == "ALL" ) { 506 506 507 // RTCM v3message types508 // ------------------ --507 // RTCM message types 508 // ------------------ 509 509 for (int ii = 0; ii <_decoder->_typeList.size(); ii++) { 510 510 QString type = QString("%1 ").arg(_decoder->_typeList[ii]); … … 519 519 } 520 520 521 // Antenna Coordinates522 // ------------------- 521 // RTCM Antenna Coordinates 522 // ------------------------ 523 523 for (int ii=0; ii <_decoder->_antList.size(); ii++) { 524 524 QByteArray antT; … … 529 529 antT = "APC"; 530 530 } 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 } 531 542 emit(newAntCrd(_staID, _decoder->_antList[ii].xx, 532 543 _decoder->_antList[ii].yy, _decoder->_antList[ii].zz, … … 535 546 } 536 547 } 537 548 538 549 _decoder->_typeList.clear(); 539 550 _decoder->_antType.clear(); -
trunk/BNC/bncnetqueryv1.cpp
r1571 r1575 68 68 _socket = 0; 69 69 _status = error; 70 emit newMessage(_url.path().toAscii() + " read timeout", true);70 emit newMessage(_url.path().toAscii() + ": Read timeout", true); 71 71 return; 72 72 } … … 149 149 _socket = 0; 150 150 _status = error; 151 emit newMessage(_url.path().toAscii() + " write timeout", true);151 emit newMessage(_url.path().toAscii() + ": Write timeout", true); 152 152 return; 153 153 } … … 161 161 _socket = 0; 162 162 _status = error; 163 emit newMessage(_url.path().toAscii() + " response timeout", true);163 emit newMessage(_url.path().toAscii() + ": Response timeout", true); 164 164 return; 165 165 } … … 181 181 _socket = 0; 182 182 _status = error; 183 emit newMessage(_url.path().toAscii() + " wrong caster response\n" +184 response.join(" \n").toAscii(), true);183 emit newMessage(_url.path().toAscii() + ": Wrong caster response\n" + 184 response.join("").toAscii(), true); 185 185 } 186 186 }
Note:
See TracChangeset
for help on using the changeset viewer.