Changeset 10095 in ntrip
- Timestamp:
- Jun 16, 2023, 11:51:23 AM (15 months ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r10073 r10095 299 299 " uploadIntr {Length of SP3, Clock RINEX and Bias SINEX file interval [character string: 1 min|2 min|5 min|10 min|15 min|30 min|1 hour|1 day]}\n" 300 300 " uploadSamplRtcmEphCorr {Orbit corrections stream sampling rate [integer number of seconds: 0|5|10|15|20|25|30|35|40|45|50|55|60]}\n" 301 " uploadSamplSp3 {SP3 file sampling rate [integer number of minutes: 0-15]}\n"301 " uploadSamplSp3 {SP3 file sampling rate [integer number of seconds: 0 sec|30 sec|60 sec|300 sec|900 sec]}\n" 302 302 " uploadSamplClkRnx {Clock RINEX file sampling rate [integer number of seconds: 0|5|10|15|20|25|30|35|40|45|50|55|60]}\n" 303 303 " uploadSamplBiaSnx {SINEX Bias file sampling rate [integer number of seconds: 0|5|10|15|20|25|30|35|40|45|50|55|60]}\n" -
trunk/BNC/src/bncwindow.cpp
r10091 r10095 605 605 _uploadSamplRtcmEphCorrSpinBox->setSuffix(" sec"); 606 606 607 _uploadSamplSp3SpinBox = new QSpinBox; 608 _uploadSamplSp3SpinBox->setMinimum(0); 609 _uploadSamplSp3SpinBox->setMaximum(15); 610 _uploadSamplSp3SpinBox->setSingleStep(1); 611 _uploadSamplSp3SpinBox->setMaximumWidth(9*ww); 612 _uploadSamplSp3SpinBox->setValue(settings.value("uploadSamplSp3").toInt()); 613 _uploadSamplSp3SpinBox->setSuffix(" min"); 607 _uploadSamplSp3ComboBox = new QComboBox(); 608 _uploadSamplSp3ComboBox->addItems(QString("0 sec,30 sec,60 sec,300 sec,900 sec").split(",")); 609 int oo = _uploadSamplSp3ComboBox->findText(settings.value("uploadSamplSp3").toString()); 610 if (oo != -1) { 611 _uploadSamplSp3ComboBox->setCurrentIndex(nn); 612 } 614 613 615 614 _uploadSamplClkRnxSpinBox = new QSpinBox; … … 633 632 enableWidget(true, _uploadIntrComboBox); 634 633 enableWidget(true, _uploadSamplRtcmEphCorrSpinBox); 635 enableWidget(true, _uploadSamplSp3 SpinBox);634 enableWidget(true, _uploadSamplSp3ComboBox); 636 635 enableWidget(true, _uploadSamplClkRnxSpinBox); 637 636 enableWidget(true, _uploadSamplBiaSnxSpinBox); … … 641 640 enableWidget(false, _uploadIntrComboBox); 642 641 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 643 enableWidget(false, _uploadSamplSp3 SpinBox);642 enableWidget(false, _uploadSamplSp3ComboBox); 644 643 enableWidget(false, _uploadSamplClkRnxSpinBox); 645 644 enableWidget(true, _uploadSamplBiaSnxSpinBox); … … 1319 1318 uploadHlpLayout->addWidget(_uploadSamplRtcmEphCorrSpinBox, 0, 5); 1320 1319 uploadHlpLayout->addWidget(new QLabel("SP3"), 0, 6, Qt::AlignRight); 1321 uploadHlpLayout->addWidget(_uploadSamplSp3 SpinBox,0, 7);1320 uploadHlpLayout->addWidget(_uploadSamplSp3ComboBox, 0, 7); 1322 1321 uploadHlpLayout->addWidget(new QLabel("RNX"), 0, 8, Qt::AlignRight); 1323 1322 uploadHlpLayout->addWidget(_uploadSamplClkRnxSpinBox, 0, 9); … … 1532 1531 _uploadIntrComboBox->setWhatsThis(tr("<p>Select the length of the SP3, Clock RINEX and Bias SINEX files. <i>[key: uploadIntr]</i></p>")); 1533 1532 _uploadSamplRtcmEphCorrSpinBox->setWhatsThis(tr("<p>Select a stream's orbit correction sampling interval in seconds.</p><p>A value of zero '0' tells BNC to upload all available orbit and clock correction samples together in combined messages. <i>[key: uploadSamplRtcmEphCorr]</i></p>")); 1534 _uploadSamplSp3 SpinBox->setWhatsThis(tr("<p>Select a SP3 orbit file sampling interval in minutes.</p><p>A value of zero '0' tells BNC to store all available samples into SP3 orbit files. <i>[key: uploadSamplSp3]</i></p>"));1533 _uploadSamplSp3ComboBox->setWhatsThis(tr("<p>Select a SP3 orbit file sampling interval in seconds.</p><p>A value of zero '0' tells BNC to store all available samples into SP3 orbit files. <i>[key: uploadSamplSp3]</i></p>")); 1535 1534 _uploadSamplClkRnxSpinBox->setWhatsThis(tr("<p>Select a Clock RINEX file sampling interval in seconds.</p><p>A value of zero '0' tells BNC to store all available samples into Clock RINEX files. <i>[key: uploadSamplClkRnx]</i></p>")); 1536 1535 _uploadSamplBiaSnxSpinBox->setWhatsThis(tr("<p>Select a Bias SINEX file sampling interval in seconds.</p><p>A value of zero '0' tells BNC to store all available samples into Bias SINEX files. <i>[key: uploadSamplBiaSnx]</i></p>")); … … 1670 1669 delete _uploadAntexFile; 1671 1670 delete _uploadSamplRtcmEphSpinBox; 1672 delete _uploadSamplSp3 SpinBox;1671 delete _uploadSamplSp3ComboBox; 1673 1672 delete _uploadSamplClkRnxSpinBox; 1674 1673 delete _uploadSamplBiaSnxSpinBox; … … 2163 2162 settings.setValue("uploadIntr", _uploadIntrComboBox->currentText()); 2164 2163 settings.setValue("uploadSamplRtcmEphCorr", _uploadSamplRtcmEphCorrSpinBox->value()); 2165 settings.setValue("uploadSamplSp3", _uploadSamplSp3 SpinBox->value());2164 settings.setValue("uploadSamplSp3", _uploadSamplSp3ComboBox->currentText()); 2166 2165 settings.setValue("uploadSamplClkRnx", _uploadSamplClkRnxSpinBox->value()); 2167 2166 settings.setValue("uploadSamplBiaSnx", _uploadSamplBiaSnxSpinBox->value()); … … 2702 2701 enableWidget(true, _uploadSamplClkRnxSpinBox); 2703 2702 enableWidget(true, _uploadSamplBiaSnxSpinBox); 2704 enableWidget(true, _uploadSamplSp3 SpinBox);2703 enableWidget(true, _uploadSamplSp3ComboBox); 2705 2704 enableWidget(true, _uploadAntexFile); 2706 2705 } … … 2710 2709 enableWidget(false, _uploadSamplClkRnxSpinBox); 2711 2710 enableWidget(false, _uploadSamplBiaSnxSpinBox); 2712 enableWidget(false, _uploadSamplSp3 SpinBox);2711 enableWidget(false, _uploadSamplSp3ComboBox); 2713 2712 enableWidget(false, _uploadAntexFile); 2714 2713 } … … 2899 2898 enableWidget(false, _uploadIntrComboBox); 2900 2899 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 2901 enableWidget(false, _uploadSamplSp3 SpinBox);2900 enableWidget(false, _uploadSamplSp3ComboBox); 2902 2901 enableWidget(false, _uploadSamplClkRnxSpinBox); 2903 2902 enableWidget(false, _uploadAntexFile); -
trunk/BNC/src/bncwindow.h
r10091 r10095 232 232 QComboBox* _uploadIntrComboBox; 233 233 QSpinBox* _uploadSamplRtcmEphCorrSpinBox; 234 Q SpinBox* _uploadSamplSp3SpinBox;234 QComboBox* _uploadSamplSp3ComboBox; 235 235 QSpinBox* _uploadSamplClkRnxSpinBox; 236 236 QSpinBox* _uploadSamplBiaSnxSpinBox; -
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r10024 r10095 92 92 } 93 93 int samplClkRnx = settings.value("uploadSamplClkRnx").toInt(); 94 int samplSp3 = settings.value("uploadSamplSp3").to Int() * 60;94 int samplSp3 = settings.value("uploadSamplSp3").toString().split("sec").first().toInt(); 95 95 int samplBiaSnx = settings.value("uploadSamplBiaSnx").toInt(); 96 96
Note:
See TracChangeset
for help on using the changeset viewer.