Changeset 6016 in ntrip for trunk/BNC/src/PPP/pppInclude.h


Ignore:
Timestamp:
Aug 20, 2014, 4:59:55 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppInclude.h

    r6015 r6016  
    122122};
    123123
     124class t_frequency {
     125 public:
     126  enum type {dummy = 0, G1, G2, G5, R1, R2,
     127                        E1, // E1  / 1575.42         
     128                        E5, // E5a / 1176.45         
     129                        E7, // E5b / 1207.140         
     130                        E8, // E5(E5a+E5b) / 1191.795
     131                        E6, // E6  / 1278.75         
     132             maxFr};
     133
     134  static std::string toString(type tt) {
     135    if      (tt == G1) return "G1";
     136    else if (tt == G2) return "G2";
     137    else if (tt == G5) return "G5";
     138    else if (tt == R1) return "R1";
     139    else if (tt == R2) return "R2";
     140    else if (tt == E1) return "E1";
     141    else if (tt == E5) return "E5";
     142    else if (tt == E6) return "E6";
     143    else if (tt == E7) return "E7";
     144    else if (tt == E8) return "E8";
     145    return std::string();
     146  }
     147};
     148
     149
    124150class t_lc {
    125151 public:
Note: See TracChangeset for help on using the changeset viewer.