Changeset 5499 in ntrip
- Timestamp:
- Sep 23, 2013, 10:11:50 AM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/monitor.cpp
r5497 r5499 303 303 for (unsigned jj = 0; jj < _results->size(); jj++) { 304 304 const t_thriftResult* result = _results->at(jj); 305 for (unsigned is = 0; is < result->_prns.size(); is++) { 306 if (result->_prns[is] == sat->_prn) { 307 numSta += 1; 308 } 305 if (result->_prns.find(sat->_prn) != result->_prns.end()) { 306 numSta += 1; 309 307 } 310 308 } -
trunk/GnssCenter/monitor/thriftclient.cpp
r5498 r5499 142 142 } 143 143 144 for (unsigned i s = 0; is < staRes.svPosList.size(); is++) {145 const SatelliteEleAzi& sat = staRes.svPosList[is];146 string prn = id2prn(sat.constellation, sat.ID);147 const double eleMask = 10.0;148 if (sat.elevation > eleMask) {149 res->_prns. push_back(prn);144 for (unsigned ic = 0; ic < staRes.residList.size(); ic++) { 145 const ResidualInfo& info = staRes.residList[ic]; 146 for (unsigned is = 0; is < info.svResid.size(); is++) { 147 const SvResidualInfo& sat = info.svResid[is]; 148 string prn = id2prn(sat.constellation, sat.ID); 149 res->_prns.insert(prn); 150 150 } 151 151 } -
trunk/GnssCenter/monitor/thriftclient.h
r5496 r5499 4 4 #include <string> 5 5 #include <map> 6 #include <set> 6 7 #include <QString> 7 8 #include <QThread> … … 32 33 } 33 34 ~t_thriftResult() {} 34 std::string 35 int 36 int 37 double 38 double 39 double 40 std:: vector<std::string> _prns;35 std::string _name; 36 int _nGPS; 37 int _nGLO; 38 double _x; 39 double _y; 40 double _z; 41 std::set<std::string> _prns; 41 42 }; 42 43
Note:
See TracChangeset
for help on using the changeset viewer.