Changeset 1262 in ntrip


Ignore:
Timestamp:
Dec 2, 2008, 1:28:27 PM (15 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1261 r1262  
    420420          int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer));
    421421          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));}
    424424            _caster.at(ic)->write(obuffer, len);
    425425          }
  • trunk/BNS/bnscaster.h

    r1261 r1262  
    1515  bool usedSocket() const {return _outSocket;}
    1616  bool crdTrafo() const {return _crdTrafo;}
     17  int  ic() const {return _ic;}
    1718
    1819 signals:
  • trunk/BNS/bnswindow.cpp

    r1261 r1262  
    433433  _statusLbl[1] = new QLabel("0 byte(s)"); _statusCnt[1] = 0;
    434434  _statusLbl[2] = new QLabel("0 byte(s)"); _statusCnt[2] = 0;
    435   _statusLbl[3] = new QLabel("RINEX Ephemeris:"); 
     435  _statusLbl[7] = new QLabel("RINEX Ephemeris:"); 
    436436  _statusLbl[4] = new QLabel("Clocks & Orbits:");
    437437  _statusLbl[5] = new QLabel("Ephemeris Corrections I:"); 
    438438  _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;
    440440
    441441  _statusLbl[0]->setWhatsThis(tr("Status of incoming broadcast ephemeris."));
    442442  _statusLbl[1]->setWhatsThis(tr("Status of incoming stream of clocks and orbits."));
    443443  _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."));
    445445  _statusLbl[4]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I."));
    446446  _statusLbl[5]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster I."));
    447447  _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);
    451451  layout_status->addWidget(_statusLbl[0], 0, 1);
    452452  layout_status->addWidget(_statusLbl[4], 1, 0);
     
    455455  layout_status->addWidget(_statusLbl[2], 0, 3);
    456456  layout_status->addWidget(_statusLbl[6], 1, 2);
    457   layout_status->addWidget(_statusLbl[7], 1, 3);
     457  layout_status->addWidget(_statusLbl[3], 1, 3);
    458458  _status->setLayout(layout_status);
    459459
Note: See TracChangeset for help on using the changeset viewer.