Changeset 7391 in ntrip


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

String waitTime changed to outWait

File:
1 edited

Legend:

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

    r7363 r7391  
    276276  // -------------------
    277277  _outPortLineEdit    = new QLineEdit(settings.value("outPort").toString());
    278   _waitTimeSpinBox   = new QSpinBox();
    279   _waitTimeSpinBox->setMinimum(1);
    280   _waitTimeSpinBox->setMaximum(30);
    281   _waitTimeSpinBox->setSingleStep(1);
    282   _waitTimeSpinBox->setSuffix(" sec");
    283   _waitTimeSpinBox->setValue(settings.value("waitTime").toInt());
     278  _outWaitSpinBox   = new QSpinBox();
     279  _outWaitSpinBox->setMinimum(1);
     280  _outWaitSpinBox->setMaximum(30);
     281  _outWaitSpinBox->setSingleStep(1);
     282  _outWaitSpinBox->setSuffix(" sec");
     283  _outWaitSpinBox->setValue(settings.value("outWait").toInt());
    284284  _outSamplSpinBox    = new QSpinBox();
    285285  _outSamplSpinBox->setMinimum(0);
     
    754754  sLayout->setColumnMinimumWidth(0,14*ww);
    755755  _outPortLineEdit->setMaximumWidth(9*ww);
    756   _waitTimeSpinBox->setMaximumWidth(9*ww);
     756  _outWaitSpinBox->setMaximumWidth(9*ww);
    757757  _outSamplSpinBox->setMaximumWidth(9*ww);
    758758  _outUPortLineEdit->setMaximumWidth(9*ww);
     
    762762  sLayout->addWidget(_outPortLineEdit,                              1, 1);
    763763  sLayout->addWidget(new QLabel("       Wait for full obs epoch"),  1, 2, Qt::AlignRight);
    764   sLayout->addWidget(_waitTimeSpinBox,                              1, 3, Qt::AlignLeft);
     764  sLayout->addWidget(_outWaitSpinBox,                              1, 3, Qt::AlignLeft);
    765765  sLayout->addWidget(new QLabel("Sampling"),                        2, 0);
    766766  sLayout->addWidget(_outSamplSpinBox,                              2, 1, Qt::AlignLeft);
     
    12841284  _sslCaCertPathLineEdit->setWhatsThis(tr("<p>Communication with an Ntrip broadcaster over SSL requires the exchange of client and/or server certificates. Specify the path to a directory where you save certificates on your system. Don't try communication via SSL if you are not sure wheter this is supported by the involved Ntrip broadcaster. Note that SSL communication is usually done over port 443.</p>"));
    12851285  _ignoreSslErrorsCheckBox->setWhatsThis(tr("<p>SSL communication may involve queries coming from the Ntrip broadcaster. Tick 'Ignore SSL authorization erros' if you don't want to be bothered with this.</p>"));
    1286   _waitTimeSpinBox->setWhatsThis(tr("<p>When feeding a real-time GNSS network engine waiting for synchronized input epoch by epoch, BNC drops whatever is received later than 'Wait for full obs epoch' seconds. A value of 3 to 5 seconds is recommended, depending on the latency of the incoming streams and the delay acceptable to your real-time GNSS network engine or products.</p>"));
     1286  _outWaitSpinBox->setWhatsThis(tr("<p>When feeding a real-time GNSS network engine waiting for synchronized input epoch by epoch, BNC drops whatever is received later than 'Wait for full obs epoch' seconds. A value of 3 to 5 seconds is recommended, depending on the latency of the incoming streams and the delay acceptable to your real-time GNSS network engine or products.</p>"));
    12871287  _outFileLineEdit->setWhatsThis(tr("Specify the full path to a file where synchronized observations are saved in plain ASCII format. Beware that the size of this file can rapidly increase depending on the number of incoming streams."));
    12881288  _outPortLineEdit->setWhatsThis(tr("BNC can produce synchronized observations in a plain ASCII format on your local host through an IP port. Specify a port number here to activate this function."));
     
    17531753// Feed Engine
    17541754  settings.setValue("outPort",     _outPortLineEdit->text());
    1755   settings.setValue("waitTime",    _waitTimeSpinBox->value());
     1755  settings.setValue("outWait",     _outWaitSpinBox->value());
    17561756  settings.setValue("outSampl",    _outSamplSpinBox->value());
    17571757  settings.setValue("outFile",     _outFileLineEdit->text());
     
    20682068  bncSettings settings;
    20692069  _outSamplSpinBox->setValue(settings.value("outSampl").toInt());
    2070   _waitTimeSpinBox->setValue(settings.value("waitTime").toInt());
     2070  _outWaitSpinBox->setValue(settings.value("outWait").toInt());
    20712071  QListIterator<bncGetThread*> iTh(threads);
    20722072  while (iTh.hasNext()) {
     
    22702270  if (sender() == 0 || sender() == _outPortLineEdit || sender() == _outFileLineEdit) {
    22712271    enable = !_outPortLineEdit->text().isEmpty() || !_outFileLineEdit->text().isEmpty();
    2272     enableWidget(enable, _waitTimeSpinBox);
     2272    enableWidget(enable, _outWaitSpinBox);
    22732273    enableWidget(enable, _outSamplSpinBox);
    22742274  }
Note: See TracChangeset for help on using the changeset viewer.