Changeset 9025 in ntrip for trunk/BNC/src/upload/bncrtnetdecoder.cpp
- Timestamp:
- Aug 25, 2020, 11:02:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetdecoder.cpp
r8275 r9025 56 56 while (it.hasNext()) { 57 57 QStringList hlp = it.next().split(","); 58 if (hlp.size() > 6) {58 if (hlp.size() > 8) { 59 59 ++iRow; 60 60 int outPort = hlp[1].toInt(); 61 bool CoM = (hlp[ 7].toInt() == Qt::Checked);61 bool CoM = (hlp[8].toInt() == Qt::Checked); 62 62 int PID = 0; 63 if (hlp.size() > 1 0) {64 PID = hlp[1 0].toInt();63 if (hlp.size() > 11) { 64 PID = hlp[11].toInt(); 65 65 } 66 66 int SID = 0; 67 if (hlp.size() > 1 1) {68 SID = hlp[1 1].toInt();67 if (hlp.size() > 12) { 68 SID = hlp[12].toInt(); 69 69 } 70 70 int IOD = 0; 71 if (hlp.size() > 1 2) {72 IOD = hlp[1 2].toInt();71 if (hlp.size() > 13) { 72 IOD = hlp[13].toInt(); 73 73 } 74 74 bncRtnetUploadCaster* newCaster = new bncRtnetUploadCaster( 75 75 hlp[2], hlp[0], outPort, 76 76 hlp[3], hlp[4], 77 hlp[5], hlp[6], CoM,78 hlp[ 8], hlp[9],77 hlp[5], hlp[6], hlp[7], CoM, 78 hlp[9], hlp[10], 79 79 PID, SID, IOD, iRow); 80 80 newCaster->start();
Note:
See TracChangeset
for help on using the changeset viewer.