Changeset 135 in ntrip


Ignore:
Timestamp:
Sep 8, 2006, 9:04:02 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r134 r135  
    8888  // ----------------------------------
    8989  if (newTime <= _lastDumpSec) {
     90    emit( newMessage("Old Epochs thrown away: " + staID) );
    9091    delete obs;
    9192    return;
     
    108109  // Dump older epochs
    109110  // -----------------
    110   const long waitTime = 5;
     111  const long waitTime = 2;
    111112  dumpEpochs(_lastDumpSec + 1, newTime - waitTime);
    112113  _lastDumpSec = newTime - waitTime;
  • trunk/BNC/bncwindow.cpp

    r128 r135  
    9292  _proxyPortLineEdit  = new QLineEdit(settings.value("proxyPort").toString());
    9393  _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());
    96101  _outFileLineEdit    = new QLineEdit(settings.value("outFile").toString());
    97102  _outPortLineEdit    = new QLineEdit(settings.value("outPort").toString());
     
    115120  _rnxSamplSpinBox->setMaximumWidth(9*ww);
    116121  _rnxSamplSpinBox->setValue(settings.value("rnxSampl").toInt());
     122  _rnxSamplSpinBox->setSuffix(" sec");
    117123  _mountPointsTable   = new QTableWidget(0,3);
    118124  _mountPointsTable->setMinimumWidth(60*ww);
     
    167173  layout->addWidget(new QLabel("Proxy port"),                    0, 2);
    168174  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);
    171177  layout->addWidget(new QLabel("ASCII output file (full path)"), 2, 1);
    172178  layout->addWidget(_outFileLineEdit,                            2, 2, 1, 3);
     
    180186  layout->addWidget(_rnxIntrComboBox,                            6, 2);
    181187
    182   layout->addWidget(new QLabel("sampling (sec)"),                6, 3);
     188  layout->addWidget(new QLabel("sampling"),                      6, 3);
    183189  layout->addWidget(_rnxSamplSpinBox,                            6, 4);
    184190
     
    289295  settings.setValue("proxyHost",   _proxyHostLineEdit->text());
    290296  settings.setValue("proxyPort",   _proxyPortLineEdit->text());
    291   settings.setValue("timeOut",     _timeOutLineEdit->text());
     297  settings.setValue("waitTime",    _waitTimeSpinBox->value());
    292298  settings.setValue("outFile",     _outFileLineEdit->text());
    293299  settings.setValue("outPort",     _outPortLineEdit->text());
  • trunk/BNC/bncwindow.h

    r111 r135  
    4848    QLineEdit* _proxyHostLineEdit;
    4949    QLineEdit* _proxyPortLineEdit;
    50     QLineEdit* _timeOutLineEdit;
    5150    QLineEdit* _outFileLineEdit;
    5251    QLineEdit* _outPortLineEdit;
     
    5655    QComboBox* _rnxIntrComboBox;
    5756    QSpinBox*  _rnxSamplSpinBox;
     57    QSpinBox*  _waitTimeSpinBox;
    5858    QTableWidget* _mountPointsTable;
    5959
Note: See TracChangeset for help on using the changeset viewer.