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