Changeset 1805 in ntrip for trunk/BNS


Ignore:
Timestamp:
Apr 20, 2009, 11:16:40 AM (15 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnshelp.html

    r1804 r1805  
    679679<tr><td>outFile_3=/home/weber/rinex/CLCK3</td><td>Broadcast Corrections III: Save (full path)</td></tr>
    680680<tr><td>beClocks3=0</td><td>Broadcast Corrections III: Broadcast clocks</td></tr>
     681<tr><td>outHostEph=www.igs-ip.net</td><td>Broadcast Ephemeris: Host</td></tr>
     682<tr><td>outPortEph=2101</td><td>Broadcast Ephemeris: Port</td></tr>
     683<tr><td>mountpoint_Eph=BRDC0</td><td>Broadcast Ephemeris: Mountpoint</td></tr>
     684<tr><td>passwordEph=pass</td><td>Broadcast Ephemeris: Password</td></tr>
     685<tr><td>samplEph=5</td><td>Broadcast Ephemeris: Sampling</td></tr>
    681686<tr><td>trafo_dx=0.0541</td><td>Broadcast Corrections: System > Custom</td></tr>
    682687<tr><td>trafo_dy=0.0502</td><td>Broadcast Corrections: System > Custom</td></tr>
  • trunk/BNS/bnssettings.cpp

    r1795 r1805  
    6666    setValue("mountpoint_Eph","");
    6767    setValue("passwordEph",   "");
     68    setValue("samplEph",      "5");
    6869
    6970    setValue("trafo_dx",    "0.0541");
  • trunk/BNS/bnswindow.cpp

    r1803 r1805  
    231231  _password_Eph_LineEdit->setEchoMode(QLineEdit::Password);
    232232  _mountpoint_Eph_LineEdit = new QLineEdit(settings.value("mountpoint_Eph").toString());
     233  _samplEphSpinBox = new QSpinBox;
     234  _samplEphSpinBox->setMinimum(0);
     235  _samplEphSpinBox->setMaximum(60);
     236  _samplEphSpinBox->setSingleStep(5);
     237  _samplEphSpinBox->setMaximumWidth(9*ww);
     238  _samplEphSpinBox->setValue(settings.value("samplEph").toInt());
     239  _samplEphSpinBox->setSuffix(" sec");
    233240
    234241  // RINEX Clocks Options
     
    301308  _mountpoint_Eph_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
    302309  _password_Eph_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster."));
     310  _samplEphSpinBox->setWhatsThis(tr("Select the Broadcast Ephemeris sampling interval in seconds. Defaut is '5' meaning that a complete set of Broadcast Ephemeris is uploaded every 5 seconds."));
    303311  _rnxPathLineEdit->setWhatsThis(tr("Specify the path for saving the generated clock corrections as Clock RINEX files. If the specified directory does not exist, BNS will not create Clock RINEX files."));
    304312  _rnxIntrComboBox->setWhatsThis(tr("Select the length of the Clock RINEX file."));
     
    594602  layout_casEph->addWidget(new QLabel("          Password"),    1, 2, Qt::AlignRight);
    595603  layout_casEph->addWidget(_password_Eph_LineEdit,              1, 3);
    596   layout_casEph->addWidget(new QLabel("Upload concatenated Broadcast Ephemeris in RTCMv3 format to caster."), 2, 0, 1, 50);
    597   layout_casEph->addWidget(new QLabel(""),                      3, 0);
     604  layout_casEph->addWidget(new QLabel("Sampling"),              2, 0);
     605  layout_casEph->addWidget(_samplEphSpinBox,                    2, 1);
     606  layout_casEph->addWidget(new QLabel("Upload concatenated RTCMv3 Broadcast Ephemeris caster."), 3, 0, 1, 50);
    598607
    599608  tab_casEph->setLayout(layout_casEph);
     
    604613    _mountpoint_Eph_LineEdit->setStyleSheet("background-color: lightGray");
    605614    _password_Eph_LineEdit->setStyleSheet("background-color: lightGray");
     615    _samplEphSpinBox->setStyleSheet("background-color: lightGray");
    606616    _outPort_Eph_LineEdit->setEnabled(false);
    607617    _mountpoint_Eph_LineEdit->setEnabled(false);
    608618    _password_Eph_LineEdit->setEnabled(false);
     619    _samplEphSpinBox->setEnabled(false);
    609620  }
    610621
     
    877888  settings.setValue("mountpoint_Eph",_mountpoint_Eph_LineEdit->text());
    878889  settings.setValue("passwordEph",   _password_Eph_LineEdit->text());
     890  settings.setValue("samplEph",      _samplEphSpinBox->value());
    879891
    880892  settings.setValue("rnxPath",     _rnxPathLineEdit->text());
     
    11521164      _mountpoint_Eph_LineEdit->setStyleSheet("background-color: white");
    11531165      _password_Eph_LineEdit->setStyleSheet("background-color: white");
     1166      _samplEphSpinBox->setStyleSheet("background-color: white");
    11541167      _outPort_Eph_LineEdit->setEnabled(true);
    11551168      _mountpoint_Eph_LineEdit->setEnabled(true);
    11561169      _password_Eph_LineEdit->setEnabled(true);
     1170      _samplEphSpinBox->setEnabled(true);
    11571171    } else {
    11581172      _outPort_Eph_LineEdit->setStyleSheet("background-color: lightGray");
    11591173      _mountpoint_Eph_LineEdit->setStyleSheet("background-color: lightGray");
    11601174      _password_Eph_LineEdit->setStyleSheet("background-color: lightGray");
     1175      _samplEphSpinBox->setStyleSheet("background-color: lightGray");
    11611176      _outPort_Eph_LineEdit->setEnabled(false);
    11621177      _mountpoint_Eph_LineEdit->setEnabled(false);
    11631178      _password_Eph_LineEdit->setEnabled(false);
     1179      _samplEphSpinBox->setEnabled(false);
    11641180    }
    11651181  }
  • trunk/BNS/bnswindow.h

    r1803 r1805  
    118118  QLineEdit* _mountpoint_Eph_LineEdit;
    119119  QLineEdit* _password_Eph_LineEdit;
     120  QSpinBox*  _samplEphSpinBox;
    120121
    121122  QLineEdit* _rnxPathLineEdit;
Note: See TracChangeset for help on using the changeset viewer.