- Timestamp:
- Sep 8, 2006, 9:04:02 AM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r134 r135 88 88 // ---------------------------------- 89 89 if (newTime <= _lastDumpSec) { 90 emit( newMessage("Old Epochs thrown away: " + staID) ); 90 91 delete obs; 91 92 return; … … 108 109 // Dump older epochs 109 110 // ----------------- 110 const long waitTime = 5;111 const long waitTime = 2; 111 112 dumpEpochs(_lastDumpSec + 1, newTime - waitTime); 112 113 _lastDumpSec = newTime - waitTime; -
trunk/BNC/bncwindow.cpp
r128 r135 92 92 _proxyPortLineEdit = new QLineEdit(settings.value("proxyPort").toString()); 93 93 _proxyPortLineEdit->setMaximumWidth(9*ww); 94 _timeOutLineEdit = new QLineEdit(settings.value("timeOut").toString()); 95 _timeOutLineEdit->setMaximumWidth(9*ww); 94 _waitTimeSpinBox = new QSpinBox(); 95 _waitTimeSpinBox->setMinimum(2); 96 _waitTimeSpinBox->setMaximum(30); 97 _waitTimeSpinBox->setSingleStep(1); 98 _waitTimeSpinBox->setSuffix(" sec"); 99 _waitTimeSpinBox->setMaximumWidth(9*ww); 100 _waitTimeSpinBox->setValue(settings.value("waitTime").toInt()); 96 101 _outFileLineEdit = new QLineEdit(settings.value("outFile").toString()); 97 102 _outPortLineEdit = new QLineEdit(settings.value("outPort").toString()); … … 115 120 _rnxSamplSpinBox->setMaximumWidth(9*ww); 116 121 _rnxSamplSpinBox->setValue(settings.value("rnxSampl").toInt()); 122 _rnxSamplSpinBox->setSuffix(" sec"); 117 123 _mountPointsTable = new QTableWidget(0,3); 118 124 _mountPointsTable->setMinimumWidth(60*ww); … … 167 173 layout->addWidget(new QLabel("Proxy port"), 0, 2); 168 174 layout->addWidget(_proxyPortLineEdit, 0, 3); 169 layout->addWidget(new QLabel(" timeout (sec)"),1, 1);170 layout->addWidget(_ timeOutLineEdit, 1, 2);175 layout->addWidget(new QLabel("Wait for full epoch"), 1, 1); 176 layout->addWidget(_waitTimeSpinBox, 1, 2); 171 177 layout->addWidget(new QLabel("ASCII output file (full path)"), 2, 1); 172 178 layout->addWidget(_outFileLineEdit, 2, 2, 1, 3); … … 180 186 layout->addWidget(_rnxIntrComboBox, 6, 2); 181 187 182 layout->addWidget(new QLabel("sampling (sec)"),6, 3);188 layout->addWidget(new QLabel("sampling"), 6, 3); 183 189 layout->addWidget(_rnxSamplSpinBox, 6, 4); 184 190 … … 289 295 settings.setValue("proxyHost", _proxyHostLineEdit->text()); 290 296 settings.setValue("proxyPort", _proxyPortLineEdit->text()); 291 settings.setValue(" timeOut", _timeOutLineEdit->text());297 settings.setValue("waitTime", _waitTimeSpinBox->value()); 292 298 settings.setValue("outFile", _outFileLineEdit->text()); 293 299 settings.setValue("outPort", _outPortLineEdit->text()); -
trunk/BNC/bncwindow.h
r111 r135 48 48 QLineEdit* _proxyHostLineEdit; 49 49 QLineEdit* _proxyPortLineEdit; 50 QLineEdit* _timeOutLineEdit;51 50 QLineEdit* _outFileLineEdit; 52 51 QLineEdit* _outPortLineEdit; … … 56 55 QComboBox* _rnxIntrComboBox; 57 56 QSpinBox* _rnxSamplSpinBox; 57 QSpinBox* _waitTimeSpinBox; 58 58 QTableWidget* _mountPointsTable; 59 59
Note:
See TracChangeset
for help on using the changeset viewer.