- Timestamp:
- Feb 24, 2010, 1:26:50 PM (15 years ago)
- Location:
- trunk/BNS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r2315 r2327 658 658 _t0 = 2000.0; 659 659 } 660 else if (trafo == "NAD83") { 661 _dx = 0.9956; 662 _dy = -1.9013; 663 _dz = -0.5215; 664 _dxr = 0.0007; 665 _dyr = -0.0007; 666 _dzr = 0.0005; 667 _ox = 25.915; 668 _oy = 9.426; 669 _oz = 11.599; 670 _oxr = 0.067; 671 _oyr = -0.757; 672 _ozr = -0.051; 673 _sc = 0.62; 674 _scr = -0.18; 675 _t0 = 1997.0; 676 } 660 677 else if (trafo == "Custom") { 661 678 _dx = settings.value("trafo_dx").toDouble(); -
trunk/BNS/bnshelp.html
r2321 r2327 338 338 <li>IGS05 which stands for the GNSS-based IGS realization of the International Terrestrial Reference Frame 2005 (ITRF2005), and</li> 339 339 <li>ETRF2000 which stands for the European Terestrial Reference Frame 2000 adopted by EUREF, and</li> 340 <li>NAD83 which stands for the North American Datum 1983 as adopted for the U.S.A., and</li> 340 341 <li>'Custom' which allows a transformation of Broadcast Corrections from the IGS05 system to any other system through specifying up to 14 Helmert Transformation Parameters.</li> 341 342 </ul> … … 345 346 <u>IGS05:</u> As the clocks and orbits coming from real-time GNSS engine are expected to be in the IGS05 system, no transformation is carried out if this option is selected. 346 347 </p> 348 347 349 <p> 348 350 <u>ETRF2000:</u> The formulars for the transformation 'ITRF2005->ETRF2000' are taken from 'Claude Boucher and Zuheir Altamimi 2008: Specifications for reference frame fixing in the analysis of EUREF GPS campaign', see <u>http://etrs89.ensg.ign.fr/memo-V7.pdf</u>. The following 14 Helmert Transformation Parameters were introduced: … … 367 369 </pre> 368 370 </p> 371 372 <p> 373 <u>NAD83:</u>Parameters for the transformation 'ITRF2005->NAD83' are taken from <u> http://www.ngs.noaa.gov/CORS/metadata1/</u>, see section 'ITRF00 --> NAD83 (CORS96)'. 374 </p> 375 <p> 376 <pre> 377 Translation in X at epoch To: 0.9956 m 378 Translation in Y at epoch To: -1.9013 m 379 Translation in Z at epoch To: -0.5215 m 380 Translation rate in X: 0.0007 m/y 381 Translation rate in Y: -0.0007 m/y 382 Translation rate in Z: 0.0005 m/y 383 Rotation in X at epoch To: 25.915 mas 384 Rotation in Y at epoch To: 9.426 mas 385 Rotation in Z at epoch To: 11.599 mas 386 Rotation rate in X: 0.067 mas/y 387 Rotation rate in Y: -0.757 mas/y 388 Rotation rate in Z: -0.051 mas/y 389 Scale at epoch To : 0.00000000062 390 Scale rate: -0.00000000018 /y 391 To: 1997.0 392 </pre> 393 </p> 394 395 369 396 <p> 370 397 <u>Custom:</u> The default numbers shown as examples are those for a transformation from ITRF2005 to ETRF2000'. … … 672 699 <tr><td>outFile_2=/home/weber/rinex/CLCK2</td><td>Broadcast Corrections II: Save (full path)</td></tr> 673 700 <tr><td>CoM_2=0</td><td>Broadcast Corrections II: Center of Mass</td></tr> 701 674 702 <tr><td>outHost3=www.igs-.net</td><td>Broadcast Corrections III: Host</td></tr> 675 703 <tr><td>outPort3=2101</td><td>Broadcast Corrections III: Port</td></tr> … … 679 707 <tr><td>outFile_3=/home/weber/rinex/CLCK3</td><td>Broadcast Corrections III: Save (full path)</td></tr> 680 708 <tr><td>CoM_3=0</td><td>Broadcast Corrections III: Center of Mass</td></tr> 709 710 <tr><td>outHost4=www.igs-.net</td><td>Broadcast Corrections IV: Host</td></tr> 711 <tr><td>outPort4=2101</td><td>Broadcast Corrections IV: Port</td></tr> 712 <tr><td>mountpoint_4=CLCK4</td><td>Broadcast Corrections IV: Mountpoint</td></tr> 713 <tr><td>password4=pw</td><td>Broadcast Corrections IV: Password</td></tr> 714 <tr><td>refSys_4=ETRF2000</td><td>Broadcast Corrections IV: System</td></tr> 715 <tr><td>outFile_4=/home/weber/rinex/CLCK4</td><td>Broadcast Corrections IV: Save (full path)</td></tr> 716 <tr><td>CoM_4=0</td><td>Broadcast Corrections IV: Center of Mass</td></tr> 717 718 <tr><td>outHost5=www.igs-.net</td><td>Broadcast Corrections V: Host</td></tr> 719 <tr><td>outPort5=2101</td><td>Broadcast Corrections V: Port</td></tr> 720 <tr><td>mountpoint_5=CLCK5</td><td>Broadcast Corrections V: Mountpoint</td></tr> 721 <tr><td>password5=pw</td><td>Broadcast Corrections V: Password</td></tr> 722 <tr><td>refSys_5=ETRF2000</td><td>Broadcast Corrections V: System</td></tr> 723 <tr><td>outFile_5=/home/weber/rinex/CLCK5</td><td>Broadcast Corrections V: Save (full path)</td></tr> 724 <tr><td>CoM_5=0</td><td>Broadcast Corrections V: Center of Mass</td></tr> 725 726 <tr><td>outHost6=www.igs-.net</td><td>Broadcast Corrections VI: Host</td></tr> 727 <tr><td>outPort6=2101</td><td>Broadcast Corrections VI: Port</td></tr> 728 <tr><td>mountpoint_6=CLCK6</td><td>Broadcast Corrections VI: Mountpoint</td></tr> 729 <tr><td>password6=pw</td><td>Broadcast Corrections VI: Password</td></tr> 730 <tr><td>refSys_6=ETRF2000</td><td>Broadcast Corrections VI: System</td></tr> 731 <tr><td>outFile_6=/home/weber/rinex/CLCK6</td><td>Broadcast Corrections VI: Save (full path)</td></tr> 732 <tr><td>CoM_6=0</td><td>Broadcast Corrections VI: Center of Mass</td></tr> 733 681 734 <tr><td>outHostEph=www.igs-ip.net</td><td>Broadcast Ephemeris: Host</td></tr> 682 735 <tr><td>outPortEph=2101</td><td>Broadcast Ephemeris: Port</td></tr> -
trunk/BNS/bnssettings.cpp
r2102 r2327 62 62 setValue("outFile_3", ""); 63 63 64 setValue("outHost4", ""); 65 setValue("outPort4", ""); 66 setValue("mountpoint_4",""); 67 setValue("password4", ""); 68 setValue("refSys_4", "IGS05"); 69 setValue("CoM_4", "0"); 70 setValue("outFile_4", ""); 71 72 setValue("outHost5", ""); 73 setValue("outPort5", ""); 74 setValue("mountpoint_5",""); 75 setValue("password5", ""); 76 setValue("refSys_5", "IGS05"); 77 setValue("CoM_5", "0"); 78 setValue("outFile_5", ""); 79 80 setValue("outHost6", ""); 81 setValue("outPort6", ""); 82 setValue("mountpoint_6",""); 83 setValue("password6", ""); 84 setValue("refSys_6", "IGS05"); 85 setValue("CoM_6", "0"); 86 setValue("outFile_6", ""); 87 64 88 setValue("outHostEph", ""); 65 89 setValue("outPortEph", ""); -
trunk/BNS/bnswindow.cpp
r2138 r2327 177 177 _refSys_1_ComboBox = new QComboBox; 178 178 _refSys_1_ComboBox->setEditable(false); 179 _refSys_1_ComboBox->addItems(QString("IGS05,ETRF2000, Custom").split(","));179 _refSys_1_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,Custom").split(",")); 180 180 int ii = _refSys_1_ComboBox->findText(settings.value("refSys_1").toString()); 181 181 if (ii != -1) { … … 195 195 _refSys_2_ComboBox = new QComboBox; 196 196 _refSys_2_ComboBox->setEditable(false); 197 _refSys_2_ComboBox->addItems(QString("IGS05,ETRF2000, Custom").split(","));197 _refSys_2_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,Custom").split(",")); 198 198 ii = _refSys_2_ComboBox->findText(settings.value("refSys_2").toString()); 199 199 if (ii != -1) { … … 213 213 _refSys_3_ComboBox = new QComboBox; 214 214 _refSys_3_ComboBox->setEditable(false); 215 _refSys_3_ComboBox->addItems(QString("IGS05,ETRF2000, Custom").split(","));215 _refSys_3_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,Custom").split(",")); 216 216 ii = _refSys_3_ComboBox->findText(settings.value("refSys_3").toString()); 217 217 if (ii != -1) { … … 221 221 _CoM_3_CheckBox = new QCheckBox(); 222 222 _CoM_3_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_3").toInt())); 223 224 // Broadcast Corrections IV Options 225 // -------------------------------- 226 _outHost_4_LineEdit = new QLineEdit(settings.value("outHost4").toString()); 227 _outPort_4_LineEdit = new QLineEdit(settings.value("outPort4").toString()); 228 _password_4_LineEdit = new QLineEdit(settings.value("password4").toString()); 229 _password_4_LineEdit->setEchoMode(QLineEdit::Password); 230 _mountpoint_4_LineEdit = new QLineEdit(settings.value("mountpoint_4").toString()); 231 _refSys_4_ComboBox = new QComboBox; 232 _refSys_4_ComboBox->setEditable(false); 233 _refSys_4_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,Custom").split(",")); 234 ii = _refSys_4_ComboBox->findText(settings.value("refSys_4").toString()); 235 if (ii != -1) { 236 _refSys_4_ComboBox->setCurrentIndex(ii); 237 } 238 _outFile_4_LineEdit = new QLineEdit(settings.value("outFile_4").toString()); 239 _CoM_4_CheckBox = new QCheckBox(); 240 _CoM_4_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_4").toInt())); 241 242 // Broadcast Corrections V Options 243 // ------------------------------- 244 _outHost_5_LineEdit = new QLineEdit(settings.value("outHost5").toString()); 245 _outPort_5_LineEdit = new QLineEdit(settings.value("outPort5").toString()); 246 _password_5_LineEdit = new QLineEdit(settings.value("password5").toString()); 247 _password_5_LineEdit->setEchoMode(QLineEdit::Password); 248 _mountpoint_5_LineEdit = new QLineEdit(settings.value("mountpoint_5").toString()); 249 _refSys_5_ComboBox = new QComboBox; 250 _refSys_5_ComboBox->setEditable(false); 251 _refSys_5_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,Custom").split(",")); 252 ii = _refSys_5_ComboBox->findText(settings.value("refSys_5").toString()); 253 if (ii != -1) { 254 _refSys_5_ComboBox->setCurrentIndex(ii); 255 } 256 _outFile_5_LineEdit = new QLineEdit(settings.value("outFile_5").toString()); 257 _CoM_5_CheckBox = new QCheckBox(); 258 _CoM_5_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_5").toInt())); 259 260 // Broadcast Corrections VI Options 261 // -------------------------------- 262 _outHost_6_LineEdit = new QLineEdit(settings.value("outHost6").toString()); 263 _outPort_6_LineEdit = new QLineEdit(settings.value("outPort6").toString()); 264 _password_6_LineEdit = new QLineEdit(settings.value("password6").toString()); 265 _password_6_LineEdit->setEchoMode(QLineEdit::Password); 266 _mountpoint_6_LineEdit = new QLineEdit(settings.value("mountpoint_6").toString()); 267 _refSys_6_ComboBox = new QComboBox; 268 _refSys_6_ComboBox->setEditable(false); 269 _refSys_6_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,Custom").split(",")); 270 ii = _refSys_6_ComboBox->findText(settings.value("refSys_6").toString()); 271 if (ii != -1) { 272 _refSys_6_ComboBox->setCurrentIndex(ii); 273 } 274 _outFile_6_LineEdit = new QLineEdit(settings.value("outFile_6").toString()); 275 _CoM_6_CheckBox = new QCheckBox(); 276 _CoM_6_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_6").toInt())); 223 277 224 278 // Broadcast Ephemerides … … 284 338 _ephEchoLineEdit->setWhatsThis(tr("Specify the full path to a file where incoming Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that incoming Broadcast Ephemeris are not saved.")); 285 339 _clkPortLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in SP3 format from an IP port. Specify a local IP port e.g. for an RTNet installation to provide this information.")); 340 286 341 _outHost_1_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit corrections to Broadcast Ephemeris in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections.")); 287 342 _outPort_1_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); … … 290 345 _refSys_1_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections.")); 291 346 _outFile_1_LineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved.")); 347 292 348 _outHost_2_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit corrections to Broadcast Ephemeris in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections.")); 293 349 _outPort_2_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); … … 296 352 _refSys_2_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections.")); 297 353 _outFile_2_LineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved.")); 354 298 355 _outHost_3_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit corrections to Broadcast Ephemeris in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections.")); 299 356 _outPort_3_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); … … 302 359 _refSys_3_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections.")); 303 360 _outFile_3_LineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved.")); 361 362 _outHost_4_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit corrections to Broadcast Ephemeris in RTCM Version 4 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections.")); 363 _outPort_4_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); 364 _mountpoint_4_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster.")); 365 _password_4_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster.")); 366 _refSys_4_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections.")); 367 _outFile_4_LineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved.")); 368 369 _outHost_5_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit corrections to Broadcast Ephemeris in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections.")); 370 _outPort_5_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); 371 _mountpoint_5_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster.")); 372 _password_5_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster.")); 373 _refSys_5_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections.")); 374 _outFile_5_LineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved.")); 375 376 _outHost_6_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit corrections to Broadcast Ephemeris in RTCM Version 6 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections.")); 377 _outPort_6_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); 378 _mountpoint_6_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster.")); 379 _password_6_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster.")); 380 _refSys_6_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections.")); 381 _outFile_6_LineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved.")); 382 304 383 _outHost_Eph_LineEdit->setWhatsThis(tr("BNS can upload a Broadcast Ephemeris stream in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload Broadcast Ephemeris.")); 305 384 _outPort_Eph_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80.")); … … 528 607 this, SLOT(slotBnsTextChanged())); 529 608 609 // Broadcast Corrections IV Tab 610 // ---------------------------- 611 QWidget* tab_cas4 = new QWidget(); 612 tabs->addTab(tab_cas4, "Broadcast Corrections IV"); 613 614 QGridLayout* layout_cas4 = new QGridLayout; 615 616 layout_cas4->setColumnMinimumWidth(0, 9*ww); 617 _outPort_4_LineEdit->setMaximumWidth(9*ww); 618 _password_4_LineEdit->setMaximumWidth(9*ww); 619 _mountpoint_4_LineEdit->setMaximumWidth(12*ww); 620 _refSys_4_ComboBox->setMaximumWidth(12*ww); 621 622 layout_cas4->addWidget(new QLabel("Host"), 0, 0); 623 layout_cas4->addWidget(_outHost_4_LineEdit, 0, 1, 1, 3); 624 layout_cas4->addWidget(new QLabel(" Port"), 0, 4, Qt::AlignRight); 625 layout_cas4->addWidget(_outPort_4_LineEdit, 0, 5, 1, 10); 626 layout_cas4->addWidget(new QLabel("Mountpoint"), 1, 0); 627 layout_cas4->addWidget(_mountpoint_4_LineEdit, 1, 1); 628 layout_cas4->addWidget(new QLabel("Password"), 1, 2, Qt::AlignRight); 629 layout_cas4->addWidget(_password_4_LineEdit, 1, 3); 630 layout_cas4->addWidget(new QLabel(" "), 1, 4); 631 layout_cas4->addWidget(new QLabel(" "), 1, 5); 632 layout_cas4->addWidget(new QLabel("System"), 2, 0); 633 layout_cas4->addWidget(_refSys_4_ComboBox, 2, 1); 634 layout_cas4->addWidget(new QLabel(" Save (full path)"), 2, 2, Qt::AlignRight); 635 layout_cas4->addWidget(_outFile_4_LineEdit, 2, 3, 1, 30); 636 layout_cas4->addWidget(new QLabel("Center of Mass"), 3, 0); 637 layout_cas4->addWidget(_CoM_4_CheckBox, 3, 1); 638 layout_cas4->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50); 639 640 tab_cas4->setLayout(layout_cas4); 641 642 connect(_refSys_4_ComboBox, SIGNAL(currentIndexChanged(const QString &)), 643 this, SLOT(customTrafo(const QString))); 644 645 connect(_outHost_4_LineEdit, SIGNAL(textChanged(const QString &)), 646 this, SLOT(slotBnsTextChanged())); 647 648 // Broadcast Corrections V Tab 649 // --------------------------- 650 QWidget* tab_cas5 = new QWidget(); 651 tabs->addTab(tab_cas5, "Broadcast Corrections V"); 652 653 QGridLayout* layout_cas5 = new QGridLayout; 654 655 layout_cas5->setColumnMinimumWidth(0, 9*ww); 656 _outPort_5_LineEdit->setMaximumWidth(9*ww); 657 _password_5_LineEdit->setMaximumWidth(9*ww); 658 _mountpoint_5_LineEdit->setMaximumWidth(12*ww); 659 _refSys_5_ComboBox->setMaximumWidth(12*ww); 660 661 layout_cas5->addWidget(new QLabel("Host"), 0, 0); 662 layout_cas5->addWidget(_outHost_5_LineEdit, 0, 1, 1, 3); 663 layout_cas5->addWidget(new QLabel(" Port"), 0, 4, Qt::AlignRight); 664 layout_cas5->addWidget(_outPort_5_LineEdit, 0, 5, 1, 10); 665 layout_cas5->addWidget(new QLabel("Mountpoint"), 1, 0); 666 layout_cas5->addWidget(_mountpoint_5_LineEdit, 1, 1); 667 layout_cas5->addWidget(new QLabel("Password"), 1, 2, Qt::AlignRight); 668 layout_cas5->addWidget(_password_5_LineEdit, 1, 3); 669 layout_cas5->addWidget(new QLabel(" "), 1, 4); 670 layout_cas5->addWidget(new QLabel(" "), 1, 5); 671 layout_cas5->addWidget(new QLabel("System"), 2, 0); 672 layout_cas5->addWidget(_refSys_5_ComboBox, 2, 1); 673 layout_cas5->addWidget(new QLabel(" Save (full path)"), 2, 2, Qt::AlignRight); 674 layout_cas5->addWidget(_outFile_5_LineEdit, 2, 3, 1, 30); 675 layout_cas5->addWidget(new QLabel("Center of Mass"), 3, 0); 676 layout_cas5->addWidget(_CoM_5_CheckBox, 3, 1); 677 layout_cas5->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50); 678 679 tab_cas5->setLayout(layout_cas5); 680 681 connect(_refSys_5_ComboBox, SIGNAL(currentIndexChanged(const QString &)), 682 this, SLOT(customTrafo(const QString))); 683 684 connect(_outHost_5_LineEdit, SIGNAL(textChanged(const QString &)), 685 this, SLOT(slotBnsTextChanged())); 686 687 // Broadcast Corrections VI Tab 688 // ---------------------------- 689 QWidget* tab_cas6 = new QWidget(); 690 tabs->addTab(tab_cas6, "Broadcast Corrections VI"); 691 692 QGridLayout* layout_cas6 = new QGridLayout; 693 694 layout_cas6->setColumnMinimumWidth(0, 9*ww); 695 _outPort_6_LineEdit->setMaximumWidth(9*ww); 696 _password_6_LineEdit->setMaximumWidth(9*ww); 697 _mountpoint_6_LineEdit->setMaximumWidth(12*ww); 698 _refSys_6_ComboBox->setMaximumWidth(12*ww); 699 700 layout_cas6->addWidget(new QLabel("Host"), 0, 0); 701 layout_cas6->addWidget(_outHost_6_LineEdit, 0, 1, 1, 3); 702 layout_cas6->addWidget(new QLabel(" Port"), 0, 4, Qt::AlignRight); 703 layout_cas6->addWidget(_outPort_6_LineEdit, 0, 5, 1, 10); 704 layout_cas6->addWidget(new QLabel("Mountpoint"), 1, 0); 705 layout_cas6->addWidget(_mountpoint_6_LineEdit, 1, 1); 706 layout_cas6->addWidget(new QLabel("Password"), 1, 2, Qt::AlignRight); 707 layout_cas6->addWidget(_password_6_LineEdit, 1, 3); 708 layout_cas6->addWidget(new QLabel(" "), 1, 4); 709 layout_cas6->addWidget(new QLabel(" "), 1, 5); 710 layout_cas6->addWidget(new QLabel("System"), 2, 0); 711 layout_cas6->addWidget(_refSys_6_ComboBox, 2, 1); 712 layout_cas6->addWidget(new QLabel(" Save (full path)"), 2, 2, Qt::AlignRight); 713 layout_cas6->addWidget(_outFile_6_LineEdit, 2, 3, 1, 30); 714 layout_cas6->addWidget(new QLabel("Center of Mass"), 3, 0); 715 layout_cas6->addWidget(_CoM_6_CheckBox, 3, 1); 716 layout_cas6->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50); 717 718 tab_cas6->setLayout(layout_cas6); 719 720 connect(_refSys_6_ComboBox, SIGNAL(currentIndexChanged(const QString &)), 721 this, SLOT(customTrafo(const QString))); 722 723 connect(_outHost_6_LineEdit, SIGNAL(textChanged(const QString &)), 724 this, SLOT(slotBnsTextChanged())); 725 530 726 // Broadcast Ephemerides 531 727 // --------------------- … … 624 820 _statusLbl[4] = new QLabel("0 byte(s)"); _statusCnt[4] = 0; 625 821 _statusLbl[5] = new QLabel("0 byte(s)"); _statusCnt[5] = 0; 626 _statusLbl[6] = new QLabel("RINEX Ephemeris:"); 627 _statusLbl[7] = new QLabel("Clocks & Orbits:"); 628 _statusLbl[8] = new QLabel("Broadcast Corrections I:"); 629 _statusLbl[9] = new QLabel("Broadcast Corrections II:"); 630 _statusLbl[10] = new QLabel("Broadcast Corrections III:"); 631 _statusLbl[11] = new QLabel("Broadcast Ephemeris:"); 822 _statusLbl[6] = new QLabel("0 byte(s)"); _statusCnt[6] = 0; 823 _statusLbl[7] = new QLabel("0 byte(s)"); _statusCnt[7] = 0; 824 _statusLbl[8] = new QLabel("0 byte(s)"); _statusCnt[8] = 0; 825 826 _statusLbl[9] = new QLabel("RINEX Ephemeris:"); 827 _statusLbl[10] = new QLabel("Clocks & Orbits:"); 828 _statusLbl[11] = new QLabel("Broadcast Corrections I:"); 829 _statusLbl[12] = new QLabel("Broadcast Corrections II:"); 830 _statusLbl[13] = new QLabel("Broadcast Corrections III:"); 831 _statusLbl[14] = new QLabel("Broadcast Corrections IV:"); 832 _statusLbl[15] = new QLabel("Broadcast Corrections V:"); 833 _statusLbl[16] = new QLabel("Broadcast Corrections VI:"); 834 _statusLbl[17] = new QLabel("Broadcast Ephemeris:"); 632 835 633 836 _statusLbl[0]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); … … 636 839 _statusLbl[3]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster II.")); 637 840 _statusLbl[4]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster III.")); 638 _statusLbl[5]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster")); 639 _statusLbl[6]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); 640 _statusLbl[7]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I.")); 641 _statusLbl[8]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster I.")); 642 _statusLbl[9]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster II.")); 643 _statusLbl[10]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster III.")); 644 _statusLbl[11]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster")); 645 646 layout_status->addWidget(_statusLbl[6], 0, 0); 841 _statusLbl[5]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster IV.")); 842 _statusLbl[6]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster V.")); 843 _statusLbl[7]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VI.")); 844 _statusLbl[8]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster")); 845 846 _statusLbl[9]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); 847 _statusLbl[10]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I.")); 848 _statusLbl[11]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster I.")); 849 _statusLbl[12]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster II.")); 850 _statusLbl[13]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster III.")); 851 _statusLbl[14]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster IV.")); 852 _statusLbl[15]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster V.")); 853 _statusLbl[16]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VI.")); 854 _statusLbl[17]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster")); 855 856 layout_status->addWidget(_statusLbl[9], 0, 0); 647 857 layout_status->addWidget(_statusLbl[0], 0, 1); 648 layout_status->addWidget(_statusLbl[1 1], 0, 2);649 layout_status->addWidget(_statusLbl[ 5], 0, 3);650 layout_status->addWidget(_statusLbl[ 7],1, 0);858 layout_status->addWidget(_statusLbl[17], 0, 2); 859 layout_status->addWidget(_statusLbl[8], 0, 3); 860 layout_status->addWidget(_statusLbl[10], 1, 0); 651 861 layout_status->addWidget(_statusLbl[1], 1, 1); 652 layout_status->addWidget(_statusLbl[ 8],1, 2);862 layout_status->addWidget(_statusLbl[11], 1, 2); 653 863 layout_status->addWidget(_statusLbl[2], 1, 3); 654 layout_status->addWidget(_statusLbl[ 9],2, 2);864 layout_status->addWidget(_statusLbl[12], 2, 2); 655 865 layout_status->addWidget(_statusLbl[3], 2, 3); 656 layout_status->addWidget(_statusLbl[1 0], 3, 2);866 layout_status->addWidget(_statusLbl[13], 3, 2); 657 867 layout_status->addWidget(_statusLbl[4], 3, 3); 868 layout_status->addWidget(_statusLbl[14], 4, 2); 869 layout_status->addWidget(_statusLbl[5], 4, 3); 870 layout_status->addWidget(_statusLbl[15], 5, 2); 871 layout_status->addWidget(_statusLbl[6], 5, 3); 872 layout_status->addWidget(_statusLbl[16], 6, 2); 873 layout_status->addWidget(_statusLbl[7], 6, 3); 658 874 _status->setLayout(layout_status); 659 875 … … 812 1028 settings.setValue("outFile_3", _outFile_3_LineEdit->text()); 813 1029 settings.setValue("CoM_3", _CoM_3_CheckBox->checkState()); 1030 1031 settings.setValue("outHost4", _outHost_4_LineEdit->text()); 1032 settings.setValue("outPort4", _outPort_4_LineEdit->text()); 1033 settings.setValue("mountpoint_4",_mountpoint_4_LineEdit->text()); 1034 settings.setValue("password4", _password_4_LineEdit->text()); 1035 settings.setValue("refSys_4", _refSys_4_ComboBox->currentText()); 1036 settings.setValue("outFile_4", _outFile_4_LineEdit->text()); 1037 settings.setValue("CoM_4", _CoM_4_CheckBox->checkState()); 1038 1039 settings.setValue("outHost5", _outHost_5_LineEdit->text()); 1040 settings.setValue("outPort5", _outPort_5_LineEdit->text()); 1041 settings.setValue("mountpoint_5",_mountpoint_5_LineEdit->text()); 1042 settings.setValue("password5", _password_5_LineEdit->text()); 1043 settings.setValue("refSys_5", _refSys_5_ComboBox->currentText()); 1044 settings.setValue("outFile_5", _outFile_5_LineEdit->text()); 1045 settings.setValue("CoM_5", _CoM_5_CheckBox->checkState()); 1046 1047 settings.setValue("outHost6", _outHost_6_LineEdit->text()); 1048 settings.setValue("outPort6", _outPort_6_LineEdit->text()); 1049 settings.setValue("mountpoint_6",_mountpoint_6_LineEdit->text()); 1050 settings.setValue("password6", _password_6_LineEdit->text()); 1051 settings.setValue("refSys_6", _refSys_6_ComboBox->currentText()); 1052 settings.setValue("outFile_6", _outFile_6_LineEdit->text()); 1053 settings.setValue("CoM_6", _CoM_6_CheckBox->checkState()); 814 1054 815 1055 settings.setValue("outHostEph", _outHost_Eph_LineEdit->text()); … … 1083 1323 } 1084 1324 1325 // Enable/disable Broadcast Corrections IV Options 1326 // ----------------------------------------------- 1327 if (sender() == 0 || sender() == _outHost_4_LineEdit) { 1328 if (!_outHost_4_LineEdit->text().isEmpty()) { 1329 _outPort_4_LineEdit->setStyleSheet("background-color: white"); 1330 _mountpoint_4_LineEdit->setStyleSheet("background-color: white"); 1331 _password_4_LineEdit->setStyleSheet("background-color: white"); 1332 _outFile_4_LineEdit->setStyleSheet("background-color: white"); 1333 _refSys_4_ComboBox->setStyleSheet("background-color: white"); 1334 _CoM_4_CheckBox->setPalette(palette_white); 1335 _outPort_4_LineEdit->setEnabled(true); 1336 _mountpoint_4_LineEdit->setEnabled(true); 1337 _password_4_LineEdit->setEnabled(true); 1338 _outFile_4_LineEdit->setEnabled(true); 1339 _refSys_4_ComboBox->setEnabled(true); 1340 _CoM_4_CheckBox->setEnabled(true); 1341 } 1342 else { 1343 _outPort_4_LineEdit->setStyleSheet("background-color: lightGray"); 1344 _mountpoint_4_LineEdit->setStyleSheet("background-color: lightGray"); 1345 _password_4_LineEdit->setStyleSheet("background-color: lightGray"); 1346 _outFile_4_LineEdit->setStyleSheet("background-color: lightGray"); 1347 _refSys_4_ComboBox->setStyleSheet("background-color: lightGray"); 1348 _CoM_4_CheckBox->setPalette(palette_gray); 1349 _outPort_4_LineEdit->setEnabled(false); 1350 _mountpoint_4_LineEdit->setEnabled(false); 1351 _password_4_LineEdit->setEnabled(false); 1352 _outFile_4_LineEdit->setEnabled(false); 1353 _refSys_4_ComboBox->setEnabled(false); 1354 _CoM_4_CheckBox->setEnabled(false); 1355 } 1356 } 1357 1358 // Enable/disable Broadcast Corrections V Options 1359 // ---------------------------------------------- 1360 if (sender() == 0 || sender() == _outHost_5_LineEdit) { 1361 if (!_outHost_5_LineEdit->text().isEmpty()) { 1362 _outPort_5_LineEdit->setStyleSheet("background-color: white"); 1363 _mountpoint_5_LineEdit->setStyleSheet("background-color: white"); 1364 _password_5_LineEdit->setStyleSheet("background-color: white"); 1365 _outFile_5_LineEdit->setStyleSheet("background-color: white"); 1366 _refSys_5_ComboBox->setStyleSheet("background-color: white"); 1367 _CoM_5_CheckBox->setPalette(palette_white); 1368 _outPort_5_LineEdit->setEnabled(true); 1369 _mountpoint_5_LineEdit->setEnabled(true); 1370 _password_5_LineEdit->setEnabled(true); 1371 _outFile_5_LineEdit->setEnabled(true); 1372 _refSys_5_ComboBox->setEnabled(true); 1373 _CoM_5_CheckBox->setEnabled(true); 1374 } 1375 else { 1376 _outPort_5_LineEdit->setStyleSheet("background-color: lightGray"); 1377 _mountpoint_5_LineEdit->setStyleSheet("background-color: lightGray"); 1378 _password_5_LineEdit->setStyleSheet("background-color: lightGray"); 1379 _outFile_5_LineEdit->setStyleSheet("background-color: lightGray"); 1380 _refSys_5_ComboBox->setStyleSheet("background-color: lightGray"); 1381 _CoM_5_CheckBox->setPalette(palette_gray); 1382 _outPort_5_LineEdit->setEnabled(false); 1383 _mountpoint_5_LineEdit->setEnabled(false); 1384 _password_5_LineEdit->setEnabled(false); 1385 _outFile_5_LineEdit->setEnabled(false); 1386 _refSys_5_ComboBox->setEnabled(false); 1387 _CoM_5_CheckBox->setEnabled(false); 1388 } 1389 } 1390 1391 // Enable/disable Broadcast Corrections VI Options 1392 // ----------------------------------------------- 1393 if (sender() == 0 || sender() == _outHost_6_LineEdit) { 1394 if (!_outHost_6_LineEdit->text().isEmpty()) { 1395 _outPort_6_LineEdit->setStyleSheet("background-color: white"); 1396 _mountpoint_6_LineEdit->setStyleSheet("background-color: white"); 1397 _password_6_LineEdit->setStyleSheet("background-color: white"); 1398 _outFile_6_LineEdit->setStyleSheet("background-color: white"); 1399 _refSys_6_ComboBox->setStyleSheet("background-color: white"); 1400 _CoM_6_CheckBox->setPalette(palette_white); 1401 _outPort_6_LineEdit->setEnabled(true); 1402 _mountpoint_6_LineEdit->setEnabled(true); 1403 _password_6_LineEdit->setEnabled(true); 1404 _outFile_6_LineEdit->setEnabled(true); 1405 _refSys_6_ComboBox->setEnabled(true); 1406 _CoM_6_CheckBox->setEnabled(true); 1407 } 1408 else { 1409 _outPort_6_LineEdit->setStyleSheet("background-color: lightGray"); 1410 _mountpoint_6_LineEdit->setStyleSheet("background-color: lightGray"); 1411 _password_6_LineEdit->setStyleSheet("background-color: lightGray"); 1412 _outFile_6_LineEdit->setStyleSheet("background-color: lightGray"); 1413 _refSys_6_ComboBox->setStyleSheet("background-color: lightGray"); 1414 _CoM_6_CheckBox->setPalette(palette_gray); 1415 _outPort_6_LineEdit->setEnabled(false); 1416 _mountpoint_6_LineEdit->setEnabled(false); 1417 _password_6_LineEdit->setEnabled(false); 1418 _outFile_6_LineEdit->setEnabled(false); 1419 _refSys_6_ComboBox->setEnabled(false); 1420 _CoM_6_CheckBox->setEnabled(false); 1421 } 1422 } 1423 1085 1424 // Enable/disable Broadcast Ephemerides 1086 1425 // ------------------------------------ -
trunk/BNS/bnswindow.h
r2138 r2327 114 114 QCheckBox* _CoM_3_CheckBox; 115 115 116 QLineEdit* _outHost_4_LineEdit; 117 QLineEdit* _outPort_4_LineEdit; 118 QLineEdit* _mountpoint_4_LineEdit; 119 QLineEdit* _password_4_LineEdit; 120 QComboBox* _refSys_4_ComboBox; 121 QLineEdit* _outFile_4_LineEdit; 122 QCheckBox* _CoM_4_CheckBox; 123 124 QLineEdit* _outHost_5_LineEdit; 125 QLineEdit* _outPort_5_LineEdit; 126 QLineEdit* _mountpoint_5_LineEdit; 127 QLineEdit* _password_5_LineEdit; 128 QComboBox* _refSys_5_ComboBox; 129 QLineEdit* _outFile_5_LineEdit; 130 QCheckBox* _CoM_5_CheckBox; 131 132 QLineEdit* _outHost_6_LineEdit; 133 QLineEdit* _outPort_6_LineEdit; 134 QLineEdit* _mountpoint_6_LineEdit; 135 QLineEdit* _password_6_LineEdit; 136 QComboBox* _refSys_6_ComboBox; 137 QLineEdit* _outFile_6_LineEdit; 138 QCheckBox* _CoM_6_CheckBox; 139 116 140 QLineEdit* _outHost_Eph_LineEdit; 117 141 QLineEdit* _outPort_Eph_LineEdit; … … 133 157 //QWidget* _status; 134 158 QGroupBox* _status; 135 QLabel* _statusLbl[1 2];136 double _statusCnt[ 6];159 QLabel* _statusLbl[18]; 160 double _statusCnt[9]; 137 161 QMutex _mutex; 138 162
Note:
See TracChangeset
for help on using the changeset viewer.