Changeset 4617 in ntrip


Ignore:
Timestamp:
Sep 1, 2012, 8:42:55 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/availplot.cpp

    r4614 r4617  
    1212 public:
    1313  t_scaleDrawTime() {}
    14   virtual QwtText label(double mjd) const {
    15     bncTime epoTime; epoTime.setmjd(mjd);
     14  virtual QwtText label(double mjdX24) const {
     15    bncTime epoTime; epoTime.setmjd(mjdX24/24.0);
    1616    return QwtText(epoTime.timestr(0,':').c_str());
    1717  }
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4608 r4617  
    507507    // Availability Plot Data
    508508    // ----------------------
    509     double mjd = chunkStartTime.mjddec();
     509    double mjdX24 = chunkStartTime.mjddec() * 24.0;
    510510    if (availL1) {
    511511      if      (slipL1) {
    512         _availDataMap[prn]._L1slip << mjd;
     512        _availDataMap[prn]._L1slip << mjdX24;
    513513      }
    514514      else if (gapL1) {
    515         _availDataMap[prn]._L1gap << mjd;
     515        _availDataMap[prn]._L1gap << mjdX24;
    516516      }
    517517      else {
    518         _availDataMap[prn]._L1ok << mjd;
     518        _availDataMap[prn]._L1ok << mjdX24;
    519519      }
    520520    }
    521521    if (availL2) {
    522522      if      (slipL2) {
    523         _availDataMap[prn]._L2slip << mjd;
     523        _availDataMap[prn]._L2slip << mjdX24;
    524524      }
    525525      else if (gapL2) {
    526         _availDataMap[prn]._L2gap << mjd;
     526        _availDataMap[prn]._L2gap << mjdX24;
    527527      }
    528528      else {
    529         _availDataMap[prn]._L2ok << mjd;
     529        _availDataMap[prn]._L2ok << mjdX24;
    530530      }
    531531    }
Note: See TracChangeset for help on using the changeset viewer.