Changeset 7333 in ntrip for trunk/BNC/src/latencychecker.cpp
- Timestamp:
- Sep 25, 2015, 9:36:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/latencychecker.cpp
r6820 r7333 67 67 // Notice threshold 68 68 // ---------------- 69 QString obsRate = settings.value("obsRate").toString();69 QString adviseObsRate = settings.value("adviseObsRate").toString(); 70 70 _inspSegm = 0; 71 if ( obsRate.isEmpty() ) {71 if ( adviseObsRate.isEmpty() ) { 72 72 _inspSegm = 0; 73 73 } 74 else if ( obsRate.indexOf("5 Hz") != -1 ) {74 else if ( adviseObsRate.indexOf("5 Hz") != -1 ) { 75 75 _inspSegm = 20; 76 76 } 77 else if ( obsRate.indexOf("1 Hz") != -1 ) {77 else if ( adviseObsRate.indexOf("1 Hz") != -1 ) { 78 78 _inspSegm = 10; 79 79 } 80 else if ( obsRate.indexOf("0.5 Hz") != -1 ) {80 else if ( adviseObsRate.indexOf("0.5 Hz") != -1 ) { 81 81 _inspSegm = 20; 82 82 } 83 else if ( obsRate.indexOf("0.2 Hz") != -1 ) {83 else if ( adviseObsRate.indexOf("0.2 Hz") != -1 ) { 84 84 _inspSegm = 40; 85 85 } 86 else if ( obsRate.indexOf("0.1 Hz") != -1 ) {86 else if ( adviseObsRate.indexOf("0.1 Hz") != -1 ) { 87 87 _inspSegm = 50; 88 88 }
Note:
See TracChangeset
for help on using the changeset viewer.