Changeset 5496 in ntrip


Ignore:
Timestamp:
Sep 23, 2013, 9:30:47 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/monitor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/thriftclient.cpp

    r5495 r5496  
    131131    const StationResults& staRes = epoch.stationResultList[ii];
    132132
    133     for (unsigned is = 0; is < staRes.svPosList.size(); is++) {
    134       const SatelliteEleAzi& sat = staRes.svPosList[is];
    135       string prn = id2prn(sat.constellation, sat.ID);
    136     }
     133    t_thriftResult* res = new t_thriftResult;
    137134
    138     t_thriftResult* res = new t_thriftResult;
    139135    res->_name = staRes.stationName;
    140136    res->_nGPS = staRes.nsv_gps_used;
     
    145141      res->_z = _stationCrd[staRes.stationName]._z;
    146142    }
     143
     144    for (unsigned is = 0; is < staRes.svPosList.size(); is++) {
     145      const SatelliteEleAzi& sat = staRes.svPosList[is];
     146      string prn = id2prn(sat.constellation, sat.ID);
     147      res->_prns.push_back(prn);
     148    }
     149
    147150    results->push_back(res);
    148151  }
  • trunk/GnssCenter/monitor/thriftclient.h

    r5483 r5496  
    3232  }
    3333  ~t_thriftResult() {}
    34   std::string _name;
    35   int         _nGPS; 
    36   int         _nGLO;
    37   double      _x;
    38   double      _y;
    39   double      _z;
     34  std::string              _name;
     35  int                      _nGPS; 
     36  int                      _nGLO;
     37  double                   _x;
     38  double                   _y;
     39  double                   _z;
     40  std::vector<std::string> _prns;
    4041};
    4142
Note: See TracChangeset for help on using the changeset viewer.