- Timestamp:
- Dec 2, 2008, 1:28:27 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r1261 r1262 420 420 int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer)); 421 421 if (len > 0) { 422 if ( ic == 0) { emit(newOutBytes1(len));}423 if ( ic == 1) { emit(newOutBytes2(len));}422 if (_caster.at(ic)->ic() == 1) { emit(newOutBytes1(len));} 423 if (_caster.at(ic)->ic() == 2) { emit(newOutBytes2(len));} 424 424 _caster.at(ic)->write(obuffer, len); 425 425 } -
trunk/BNS/bnscaster.h
r1261 r1262 15 15 bool usedSocket() const {return _outSocket;} 16 16 bool crdTrafo() const {return _crdTrafo;} 17 int ic() const {return _ic;} 17 18 18 19 signals: -
trunk/BNS/bnswindow.cpp
r1261 r1262 433 433 _statusLbl[1] = new QLabel("0 byte(s)"); _statusCnt[1] = 0; 434 434 _statusLbl[2] = new QLabel("0 byte(s)"); _statusCnt[2] = 0; 435 _statusLbl[ 3] = new QLabel("RINEX Ephemeris:");435 _statusLbl[7] = new QLabel("RINEX Ephemeris:"); 436 436 _statusLbl[4] = new QLabel("Clocks & Orbits:"); 437 437 _statusLbl[5] = new QLabel("Ephemeris Corrections I:"); 438 438 _statusLbl[6] = new QLabel("Ephemeris Corrections II:"); 439 _statusLbl[ 7] = new QLabel("0 byte(s)"); _statusCnt[3] = 0;439 _statusLbl[3] = new QLabel("0 byte(s)"); _statusCnt[3] = 0; 440 440 441 441 _statusLbl[0]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); 442 442 _statusLbl[1]->setWhatsThis(tr("Status of incoming stream of clocks and orbits.")); 443 443 _statusLbl[2]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster.")); 444 _statusLbl[ 3]->setWhatsThis(tr("Status of incoming broadcast ephemeris."));444 _statusLbl[7]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); 445 445 _statusLbl[4]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I.")); 446 446 _statusLbl[5]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster I.")); 447 447 _statusLbl[6]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster II.")); 448 _statusLbl[ 7]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster II."));449 450 layout_status->addWidget(_statusLbl[ 3], 0, 0);448 _statusLbl[3]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster II.")); 449 450 layout_status->addWidget(_statusLbl[7], 0, 0); 451 451 layout_status->addWidget(_statusLbl[0], 0, 1); 452 452 layout_status->addWidget(_statusLbl[4], 1, 0); … … 455 455 layout_status->addWidget(_statusLbl[2], 0, 3); 456 456 layout_status->addWidget(_statusLbl[6], 1, 2); 457 layout_status->addWidget(_statusLbl[ 7], 1, 3);457 layout_status->addWidget(_statusLbl[3], 1, 3); 458 458 _status->setLayout(layout_status); 459 459
Note:
See TracChangeset
for help on using the changeset viewer.