Changeset 11075 in ntrip for trunk/BNC/src/bncwindow.cpp


Ignore:
Timestamp:
Oct 5, 2026, 6:39:54 PM (18 hours ago)
Author:
stuerze
Message:

ssr qc

File:
1 edited

Legend:

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

    r11066 r11075  
    298298  }
    299299  _corrPortLineEdit = new QLineEdit(settings.value("corrPort").toString());
    300   _ssrQcFileLineEdit = new QLineEdit(settings.value("ssrQcFile").toString());
     300  _ssrQcPathLineEdit = new QLineEdit(settings.value("ssrQcPath").toString());
     301  _ssrQcRefLineEdit = new QLineEdit(settings.value("ssrQcRef").toString().isEmpty() ? QString("CONSENSUS") : settings.value("ssrQcRef").toString());
     302  _ssrQcStreamsLineEdit = new QLineEdit(settings.value("ssrQcStreams").toString().isEmpty() ? QString("ALL") : settings.value("ssrQcStreams").toString());
    301303  _ssrQcIntrComboBox = new QComboBox();
    302304  _ssrQcIntrComboBox->setEditable(false);
    … …  
    309311    _ssrQcIntrComboBox->setCurrentIndex(_ssrQcIntrComboBox->findText("1 hour"));
    310312  }
    311   connect(_ssrQcFileLineEdit, SIGNAL(textChanged(const QString&)),
     313  connect(_ssrQcPathLineEdit, SIGNAL(textChanged(const QString&)),
    312314          this, SLOT(slotBncTextChanged()));
    313315
    … …  
    916918  cLayout->addWidget(new QLabel("Port"), 3, 0);
    917919  cLayout->addWidget(_corrPortLineEdit, 3, 1);
    918   cLayout->addWidget(new QLabel("QC Logfile"), 4, 0);
    919   cLayout->addWidget(_ssrQcFileLineEdit, 4, 1, 1, 30);
    920   cLayout->addWidget(new QLabel("QC Interval"), 5, 0);
    921   cLayout->addWidget(_ssrQcIntrComboBox, 5, 1);
    922   cLayout->addWidget(new QLabel(""), 6, 1);
     920  cLayout->addWidget(new QLabel("QC Directory"), 4, 0);
     921  cLayout->addWidget(_ssrQcPathLineEdit, 4, 1, 1, 30);
     922  cLayout->addWidget(new QLabel("QC Streams"), 5, 0);
     923  cLayout->addWidget(_ssrQcStreamsLineEdit, 5, 1, 1, 30);
     924  cLayout->addWidget(new QLabel("QC Reference"), 6, 0);
     925  cLayout->addWidget(_ssrQcRefLineEdit, 6, 1, 1, 30);
     926  cLayout->addWidget(new QLabel("QC Interval"), 7, 0);
     927  cLayout->addWidget(_ssrQcIntrComboBox, 7, 1);
     928  cLayout->addWidget(new QLabel(""), 8, 1);
    923929  cLayout->setRowStretch(7, 999);
    924930  cgroup->setLayout(cLayout);
    … …  
    15881594  _corrPathLineEdit->setWhatsThis(tr("<p>Specify a directory for saving Broadcast Ephemeris Correction files.</p><p>If the specified directory does not exist, BNC will not create the files. <i>[key: corrPath]</i></p>"));
    15891595  _corrIntrComboBox->setWhatsThis(tr("<p>Select the length of Broadcast Ephemeris Correction files. <i>[key: corrIntr]</i></p>"));
    1590   _ssrQcFileLineEdit->setWhatsThis(tr("<p>Specify the full path to a logfile for the quality control of all decoded Broadcast Correction streams: epochs, update intervals, gaps, latency, completeness, IODs, code biases of the reference signals, clock jumps and orbit correction size.</p><p>Default is an empty option field, meaning that no SSR QC is done. <i>[key: ssrQcFile]</i></p>"));
     1596  _ssrQcPathLineEdit->setWhatsThis(tr("<p>Specify a directory for the quality control of decoded Broadcast Correction streams: epochs, update intervals, gaps, latency, completeness, IODs, code and phase bias signals, code biases of the reference signals, clock jumps and orbit correction size. One daily file is written per stream.</p><p>Default is an empty option field, meaning that no SSR QC is done. <i>[key: ssrQcPath]</i></p>"));
     1597  _ssrQcRefLineEdit->setWhatsThis(tr("<p>Specify the reference for the comparison of the orbits and clocks of the checked streams: 'CONSENSUS' for the median of all other streams, or the name of a stream, e.g. 'INTERNAL' for the combination.</p><p>Default is 'CONSENSUS'. <i>[key: ssrQcRef]</i></p>"));
     1598  _ssrQcStreamsLineEdit->setWhatsThis(tr("<p>Specify the Broadcast Correction streams to be checked, as a comma separated list of stream names (e.g. SSRA00CNE1,SSRA00GMV0), or 'ALL' for all decoded streams.</p><p>Default is 'ALL'. <i>[key: ssrQcStreams]</i></p>"));
    15911599  _ssrQcIntrComboBox->setWhatsThis(tr("<p>Select the interval of the SSR QC reports. <i>[key: ssrQcIntr]</i></p>"));
    15921600  _corrPortLineEdit->setWhatsThis(tr("<p>BNC can produce Broadcast Ephemeris Corrections on your local host through an IP port.</p><p>Specify a port number here to activate this function. <i>[key: corrPort]</i></p>"));
    … …  
    18631871  delete _corrPathLineEdit;
    18641872  delete _corrIntrComboBox;
    1865   delete _ssrQcFileLineEdit;
     1873  delete _ssrQcPathLineEdit;
     1874  delete _ssrQcStreamsLineEdit;
     1875  delete _ssrQcRefLineEdit;
    18661876  delete _ssrQcIntrComboBox;
    18671877  delete _corrPortLineEdit;
    … …  
    23912401  settings.setValue("corrPath", _corrPathLineEdit->text());
    23922402  settings.setValue("corrIntr", _corrIntrComboBox->currentText());
    2393   settings.setValue("ssrQcFile", _ssrQcFileLineEdit->text());
     2403  settings.setValue("ssrQcPath", _ssrQcPathLineEdit->text());
     2404  settings.setValue("ssrQcStreams", _ssrQcStreamsLineEdit->text());
     2405  settings.setValue("ssrQcRef", _ssrQcRefLineEdit->text());
    23942406  settings.setValue("ssrQcIntr", _ssrQcIntrComboBox->currentText());
    23952407  settings.setValue("corrPort", _corrPortLineEdit->text());
    … …  
    29272939    enableWidget(enable, _corrIntrComboBox);
    29282940  }
    2929   if (sender() == 0 || sender() == _ssrQcFileLineEdit) {
    2930     enableWidget(!_ssrQcFileLineEdit->text().isEmpty(), _ssrQcIntrComboBox);
     2941  if (sender() == 0 || sender() == _ssrQcPathLineEdit) {
     2942    enableWidget(!_ssrQcPathLineEdit->text().isEmpty(), _ssrQcIntrComboBox);
     2943    enableWidget(!_ssrQcPathLineEdit->text().isEmpty(), _ssrQcStreamsLineEdit);
     2944    enableWidget(!_ssrQcPathLineEdit->text().isEmpty(), _ssrQcRefLineEdit);
    29312945  }
    29322946
Note: See TracChangeset for help on using the changeset viewer.