Changeset 3025 in ntrip


Ignore:
Timestamp:
Feb 24, 2011, 11:19:41 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3024 r3025  
    325325  }
    326326
     327  // Send Corrections to Caster
     328  // --------------------------
    327329  if ( _caster->usedSocket() &&
    328330       (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) ) {
     
    334336  }
    335337
     338  // Emit new Corrections
     339  // --------------------
    336340  co.messageType = COTYPE_GPSCOMBINED;
    337 
    338341  QStringList asciiLines =
    339342    RTCM3coDecoder::corrsToASCIIlines(resTime.gpsw(), resTime.gpssec(), co, 0);
    340343
     344  long coTime = resTime.gpsw() * 7*24*3600 + long(floor(resTime.gpssec()+0.5));
    341345  QStringListIterator il(asciiLines);
    342346  while (il.hasNext()) {
    343347    QString line = il.next();
    344     cout << line.toAscii().data() << endl;
     348    emit newCorrLine(line, _caster->mountpoint(), coTime);
    345349  }
    346350}
  • trunk/BNC/combination/cmbcaster.h

    r2990 r3025  
    1212  void write(char* buffer, unsigned len);
    1313  bool usedSocket() const {return _outSocket;}
     14  QString mountpoint() const {return _mountpoint;}
    1415
    1516 signals:
Note: See TracChangeset for help on using the changeset viewer.