Changeset 9673 in ntrip for trunk/BNC


Ignore:
Timestamp:
Apr 7, 2022, 4:18:10 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.h

    r9367 r9673  
    3131  bool    isNewerThan(const t_eph* eph) const {return earlierTime(eph, this);}
    3232  e_checkState checkState() const {return _checkState;}
     33  QString checkStateToString() {
     34    switch (_checkState) {
     35      case unchecked:
     36        return "unchecked";
     37      case ok:
     38        return "ok";
     39      case bad:
     40        return "bad";
     41      case outdated:
     42        return "outdated";
     43      case unhealthy:
     44        return "unhealthy";
     45      default:
     46        return "unknown";
     47    }
     48  }
    3349  void    setCheckState(e_checkState checkState) {_checkState = checkState;}
    3450  t_prn   prn() const {return _prn;}
     
    440456  virtual e_type  type() const {return t_eph::BDS;}
    441457  virtual unsigned int IOD() const;
    442   virtual unsigned int  isUnhealthy() const { return static_cast<unsigned int>(_SatH1); }
     458  virtual unsigned int  isUnhealthy() const {return static_cast<unsigned int>(_SatH1);}
    443459  virtual QString toString(double version) const;
    444460
Note: See TracChangeset for help on using the changeset viewer.