Changeset 5492 in ntrip for trunk


Ignore:
Timestamp:
Sep 18, 2013, 3:32:31 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5491 r5492  
    285285        double lonDeg = ell[1] * 180.0 / M_PI;
    286286        QString str   = sat->_prn.c_str();
    287         QColor color = Qt::darkBlue;
     287        QColor color;
     288        if      (str[0] == 'G') {
     289          color = Qt::darkBlue;
     290        }
     291        else if (str[0] == 'R') {
     292          color = Qt::darkGreen;
     293        }
     294        else {
     295          color = Qt::black;
     296        }
    288297        t_worldPlot::t_point* point  = new t_worldPlot::t_point(color, str, latDeg, lonDeg);
    289298        points.append(point);
Note: See TracChangeset for help on using the changeset viewer.