Changeset 7419 in ntrip


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

String perfIntr changed to miscIntr and string scanRTCM changed to miscScanRTCM

File:
1 edited

Legend:

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

    r7391 r7419  
    384384  _miscMountLineEdit  = new QLineEdit(settings.value("miscMount").toString());
    385385  _miscPortLineEdit   = new QLineEdit(settings.value("miscPort").toString());
    386   _perfIntrComboBox   = new QComboBox();
    387   _perfIntrComboBox->setEditable(false);
    388   _perfIntrComboBox->addItems(QString(",2 sec, 10 sec,1 min,5 min,15 min,1 hour,6 hours,1 day").split(","));
    389   int ll = _perfIntrComboBox->findText(settings.value("perfIntr").toString());
     386  _miscIntrComboBox   = new QComboBox();
     387  _miscIntrComboBox->setEditable(false);
     388  _miscIntrComboBox->addItems(QString(",2 sec, 10 sec,1 min,5 min,15 min,1 hour,6 hours,1 day").split(","));
     389  int ll = _miscIntrComboBox->findText(settings.value("miscIntr").toString());
    390390  if (ll != -1) {
    391     _perfIntrComboBox->setCurrentIndex(ll);
    392   }
    393   _scanRTCMCheckBox  = new QCheckBox();
    394   _scanRTCMCheckBox->setCheckState(Qt::CheckState(
    395                                     settings.value("scanRTCM").toInt()));
     391    _miscIntrComboBox->setCurrentIndex(ll);
     392  }
     393  _miscScanRTCMCheckBox  = new QCheckBox();
     394  _miscScanRTCMCheckBox->setCheckState(Qt::CheckState(
     395                                    settings.value("miscScanRTCM").toInt()));
    396396
    397397  connect(_miscMountLineEdit, SIGNAL(textChanged(const QString &)),
     
    841841  QGridLayout* rLayout = new QGridLayout;
    842842  rLayout->setColumnMinimumWidth(0,14*ww);
    843   _perfIntrComboBox->setMaximumWidth(9*ww);
     843  _miscIntrComboBox->setMaximumWidth(9*ww);
    844844  _miscPortLineEdit->setMaximumWidth(9*ww);
    845845
     
    848848  rLayout->addWidget(_miscMountLineEdit,                          1, 1, 1, 7);
    849849  rLayout->addWidget(new QLabel("Log latency"),                   2, 0);
    850   rLayout->addWidget(_perfIntrComboBox,                           2, 1);
     850  rLayout->addWidget(_miscIntrComboBox,                           2, 1);
    851851  rLayout->addWidget(new QLabel("Scan RTCM"),                     3, 0);
    852   rLayout->addWidget(_scanRTCMCheckBox,                           3, 1);
     852  rLayout->addWidget(_miscScanRTCMCheckBox,                       3, 1);
    853853  rLayout->addWidget(new QLabel("Port"),                          4, 0);
    854854  rLayout->addWidget(_miscPortLineEdit,                           4, 1);
     
    13101310  _logFileLineEdit->setWhatsThis(tr("<p>Records of BNC's activities are shown in the 'Log' tab on the bottom of this window. They can be saved into a file when a valid path is specified in the 'Logfile (full path)' field.</p><p>The logfile name will automatically be extended by a string '_YYMMDD' carrying the current date."));
    13111311  _adviseScriptLineEdit->setWhatsThis(tr("<p>Specify the full path to a script or batch file to handle advisory notes generated in the event of corrupted streams or stream outages. The affected mountpoint and one of the comments 'Begin_Outage', 'End_Outage', 'Begin_Corrupted', or 'End_Corrupted' are passed on to the script as command line parameters.</p><p>The script may have the task to send the advisory notes by email to BNC's operator and/or to the affected stream provider.</p><p>An empty option field (default) or invalid path means that you don't want to use this option.</p>"));
    1312   _perfIntrComboBox->setWhatsThis(tr("<p>BNC can average latencies per stream over a certain period of GPS time. The resulting mean latencies are recorded in the 'Log' tab at the end of each 'Log latency' interval together with results of a statistical evaluation (approximate number of covered epochs, data gaps).</p><p>Select a 'Log latency' interval or select the empty option field if you do not want BNC to log latencies and statistical information.</p>"));
     1312  _miscIntrComboBox->setWhatsThis(tr("<p>BNC can average latencies per stream over a certain period of GPS time. The resulting mean latencies are recorded in the 'Log' tab at the end of each 'Log latency' interval together with results of a statistical evaluation (approximate number of covered epochs, data gaps).</p><p>Select a 'Log latency' interval or select the empty option field if you do not want BNC to log latencies and statistical information.</p>"));
    13131313  _mountPointsTable->setWhatsThis(tr("<p>Streams selected for retrieval are listed in the 'Streams' section. Clicking on 'Add Stream' button will open a window that allows the user to select data streams from an Ntrip broadcaster according to their mountpoints. To remove a stream from the 'Streams' list, highlight it by clicking on it and hit the 'Delete Stream' button. You can also remove multiple streams by highlighting them using +Shift and +Ctrl.</p><p>BNC automatically allocates one of its internal decoders to a stream based on the stream's 'format' as given in the sourcetable. BNC allows users to change this selection by editing the decoder string. Double click on the 'decoder' field, enter your preferred decoder and then hit Enter. The accepted decoder strings are 'RTCM_2.x', 'RTCM_3.x' and 'RTNET'.</p><p>In case you need to log the raw data as is, BNC allows users to by-pass its decoders and directly save the input in daily log files. To do this specify the decoder string as 'ZERO'.</p><p>BNC can also retrieve streams from virtual reference stations (VRS). VRS streams are indicated by a 'yes' in the 'nmea' column. To initiate these streams, the approximate latitude/longitude rover position is sent to the Ntrip broadcaster together with an approximation for the height. The default values for latitude and longitude can be change according to your requirement. Double click on 'lat' and 'long' fields, enter the values you wish to send and then hit Enter.</p>"));
    13141314  _log->setWhatsThis(tr("Records of BNC's activities are shown in the 'Log' tab. The message log covers the communication status between BNC and the Ntrip broadcaster as well as any problems that occur in the communication link, stream availability, stream delay, stream conversion etc."));
     
    13241324  _miscMountLineEdit->setWhatsThis(tr("<p>Specify a mountpoint to apply any of the options shown below. Enter 'ALL' if you want to apply these options to all configured streams.</p><p>An empty option field (default) means that you don't want BNC to apply any of these options.</p>"));
    13251325  _miscPortLineEdit->setWhatsThis(tr("BNC can output an incoming stream through a TCP/IP port of your local host. Specify a port number here to activate this function."));
    1326   _scanRTCMCheckBox->setWhatsThis(tr("<p>Tick 'Scan RTCM' to log the numbers of incomming message types as well as contained antenna coordinates, antenna heigt, and antenna descriptor.</p><p>In case of RTCM Version 3 MSM streams, BNC will also log contained RINEX Version 3 observation types.</p>."));
     1326  _miscScanRTCMCheckBox->setWhatsThis(tr("<p>Tick 'Scan RTCM' to log the numbers of incomming message types as well as contained antenna coordinates, antenna heigt, and antenna descriptor.</p><p>In case of RTCM Version 3 MSM streams, BNC will also log contained RINEX Version 3 observation types.</p>."));
    13271327  _serialMountPointLineEdit->setWhatsThis(tr("<p>Enter a 'Mountpoint' to forward the corresponding stream to a serial connected receiver.</p><p>Depending on the stream contents the receiver may use it for Differential GNSS, Precise Point Positioning or any other purpose supported by the firmware.</p>"));
    13281328  _serialPortNameLineEdit->setWhatsThis(tr("<p>Enter the serial 'Port name' selected for communication with your serial connected receiver. Valid port names are</p><pre>Windows:       COM1, COM2<br>Linux:         /dev/ttyS0, /dev/ttyS1<br>FreeBSD:       /dev/ttyd0, /dev/ttyd1<br>Digital Unix:  /dev/tty01, /dev/tty02<br>HP-UX:         /dev/tty1p0, /dev/tty2p0<br>SGI/IRIX:      /dev/ttyf1, /dev/ttyf2<br>SunOS/Solaris: /dev/ttya, /dev/ttyb</pre><p>Note that you must plug a serial cable in the port defined here before you start BNC.</p>"));
     
    17771777  settings.setValue("miscMount",   _miscMountLineEdit->text());
    17781778  settings.setValue("miscPort",    _miscPortLineEdit->text());
    1779   settings.setValue("perfIntr",    _perfIntrComboBox->currentText());
    1780   settings.setValue("scanRTCM",    _scanRTCMCheckBox->checkState());
     1779  settings.setValue("miscIntr",    _miscIntrComboBox->currentText());
     1780  settings.setValue("miscScanRTCM", _miscScanRTCMCheckBox->checkState());
    17811781// Reqc
    17821782  settings.setValue("reqcAction",     _reqcActionComboBox->currentText());
     
    23062306  if (sender() == 0 || sender() == _miscMountLineEdit) {
    23072307    enable = !_miscMountLineEdit->text().isEmpty();
    2308     enableWidget(enable, _perfIntrComboBox);
    2309     enableWidget(enable, _scanRTCMCheckBox);
     2308    enableWidget(enable, _miscIntrComboBox);
     2309    enableWidget(enable, _miscScanRTCMCheckBox);
    23102310    enableWidget(enable, _miscPortLineEdit);
    23112311  }
Note: See TracChangeset for help on using the changeset viewer.