Changeset 3027 in ntrip for trunk/BNC/combination
- Timestamp:
- Feb 24, 2011, 12:32:17 PM (14 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3025 r3027 24 24 #include "bncmodel.h" 25 25 #include "bncutils.h" 26 #include "bncpppclient.h" 26 27 27 28 using namespace std; … … 336 337 } 337 338 338 // Emit new Corrections 339 // -------------------- 340 co.messageType = COTYPE_GPSCOMBINED; 341 QStringList asciiLines = 342 RTCM3coDecoder::corrsToASCIIlines(resTime.gpsw(), resTime.gpssec(), co, 0); 343 344 long coTime = resTime.gpsw() * 7*24*3600 + long(floor(resTime.gpssec()+0.5)); 345 QStringListIterator il(asciiLines); 346 while (il.hasNext()) { 347 QString line = il.next(); 348 emit newCorrLine(line, _caster->mountpoint(), coTime); 339 // Optionall send new Corrections to PPP client 340 // -------------------------------------------- 341 bncApp* app = (bncApp*) qApp; 342 if (app->_bncPPPclient) { 343 QStringList corrLines; 344 co.messageType = COTYPE_GPSCOMBINED; 345 QStringListIterator il(RTCM3coDecoder::corrsToASCIIlines(resTime.gpsw(), 346 resTime.gpssec(), co, 0)); 347 while (il.hasNext()) { 348 QString line = il.next() + " " + _caster->mountpoint(); 349 corrLines << line; 350 } 351 352 app->_bncPPPclient->slotNewCorrections(corrLines); 349 353 } 350 354 } -
trunk/BNC/combination/bnccomb.h
r3024 r3027 34 34 signals: 35 35 void newMessage(QByteArray msg, bool showOnScreen); 36 void newCorrLine(QString line, QString staID, long coTime);37 36 38 37 private:
Note:
See TracChangeset
for help on using the changeset viewer.