Changeset 9025 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Aug 25, 2020, 11:02:49 PM (5 years ago)
- Location:
- trunk/BNC/src/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r8901 r9025 162 162 } 163 163 164 QString ssrFormat; 165 QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList()); 166 while (it.hasNext()) { 167 QStringList hlp = it.next().split(","); 168 if (hlp.size() > 7) { 169 ssrFormat = hlp[7]; 170 } 171 } 172 _ssrCorr = 0; 173 if (ssrFormat == "IGS-SSR") { 174 _ssrCorr = new SsrCorrIgs(); 175 } 176 else if (ssrFormat == "RTCM-SSR") { 177 _ssrCorr = new SsrCorrRtcm(); 178 } 179 180 164 181 _rtnetDecoder = 0; 165 182 … … 266 283 } 267 284 delete _rtnetDecoder; 285 if (_ssrCorr) { 286 delete _ssrCorr; 287 } 268 288 delete _antex; 269 289 for (int iPar = 1; iPar <= _params.size(); iPar++) { … … 714 734 715 735 QString outLines; 716 QStringList corrLines;736 //QStringList corrLines; 717 737 718 738 unsigned year, month, day, hour, minute; … … 770 790 771 791 QString line; 772 int messageType = COTYPE_GPSCOMBINED;792 int messageType = _ssrCorr->COTYPE_GPSCOMBINED; 773 793 int updateInt = 0; 774 794 line.sprintf("%d %d %d %.1f %s" … … 789 809 corr->_orbCorr._dotXr[2], 790 810 0.0); 791 corrLines << line;811 //corrLines << line; 792 812 793 813 delete corr; -
trunk/BNC/src/combination/bnccomb.h
r7299 r9025 7 7 #include "bncephuser.h" 8 8 #include "satObs.h" 9 #include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h" 10 #include "../RTCM3/clock_and_orbit/clock_orbit_igs.h" 9 11 10 12 class bncRtnetDecoder; … … 126 128 QMap<QString, QMap<t_prn, t_orbCorr> > _orbCorrections; 127 129 bncEphUser _ephUser; 130 SsrCorr* _ssrCorr; 128 131 }; 129 132
Note:
See TracChangeset
for help on using the changeset viewer.