Changeset 3025 in ntrip
- Timestamp:
- Feb 24, 2011, 11:19:41 AM (14 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3024 r3025 325 325 } 326 326 327 // Send Corrections to Caster 328 // -------------------------- 327 329 if ( _caster->usedSocket() && 328 330 (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) ) { … … 334 336 } 335 337 338 // Emit new Corrections 339 // -------------------- 336 340 co.messageType = COTYPE_GPSCOMBINED; 337 338 341 QStringList asciiLines = 339 342 RTCM3coDecoder::corrsToASCIIlines(resTime.gpsw(), resTime.gpssec(), co, 0); 340 343 344 long coTime = resTime.gpsw() * 7*24*3600 + long(floor(resTime.gpssec()+0.5)); 341 345 QStringListIterator il(asciiLines); 342 346 while (il.hasNext()) { 343 347 QString line = il.next(); 344 cout << line.toAscii().data() << endl;348 emit newCorrLine(line, _caster->mountpoint(), coTime); 345 349 } 346 350 } -
trunk/BNC/combination/cmbcaster.h
r2990 r3025 12 12 void write(char* buffer, unsigned len); 13 13 bool usedSocket() const {return _outSocket;} 14 QString mountpoint() const {return _mountpoint;} 14 15 15 16 signals:
Note:
See TracChangeset
for help on using the changeset viewer.