Changeset 3216 in ntrip
- Timestamp:
- Mar 31, 2011, 9:43:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3215 r3216 547 547 548 548 ostringstream out; out.setf(std::ios::fixed); 549 QStringList corrLines; 549 550 550 551 unsigned year, month, day, hour, minute; … … 617 618 << setw(8) << setprecision(3) << dcbP1P2 618 619 << setw(6) << setprecision(1) << dT; 620 ostringstream outLine; outLine.setf(std::ios::fixed); 621 622 outLine << " COMB"; 623 corrLines << QString(outLine.str().c_str()); 619 624 } 620 625 else { … … 634 639 _rtnetDecoder->Decode((char*) out.str().c_str(), out.str().size(), errmsg); 635 640 636 // Optionally send new Corrections to PPP 637 // -------------------------------------- 638 bncApp* app = (bncApp*) qApp; 639 if (app->_bncPPPclient) { 640 // QStringList corrLines; 641 // co.messageType = COTYPE_GPSCOMBINED; 642 // QStringListIterator il(RTCM3coDecoder::corrsToASCIIlines(resTime.gpsw(), 643 // resTime.gpssec(), co, 0)); 644 // while (il.hasNext()) { 645 // QString line = il.next(); 646 // line += " COMB"; 647 // corrLines << line; 648 // } 649 // 650 // app->_bncPPPclient->slotNewCorrections(corrLines); 651 } 652 } 641 // Optionally send new Corrections to PPP 642 // -------------------------------------- 643 bncApp* app = (bncApp*) qApp; 644 if (app->_bncPPPclient) { 645 app->_bncPPPclient->slotNewCorrections(corrLines); 646 } 647 }
Note:
See TracChangeset
for help on using the changeset viewer.