Changeset 692 in ntrip for trunk/BNC


Ignore:
Timestamp:
Feb 15, 2008, 4:45:55 PM (17 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r688 r692  
    108108  _inspSegm = 50;
    109109  if ( settings.value("obsRate").toString().isEmpty() ) { _inspSegm = 0; }
     110  if ( settings.value("obsRate").toString().indexOf("5 Hz") != -1 ) { _inspSegm = 2; }
    110111  if ( settings.value("obsRate").toString().indexOf("1 Hz") != -1 ) { _inspSegm = 10; }
    111112  if ( settings.value("obsRate").toString().indexOf("0.5 Hz") != -1 ) { _inspSegm = 20; }
    112113  if ( settings.value("obsRate").toString().indexOf("0.2 Hz") != -1 ) { _inspSegm = 40; }
    113114  if ( settings.value("obsRate").toString().indexOf("0.1 Hz") != -1 ) { _inspSegm = 50; }
     115  printf("%d\n",_inspSegm);
    114116  _adviseFail = settings.value("adviseFail").toInt();
    115117  _adviseReco = settings.value("adviseReco").toInt();
  • trunk/BNC/bncwindow.cpp

    r689 r692  
    156156  _obsRateComboBox->setMaximumWidth(9*ww);
    157157  _obsRateComboBox->setEditable(false);
    158   _obsRateComboBox->addItems(QString(",0.1 Hz,0.2 Hz,0.5 Hz,1 Hz").split(","));
     158  _obsRateComboBox->addItems(QString(",0.1 Hz,0.2 Hz,0.5 Hz,1 Hz,5 Hz").split(","));
    159159  int kk = _obsRateComboBox->findText(settings.value("obsRate").toString());
    160160  if (kk != -1) {
Note: See TracChangeset for help on using the changeset viewer.