Changeset 7363 in ntrip
- Timestamp:
- Sep 25, 2015, 10:07:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r7331 r7363 282 282 _waitTimeSpinBox->setSuffix(" sec"); 283 283 _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"); 290 290 _outFileLineEdit = new QLineEdit(settings.value("outFile").toString()); 291 291 _outUPortLineEdit = new QLineEdit(settings.value("outUPort").toString()); … … 755 755 _outPortLineEdit->setMaximumWidth(9*ww); 756 756 _waitTimeSpinBox->setMaximumWidth(9*ww); 757 _ binSamplSpinBox->setMaximumWidth(9*ww);757 _outSamplSpinBox->setMaximumWidth(9*ww); 758 758 _outUPortLineEdit->setMaximumWidth(9*ww); 759 759 … … 764 764 sLayout->addWidget(_waitTimeSpinBox, 1, 3, Qt::AlignLeft); 765 765 sLayout->addWidget(new QLabel("Sampling"), 2, 0); 766 sLayout->addWidget(_ binSamplSpinBox, 2, 1, Qt::AlignLeft);766 sLayout->addWidget(_outSamplSpinBox, 2, 1, Qt::AlignLeft); 767 767 sLayout->addWidget(new QLabel("File (full path)"), 3, 0); 768 768 sLayout->addWidget(_outFileLineEdit, 3, 1, 1, 10); … … 1304 1304 _corrIntrComboBox->setWhatsThis(tr("<p>Select the length of the Broadcast Ephemeris Correction files.</p>")); 1305 1305 _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>")); 1307 1307 _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>")); 1308 1308 _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>")); … … 1754 1754 settings.setValue("outPort", _outPortLineEdit->text()); 1755 1755 settings.setValue("waitTime", _waitTimeSpinBox->value()); 1756 settings.setValue(" binSampl", _binSamplSpinBox->value());1756 settings.setValue("outSampl", _outSamplSpinBox->value()); 1757 1757 settings.setValue("outFile", _outFileLineEdit->text()); 1758 1758 settings.setValue("outUPort", _outUPortLineEdit->text()); … … 2067 2067 populateMountPointsTable(); 2068 2068 bncSettings settings; 2069 _ binSamplSpinBox->setValue(settings.value("binSampl").toInt());2069 _outSamplSpinBox->setValue(settings.value("outSampl").toInt()); 2070 2070 _waitTimeSpinBox->setValue(settings.value("waitTime").toInt()); 2071 2071 QListIterator<bncGetThread*> iTh(threads); … … 2271 2271 enable = !_outPortLineEdit->text().isEmpty() || !_outFileLineEdit->text().isEmpty(); 2272 2272 enableWidget(enable, _waitTimeSpinBox); 2273 enableWidget(enable, _ binSamplSpinBox);2273 enableWidget(enable, _outSamplSpinBox); 2274 2274 } 2275 2275
Note:
See TracChangeset
for help on using the changeset viewer.