Changeset 7333 in ntrip for trunk/BNC/src/latencychecker.cpp


Ignore:
Timestamp:
Sep 25, 2015, 9:36:19 AM (9 years ago)
Author:
weber
Message:

Strin obsRate changed to adviseObsRate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/latencychecker.cpp

    r6820 r7333  
    6767  // Notice threshold
    6868  // ----------------
    69   QString obsRate = settings.value("obsRate").toString();
     69  QString adviseObsRate = settings.value("adviseObsRate").toString();
    7070  _inspSegm = 0;
    71   if      ( obsRate.isEmpty() ) {
     71  if      ( adviseObsRate.isEmpty() ) {
    7272    _inspSegm = 0;
    7373  }
    74   else if ( obsRate.indexOf("5 Hz")   != -1 ) {
     74  else if ( adviseObsRate.indexOf("5 Hz")   != -1 ) {
    7575    _inspSegm = 20;
    7676  }
    77   else if ( obsRate.indexOf("1 Hz")   != -1 ) {
     77  else if ( adviseObsRate.indexOf("1 Hz")   != -1 ) {
    7878    _inspSegm = 10;
    7979  }
    80   else if ( obsRate.indexOf("0.5 Hz") != -1 ) {
     80  else if ( adviseObsRate.indexOf("0.5 Hz") != -1 ) {
    8181    _inspSegm = 20;
    8282  }
    83   else if ( obsRate.indexOf("0.2 Hz") != -1 ) {
     83  else if ( adviseObsRate.indexOf("0.2 Hz") != -1 ) {
    8484    _inspSegm = 40;
    8585  }
    86   else if ( obsRate.indexOf("0.1 Hz") != -1 ) {
     86  else if ( adviseObsRate.indexOf("0.1 Hz") != -1 ) {
    8787    _inspSegm = 50;
    8888  }
Note: See TracChangeset for help on using the changeset viewer.