Changeset 5436 in ntrip


Ignore:
Timestamp:
Sep 12, 2013, 6:48:42 PM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/map_stations/map_stations.cpp

    r5435 r5436  
    123123void t_map_stations::slotPlotResults() {
    124124  QMutexLocker locker(&_mutex);
    125   // beg test
     125
    126126  if (_results) {
     127    QList<t_worldPlot::t_point*> points;
    127128    for (unsigned ii = 0; ii < _results->size(); ii++) {
    128129      const t_thriftResult* result = _results->at(ii);
    129       cout << result->_name << ' '
    130            << result->_nGPS << ' ' << result->_nGLO << ' '
    131            << result->_x << ' ' << result->_y << ' ' << result->_z << endl;
     130      t_worldPlot::t_point* point  = new t_worldPlot::t_point(result->_name.c_str(),
     131                                                              50.0+ii, 15.0+2*ii);
     132//      cout << result->_name << ' '
     133//           << result->_nGPS << ' ' << result->_nGLO << ' '
     134//           << result->_x << ' ' << result->_y << ' ' << result->_z << endl;
     135      points.append(point);
    132136    }
     137    _plot->slotNewPoints(points);
    133138  }
    134   ///  _plot->slotNewPoint("AAAA", 50.0, 15.0);
    135   // end test
     139
    136140  if (_thriftClient) {
    137141    QTimer::singleShot(1000, this, SLOT(slotPlotResults()));
Note: See TracChangeset for help on using the changeset viewer.