- Timestamp:
- Feb 11, 2009, 11:48:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1572 r1574 121 121 _staID_orig = _staID; 122 122 123 bncSettings settings; 124 _miscMount = settings.value("miscMount").toString(); 125 123 126 // Check name conflict 124 127 // ------------------- 125 bncSettings settings;126 128 QListIterator<QString> it(settings.value("mountPoints").toStringList()); 127 129 int num = 0; … … 499 501 500 502 bncSettings settings; 501 if ( Qt::CheckState(settings.value("scanRTCM").toInt()) == Qt::Checked) { 503 if ( Qt::CheckState(settings.value("scanRTCM").toInt()) == Qt::Checked ) { 504 505 if ( _miscMount == _staID || _miscMount == "ALL" ) { 506 507 // RTCMv3 message types 508 // -------------------- 509 for (int ii = 0; ii <_decoder->_typeList.size(); ii++) { 510 QString type = QString("%1 ").arg(_decoder->_typeList[ii]); 511 emit(newMessage(_staID + ": Received message type " + type.toAscii(), true)); 512 } 502 513 503 // RTCMv3 message types 504 // -------------------- 505 for (int ii = 0; ii <_decoder->_typeList.size(); ii++) { 506 QString type = QString("%1 ").arg(_decoder->_typeList[ii]); 507 emit(newMessage(_staID + ": Received message type " + type.toAscii(), true)); 508 } 509 510 // RTCMv3 antenna descriptor 511 // ------------------------- 512 for (int ii=0;ii<_decoder->_antType.size();ii++) { 513 QString ant1 = QString("%1 ").arg(_decoder->_antType[ii]); 514 emit(newMessage(_staID + ": Antenna descriptor " + ant1.toAscii(), true)); 515 } 516 517 // Antenna Coordinates 518 // ------------------- 519 for (int ii=0; ii <_decoder->_antList.size(); ii++) { 520 QByteArray antT; 521 if (_decoder->_antList[ii].type == GPSDecoder::t_antInfo::ARP) { 522 antT = "ARP"; 523 } 524 else if (_decoder->_antList[ii].type == GPSDecoder::t_antInfo::APC) { 525 antT = "APC"; 526 } 527 emit(newAntCrd(_staID, _decoder->_antList[ii].xx, 528 _decoder->_antList[ii].yy, _decoder->_antList[ii].zz, 529 antT)); 514 // RTCMv3 antenna descriptor 515 // ------------------------- 516 for (int ii=0;ii<_decoder->_antType.size();ii++) { 517 QString ant1 = QString("%1 ").arg(_decoder->_antType[ii]); 518 emit(newMessage(_staID + ": Antenna descriptor " + ant1.toAscii(), true)); 519 } 520 521 // Antenna Coordinates 522 // ------------------- 523 for (int ii=0; ii <_decoder->_antList.size(); ii++) { 524 QByteArray antT; 525 if (_decoder->_antList[ii].type == GPSDecoder::t_antInfo::ARP) { 526 antT = "ARP"; 527 } 528 else if (_decoder->_antList[ii].type == GPSDecoder::t_antInfo::APC) { 529 antT = "APC"; 530 } 531 emit(newAntCrd(_staID, _decoder->_antList[ii].xx, 532 _decoder->_antList[ii].yy, _decoder->_antList[ii].zz, 533 antT)); 534 } 530 535 } 531 536 }
Note:
See TracChangeset
for help on using the changeset viewer.