Changeset 7363 in ntrip


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

String binSampl changed to outSampl

File:
1 edited

Legend:

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

    r7331 r7363  
    282282  _waitTimeSpinBox->setSuffix(" sec");
    283283  _waitTimeSpinBox->setValue(settings.value("waitTime").toInt());
    284   _binSamplSpinBox    = new QSpinBox();
    285   _binSamplSpinBox->setMinimum(0);
    286   _binSamplSpinBox->setMaximum(60);
    287   _binSamplSpinBox->setSingleStep(5);
    288   _binSamplSpinBox->setValue(settings.value("binSampl").toInt());
    289   _binSamplSpinBox->setSuffix(" sec");
     284  _outSamplSpinBox    = new QSpinBox();
     285  _outSamplSpinBox->setMinimum(0);
     286  _outSamplSpinBox->setMaximum(60);
     287  _outSamplSpinBox->setSingleStep(5);
     288  _outSamplSpinBox->setValue(settings.value("outSampl").toInt());
     289  _outSamplSpinBox->setSuffix(" sec");
    290290  _outFileLineEdit    = new QLineEdit(settings.value("outFile").toString());
    291291  _outUPortLineEdit   = new QLineEdit(settings.value("outUPort").toString());
     
    755755  _outPortLineEdit->setMaximumWidth(9*ww);
    756756  _waitTimeSpinBox->setMaximumWidth(9*ww);
    757   _binSamplSpinBox->setMaximumWidth(9*ww);
     757  _outSamplSpinBox->setMaximumWidth(9*ww);
    758758  _outUPortLineEdit->setMaximumWidth(9*ww);
    759759
     
    764764  sLayout->addWidget(_waitTimeSpinBox,                              1, 3, Qt::AlignLeft);
    765765  sLayout->addWidget(new QLabel("Sampling"),                        2, 0);
    766   sLayout->addWidget(_binSamplSpinBox,                              2, 1, Qt::AlignLeft);
     766  sLayout->addWidget(_outSamplSpinBox,                              2, 1, Qt::AlignLeft);
    767767  sLayout->addWidget(new QLabel("File (full path)"),                3, 0);
    768768  sLayout->addWidget(_outFileLineEdit,                              3, 1, 1, 10);
     
    13041304  _corrIntrComboBox->setWhatsThis(tr("<p>Select the length of the Broadcast Ephemeris Correction files.</p>"));
    13051305  _rnxSamplSpinBox->setWhatsThis(tr("<p>Select the RINEX Observation sampling interval in seconds. A value of zero '0' tells BNC to store all received epochs into RINEX.</p>"));
    1306   _binSamplSpinBox->setWhatsThis(tr("<p>Select the synchronized observation sampling interval in seconds. A value of zero '0' tells BNC to send/store all received epochs.</p>"));
     1306  _outSamplSpinBox->setWhatsThis(tr("<p>Select the synchronized observation sampling interval in seconds. A value of zero '0' tells BNC to send/store all received epochs.</p>"));
    13071307  _adviseObsRateComboBox->setWhatsThis(tr("<p>BNC can collect all returns (success or failure) coming from a decoder within a certain short time span to then decide whether a stream has an outage or its content is corrupted. The procedure needs a rough estimate of the expected 'Observation rate' of the incoming streams. When a continuous problem is detected, BNC can inform its operator about this event through an advisory note.</p><p>Default is an empty option field, meaning that you don't want BNC to report on stream failures or recoveries when exceeding a threshold time span.</p>"));
    13081308  _adviseRecoSpinBox->setWhatsThis(tr("<p>Following a stream outage or a longer series of bad observations, an advisory note is generated when valid observations are received again throughout the 'Recovery threshold' time span. A value of about 5min (default) is recommended.</p><p>A value of zero '0' means that for any stream recovery, however short, BNC immediately generates an advisory note.</p>"));
     
    17541754  settings.setValue("outPort",     _outPortLineEdit->text());
    17551755  settings.setValue("waitTime",    _waitTimeSpinBox->value());
    1756   settings.setValue("binSampl",    _binSamplSpinBox->value());
     1756  settings.setValue("outSampl",    _outSamplSpinBox->value());
    17571757  settings.setValue("outFile",     _outFileLineEdit->text());
    17581758  settings.setValue("outUPort",    _outUPortLineEdit->text());
     
    20672067  populateMountPointsTable();
    20682068  bncSettings settings;
    2069   _binSamplSpinBox->setValue(settings.value("binSampl").toInt());
     2069  _outSamplSpinBox->setValue(settings.value("outSampl").toInt());
    20702070  _waitTimeSpinBox->setValue(settings.value("waitTime").toInt());
    20712071  QListIterator<bncGetThread*> iTh(threads);
     
    22712271    enable = !_outPortLineEdit->text().isEmpty() || !_outFileLineEdit->text().isEmpty();
    22722272    enableWidget(enable, _waitTimeSpinBox);
    2273     enableWidget(enable, _binSamplSpinBox);
     2273    enableWidget(enable, _outSamplSpinBox);
    22742274  }
    22752275
Note: See TracChangeset for help on using the changeset viewer.