- Timestamp:
- Feb 28, 2009, 12:57:03 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r1668 r1670 292 292 void t_bns::readEpoch() { 293 293 294 bnsSettings settings; 295 294 296 // Read the first line (if not already read) 295 297 // ----------------------------------------- … … 376 378 xx(3) *= 1e3; 377 379 xx(4) *= 1e-6; 380 381 if ( Qt::CheckState(settings.value("beClocks1").toInt()) == Qt::Checked) { 382 xx(4) -= xx(5) / 299792458.0; 383 } 378 384 379 385 t_ephPair* pair = _ephList[prn]; -
trunk/BNS/bnssettings.cpp
r1669 r1670 53 53 setValue("startTab", "0"); 54 54 setValue("autoStart", "0"); 55 setValue("beClocks1", "0"); 56 setValue("beClocks2", "0"); 55 57 sync(); 56 58 } -
trunk/BNS/bnswindow.cpp
r1668 r1670 182 182 } 183 183 _outFile_1_LineEdit = new QLineEdit(settings.value("outFile_1").toString()); 184 _beClocks1CheckBox = new QCheckBox(); 185 _beClocks1CheckBox->setCheckState(Qt::CheckState(settings.value("beClocks1").toInt())); 184 186 185 187 // Ephemeris Corrections II Options … … 198 200 } 199 201 _outFile_2_LineEdit = new QLineEdit(settings.value("outFile_2").toString()); 202 _beClocks2CheckBox = new QCheckBox(); 203 _beClocks2CheckBox->setCheckState(Qt::CheckState(settings.value("beClocks2").toInt())); 200 204 201 205 // RINEX Clocks Options … … 265 269 _sp3SamplSpinBox->setWhatsThis(tr("Select the SP3 orbit file sampling interval in seconds. A value of zero '0' tells BNS to store all available samples into SP3 orbit files.")); 266 270 _autoStartCheckBox->setWhatsThis(tr("<p>Tick 'Auto start' for auto-start of BNS at startup time in window mode with preassigned processing options.</p>")); 271 _beClocks1CheckBox->setWhatsThis(tr("<p>Send broadcast clocks instead of broadcast clock corrections and ignore the incoming clock estimates.</p>")); 272 _beClocks2CheckBox->setWhatsThis(tr("<p>Send broadcast clocks instead of broadcast clock corrections and ignore the incoming clock estimates.</p>")); 267 273 268 274 … … 384 390 layout_cas1->addWidget(new QLabel(" Save (full path)"), 2, 2, Qt::AlignRight); 385 391 layout_cas1->addWidget(_outFile_1_LineEdit, 2, 3, 1, 30); 386 layout_cas1->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 3, 0, 1, 50); 392 layout_cas1->addWidget(new QLabel("Broadcast clocks"), 3, 0); 393 layout_cas1->addWidget(_beClocks1CheckBox, 3, 1); 394 layout_cas1->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50); 387 395 388 396 tab_cas1->setLayout(layout_cas1); … … 430 438 layout_cas2->addWidget(new QLabel(" Save (full path)"), 2, 2, Qt::AlignRight); 431 439 layout_cas2->addWidget(_outFile_2_LineEdit, 2, 3, 1, 30); 432 layout_cas2->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 3, 0, 1, 50); 440 layout_cas2->addWidget(new QLabel("Broadcast clocks"), 3, 0); 441 layout_cas2->addWidget(_beClocks2CheckBox, 3, 1); 442 layout_cas2->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50); 433 443 434 444 tab_cas2->setLayout(layout_cas2); … … 692 702 settings.setValue("sp3Sampl", _sp3SamplSpinBox->value()); 693 703 settings.setValue("startTab", tabs->currentIndex()); 704 settings.setValue("beClocks1", _beClocks1CheckBox->checkState()); 705 settings.setValue("beClocks2", _beClocks2CheckBox->checkState()); 694 706 } 695 707 -
trunk/BNS/bnswindow.h
r1668 r1670 100 100 QCheckBox* _fileAppendCheckBox; 101 101 QCheckBox* _autoStartCheckBox; 102 QCheckBox* _beClocks1CheckBox; 103 QCheckBox* _beClocks2CheckBox; 102 104 103 105 QTextEdit* _log;
Note:
See TracChangeset
for help on using the changeset viewer.