Changeset 3216 in ntrip


Ignore:
Timestamp:
Mar 31, 2011, 9:43:58 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3215 r3216  
    547547
    548548  ostringstream out; out.setf(std::ios::fixed);
     549  QStringList   corrLines;
    549550
    550551  unsigned year, month, day, hour, minute;
     
    617618            << setw(8)  << setprecision(3) << dcbP1P2
    618619            << setw(6)  << setprecision(1) << dT;
     620        ostringstream outLine; outLine.setf(std::ios::fixed);
     621
     622        outLine << " COMB";
     623        corrLines << QString(outLine.str().c_str());
    619624      }
    620625      else {
     
    634639  _rtnetDecoder->Decode((char*) out.str().c_str(), out.str().size(), errmsg);
    635640
    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.