Changeset 971 in ntrip


Ignore:
Timestamp:
Jul 26, 2008, 9:44:25 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3coDecoder.cpp

    r970 r971  
    6868  _out = 0;
    6969
    70   connect(this, SIGNAL(newCorrLine(QString)),
    71           (bncApp*) qApp, SLOT(slotNewCorrLine(QString)));
     70  connect(this, SIGNAL(newCorrLine(QString, QString)),
     71          (bncApp*) qApp, SLOT(slotNewCorrLine(QString, QString)));
    7272}
    7373
     
    169169      for(int ii = 0; ii < _co.NumberOfGPSSat; ++ii) {
    170170        QString line;
    171         line.sprintf("%d %.1f G%2.2d   %3d   %8.3f   %8.3f %8.3f %8.3f\n",
     171        line.sprintf("%d %.1f G%2.2d   %3d   %8.3f   %8.3f %8.3f %8.3f",
    172172               GPSweek, GPSweeks, _co.Sat[ii].ID, _co.Sat[ii].IOD,
    173173               _co.Sat[ii].Clock.DeltaA0,
     
    180180          ii < CLOCKORBIT_NUMGPS + _co.NumberOfGLONASSSat; ++ii) {
    181181        QString line;
    182         line.sprintf("%d %.1f R%2.2d   %3d   %8.3f   %8.3f %8.3f %8.3f\n",
     182        line.sprintf("%d %.1f R%2.2d   %3d   %8.3f   %8.3f %8.3f %8.3f",
    183183               GPSweek, GPSweeks, _co.Sat[ii].ID, _co.Sat[ii].IOD,
    184184               _co.Sat[ii].Clock.DeltaA0,
     
    204204void RTCM3coDecoder::printLine(const QString& line) {
    205205  if (_out) {
    206     *_out << line.toAscii().data();
     206    *_out << line.toAscii().data() << endl;
    207207    _out->flush();
    208208  }
    209209
    210   emit newCorrLine(line);
    211 }
     210  emit newCorrLine(line, _staID);
     211}
  • trunk/BNC/RTCM3/RTCM3coDecoder.h

    r970 r971  
    4545
    4646 signals:
    47   void newCorrLine(QString line);
     47  void newCorrLine(QString line, QString staID);
    4848
    4949 private:
  • trunk/BNC/bncapp.cpp

    r945 r971  
    590590//
    591591////////////////////////////////////////////////////////////////////////////
    592 void bncApp::slotNewCorrLine(QString line) {
     592void bncApp::slotNewCorrLine(QString line, QString staID) {
    593593  if (_socketsCorr) {
    594594    QMutableListIterator<QTcpSocket*> is(*_socketsCorr);
Note: See TracChangeset for help on using the changeset viewer.