Changeset 6161 in ntrip


Ignore:
Timestamp:
Sep 14, 2014, 11:33:55 AM (7 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6160 r6161  
    681681////////////////////////////////////////////////////////////////////////////
    682682void bncComb::dumpResults(const QMap<QString, cmbCorr*>& resCorr) {
     683
     684  QList<t_orbCorr> orbCorrections;
     685  QList<t_clkCorr> clkCorrections;
    683686
    684687  QString     outLines;
     
    747750    corrLines << line;
    748751
     752    t_orbCorr orbCorr(corr->_orbCorr);
     753    orbCorr._staID = "INTERNAL";
     754    orbCorrections.push_back(orbCorr);
     755
     756    t_clkCorr clkCorr(corr->_clkCorr);
     757    clkCorr._staID      = "INTERNAL";
     758    clkCorr._dClk       = corr->_dClkResult;
     759    clkCorr._dotDClk    = 0.0;
     760    clkCorr._dotDotDClk = 0.0;
     761    clkCorrections.push_back(clkCorr);
     762
    749763    delete corr;
    750764  }
     
    761775  // Send new Corrections to PPP etc.
    762776  // --------------------------------
    763   ////  emit newCorrections(corrLines);
     777  if (orbCorrections.size() > 0 && clkCorrections.size() > 0) {
     778    emit newOrbCorrections(orbCorrections);
     779    emit newClkCorrections(clkCorrections);
     780  }
    764781}
    765782
Note: See TracChangeset for help on using the changeset viewer.