Changeset 934 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
Jun 8, 2008, 4:33:04 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r919 r934  
    117117  _outEphPortLineEdit    = new QLineEdit(settings.value("outEphPort").toString());
    118118  _outEphPortLineEdit->setMaximumWidth(9*ww);
     119  _corrPortLineEdit    = new QLineEdit(settings.value("corrPort").toString());
     120  _corrPortLineEdit->setMaximumWidth(9*ww);
    119121  _rnxPathLineEdit    = new QLineEdit(settings.value("rnxPath").toString());
    120122  _ephPathLineEdit    = new QLineEdit(settings.value("ephPath").toString());
     123  _corrPathLineEdit    = new QLineEdit(settings.value("ephPath").toString());
    121124
    122125  _rnxV3CheckBox = new QCheckBox();
     
    145148  if (jj != -1) {
    146149    _ephIntrComboBox->setCurrentIndex(jj);
     150  }
     151  _corrIntrComboBox    = new QComboBox();
     152  _corrIntrComboBox->setMaximumWidth(9*ww);
     153  _corrIntrComboBox->setEditable(false);
     154  _corrIntrComboBox->addItems(QString("1 min,2 min,5 min,10 min,15 min,30 min,1 hour,1 day").split(","));
     155  int mm = _corrIntrComboBox->findText(settings.value("corrIntr").toString());
     156  if (mm != -1) {
     157    _corrIntrComboBox->setCurrentIndex(mm);
    147158  }
    148159  _rnxSamplSpinBox    = new QSpinBox();
     
    282293  _outPortLineEdit->setWhatsThis(tr("BNC can produce synchronized observations in binary format on your local host through an IP port. Specify a port number here to activate this function."));
    283294  _outEphPortLineEdit->setWhatsThis(tr("BNC can produce ephemeris data in RINEX ASCII format on your local host through an IP port. Specify a port number here to activate this function."));
     295  _corrPortLineEdit->setWhatsThis(tr("BNC can produce ephemeris corrections on your local host through an IP port. Specify a port number here to activate this function."));
    284296  _rnxPathLineEdit->setWhatsThis(tr("Here you specify the path to where the RINEX Observation files will be stored. If the specified directory does not exist, BNC will not create RINEX Observation files."));
    285297  _ephPathLineEdit->setWhatsThis(tr("Specify the path for saving Broadcast Ephemeris data as RINEX Navigation files. If the specified directory does not exist, BNC will not create RINEX Navigation files."));
     298  _corrPathLineEdit->setWhatsThis(tr("Specify the path for saving Broadcast Ephemeris corrections. If the specified directory does not exist, BNC will not create the files."));
    286299  _rnxScrpLineEdit->setWhatsThis(tr("<p>Whenever a RINEX Observation file is saved, you might want to compress, copy or upload it immediately via FTP. BNC allows you to execute a script/batch file to carry out these operations. To do that specify the full path of the script/batch file here. BNC will pass the full RINEX Observation file path to the script as a command line parameter (%1 on Windows systems, $1 onUnix/Linux systems).</p><p>The triggering event for calling the script or batch file is the end of a RINEX Observation file 'Interval'. If that is overridden by a stream outage, the triggering event is the stream reconnection.</p>"));
    287300  _rnxSkelLineEdit->setWhatsThis(tr("<p>Whenever BNC starts generating RINEX Observation files (and then once every day at midnight), it first tries to retrieve information needed for RINEX headers from so-called public RINEX header skeleton files which are derived from sitelogs. However, sometimes public RINEX header skeleton files are not available, its contents is not up to date, or you need to put additional/optional records in the RINEX header.</p><p>For that BNC allows using personal skeleton files that contain the header records you would like to include. You can derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the RINEX 'Directory' with the RINEX 'Skeleton extension' is interpreted by BNC as a personal RINEX header skeleton file for the corresponding stream.</p>"));
     
    289302  _rnxIntrComboBox->setWhatsThis(tr("<p>Select the length of the RINEX Observation file.</p>"));
    290303  _ephIntrComboBox->setWhatsThis(tr("<p>Select the length of the RINEX Navigation file.</p>"));
     304  _corrIntrComboBox->setWhatsThis(tr("<p>Select the length of the correction file.</p>"));
    291305  _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>"));
    292306  _binSamplSpinBox->setWhatsThis(tr("<p>Select the Observation sampling interval in seconds. A value of zero '0' tells BNC to send/store all received epochs.</p>"));
     
    314328  QWidget* egroup = new QWidget();
    315329  QWidget* agroup = new QWidget();
     330  QWidget* cgroup = new QWidget();
    316331  QWidget* ogroup = new QWidget();
    317332  aogroup->addTab(pgroup,tr("Proxy"));
     
    320335  aogroup->addTab(egroup,tr("RINEX Ephemeris"));
    321336  aogroup->addTab(sgroup,tr("Synchronized Observations"));
     337  aogroup->addTab(cgroup,tr("Ephemeris Corrections"));
    322338  aogroup->addTab(agroup,tr("Monitor"));
    323339
     
    415431  ogroup->setLayout(oLayout);
    416432 
     433  QGridLayout* cLayout = new QGridLayout;
     434  cLayout->setColumnMinimumWidth(0,12*ww);
     435  cLayout->addWidget(new QLabel("Directory"),                     0, 0);
     436  cLayout->addWidget(_corrPathLineEdit,                           0, 1);
     437  cLayout->addWidget(new QLabel("Interval"),                      1, 0);
     438  cLayout->addWidget(_corrIntrComboBox,                           1, 1);
     439  cLayout->addWidget(new QLabel("Port"),                          2, 0);
     440  cLayout->addWidget(_corrPortLineEdit,                           2, 1);
     441  cLayout->addWidget(new QLabel("Saving ephemeris correction files and correction output through IP port."),3,0,1,2,Qt::AlignLeft);
     442  cLayout->addWidget(new QLabel("    "),4,0);
     443  cgroup->setLayout(cLayout);
     444
    417445  QVBoxLayout* mLayout = new QVBoxLayout;
    418446  mLayout->addWidget(aogroup);
     
    555583  settings.setValue("outPort",     _outPortLineEdit->text());
    556584  settings.setValue("outEphPort",  _outEphPortLineEdit->text());
     585  settings.setValue("corrPort",    _corrPortLineEdit->text());
    557586  settings.setValue("rnxPath",     _rnxPathLineEdit->text());
    558587  settings.setValue("ephPath",     _ephPathLineEdit->text());
     588  settings.setValue("corrPath",    _corrPathLineEdit->text());
    559589  settings.setValue("rnxScript",   _rnxScrpLineEdit->text());
    560590  settings.setValue("rnxIntr",     _rnxIntrComboBox->currentText());
    561591  settings.setValue("ephIntr",     _ephIntrComboBox->currentText());
     592  settings.setValue("corrIntr",    _corrIntrComboBox->currentText());
    562593  settings.setValue("rnxSampl",    _rnxSamplSpinBox->value());
    563594  settings.setValue("binSampl",    _binSamplSpinBox->value());
Note: See TracChangeset for help on using the changeset viewer.