Changeset 1261 in ntrip for trunk/BNS


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

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

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

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

    r1259 r1261  
    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("0 byte(s)"); _statusCnt[3] = 0;
    436 
    437   _statusLbl[7] = new QLabel("RINEX Ephemeris:"); 
     435  _statusLbl[3] = new QLabel("RINEX Ephemeris:"); 
    438436  _statusLbl[4] = new QLabel("Clocks & Orbits:");
    439437  _statusLbl[5] = new QLabel("Ephemeris Corrections I:"); 
    440438  _statusLbl[6] = new QLabel("Ephemeris Corrections II:"); 
     439  _statusLbl[7] = new QLabel("0 byte(s)"); _statusCnt[3] = 0;
    441440
    442441  _statusLbl[0]->setWhatsThis(tr("Status of incoming broadcast ephemeris."));
    443442  _statusLbl[1]->setWhatsThis(tr("Status of incoming stream of clocks and orbits."));
    444443  _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."));
    446445  _statusLbl[4]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I."));
    447446  _statusLbl[5]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster I."));
    448447  _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);
    452451  layout_status->addWidget(_statusLbl[0], 0, 1);
    453452  layout_status->addWidget(_statusLbl[4], 1, 0);
     
    456455  layout_status->addWidget(_statusLbl[2], 0, 3);
    457456  layout_status->addWidget(_statusLbl[6], 1, 2);
    458   layout_status->addWidget(_statusLbl[3], 1, 3);
     457  layout_status->addWidget(_statusLbl[7], 1, 3);
    459458  _status->setLayout(layout_status);
    460459
Note: See TracChangeset for help on using the changeset viewer.