Changeset 8236 in ntrip for trunk/BNC/src
- Timestamp:
- Jan 5, 2018, 10:54:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r8197 r8236 859 859 // ------------------------- 860 860 for (int ii = 0; ii < decoder()->_antType.size(); ii++) { 861 QString ant1 = QString("%1 ").arg(decoder()->_antType[ii]); 862 emit(newMessage(_staID + ": Antenna descriptor " + ant1.toLatin1(), true)); 861 QString ant1 = QString(": Antenna Descriptor: %1 ").arg(decoder()->_antType[ii].descriptor); 862 emit(newMessage(_staID + ant1.toLatin1(), true)); 863 if (strlen(decoder()->_antType[ii].serialnumber)) { 864 QString ant2 = QString(": Antenna Serial Number: %1 ").arg(decoder()->_antType[ii].serialnumber); 865 emit(newMessage(_staID + ant2.toLatin1(), true)); 866 } 863 867 } 864 868 … … 867 871 for (int ii = 0; ii < decoder()->_antList.size(); ii++) { 868 872 QByteArray antT; 869 if (decoder()->_antList[ii].type == GPSDecoder::t_ant Info::ARP) {873 if (decoder()->_antList[ii].type == GPSDecoder::t_antRefPoint::ARP) { 870 874 antT = "ARP"; 871 } else if (decoder()->_antList[ii].type == GPSDecoder::t_ant Info::APC) {875 } else if (decoder()->_antList[ii].type == GPSDecoder::t_antRefPoint::APC) { 872 876 antT = "APC"; 873 877 } 874 878 QByteArray ant1, ant2, ant3; 875 ant1 = 876 QString("%1 ").arg(decoder()->_antList[ii].xx, 0, 'f', 4).toLatin1(); 877 ant2 = 878 QString("%1 ").arg(decoder()->_antList[ii].yy, 0, 'f', 4).toLatin1(); 879 ant3 = 880 QString("%1 ").arg(decoder()->_antList[ii].zz, 0, 'f', 4).toLatin1(); 879 ant1 = QString("%1 ").arg(decoder()->_antList[ii].xx, 0, 'f', 4).toLatin1(); 880 ant2 = QString("%1 ").arg(decoder()->_antList[ii].yy, 0, 'f', 4).toLatin1(); 881 ant3 = QString("%1 ").arg(decoder()->_antList[ii].zz, 0, 'f', 4).toLatin1(); 881 882 emit(newMessage(_staID + ": " + antT + " (ITRF) X " + ant1 + "m", true)); 882 883 emit(newMessage(_staID + ": " + antT + " (ITRF) Y " + ant2 + "m", true)); … … 896 897 // -------------------------- 897 898 for (int ii = 0; ii < decoder()->_recType.size(); ii++) { 898 QString rec1 = QString("%1 ").arg(decoder()->_recType[ii]); 899 emit(newMessage(_staID + ": Receiver descriptor " + rec1.toLatin1(), true)); 899 QString rec1 = QString(": Receiver Descriptor: %1 ").arg(decoder()->_recType[ii].descriptor); 900 QString rec2 = QString(": Receiver Firmware Version: %1 ").arg(decoder()->_recType[ii].firmware); 901 QString rec3 = QString(": Receiver Serial Number: %1 ").arg(decoder()->_recType[ii].serialnumber); 902 emit(newMessage(_staID + rec1.toLatin1(), true)); 903 emit(newMessage(_staID + rec2.toLatin1(), true)); 904 emit(newMessage(_staID + rec3.toLatin1(), true)); 900 905 } 901 906
Note:
See TracChangeset
for help on using the changeset viewer.