Changeset 10517 in ntrip for trunk/BNC/src
- Timestamp:
- Jul 9, 2024, 2:22:27 PM (4 months ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r10503 r10517 40 40 41 41 #include <stdlib.h> 42 #include <iostream> 42 43 #include <iomanip> 43 44 #include <sstream> … … 78 79 bncGetThread::bncGetThread(bncRawFile* rawFile) { 79 80 80 _rawFile = rawFile;81 _format = rawFile->format();82 _staID = rawFile->staID();83 _rawOutput = false;81 _rawFile = rawFile; 82 _format = rawFile->format(); 83 _staID = rawFile->staID(); 84 _rawOutput = false; 84 85 _ntripVersion = "N"; 85 86 … … 93 94 const QByteArray& nmea, const QByteArray& ntripVersion) { 94 95 _rawFile = 0; 95 _mountPoint = mountPoint;96 _staID = mountPoint.path().mid(1).toLatin1();97 _format = format;98 _latitude = latitude;99 _longitude = longitude;100 _nmea = nmea;96 _mountPoint = mountPoint; 97 _staID = mountPoint.path().mid(1).toLatin1(); 98 _format = format; 99 _latitude = latitude; 100 _longitude = longitude; 101 _nmea = nmea; 101 102 _ntripVersion = ntripVersion; 102 103 … … 108 109 _rawOutput = false; 109 110 } 110 if (!settings.value("miscMount").toString().isEmpty()) { 111 _latencycheck = true; 112 } 113 else { 114 _latencycheck = false; 115 } 111 112 _latencycheck = true; // in order to allow at least to check for reconnect 116 113 117 114 _NMEASampl = settings.value("serialNMEASampling").toInt(); … … 944 941 } 945 942 } 943 944 /* 945 for (int ii = 0; ii < decoder()->_helmertParList.size(); ii++) { 946 decoder()->_helmertParList[ii].print(); 947 } 948 */ 946 949 } 947 950 } -
trunk/BNC/src/latencychecker.cpp
r9958 r10517 94 94 // Latency interval/average 95 95 // ------------------------ 96 _miscIntr = 1;96 _miscIntr = 300; 97 97 QString miscIntr = settings.value("miscIntr").toString(); 98 98 if ( miscIntr.isEmpty() ) { 99 _miscIntr = 1;99 _miscIntr = 300; 100 100 } 101 101 else if ( miscIntr.indexOf("2 sec") != -1 ) {
Note:
See TracChangeset
for help on using the changeset viewer.