Changeset 6015 in ntrip for trunk/BNC/src/PPP


Ignore:
Timestamp:
Aug 20, 2014, 4:46:52 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

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

    r5877 r6015  
    122122};
    123123
    124 class t_frequency {
    125  public:
    126   enum type {dummy = 0, G1, G2, R1, R2, maxFr};
    127 
    128   static std::string toString(type tt) {
    129     if      (tt == G1) return "G1";
    130     else if (tt == G2) return "G2";
    131     else if (tt == R1) return "R1";
    132     else if (tt == R2) return "R2";
    133     return std::string();
    134   }
    135 };
    136 
    137124class t_lc {
    138125 public:
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r5936 r6015  
    218218  // -------------------------------------------
    219219  if (PPP_CLIENT->antex()) {
    220     t_frequency::type frq1 = t_frequency::G1;
    221     t_frequency::type frq2 = t_frequency::G2;
    222     if (_prn.system() == 'R') {
    223       frq1 = t_frequency::R1;
    224       frq2 = t_frequency::R2;
    225     }
    226220    bool found;
    227     _model._antPco1 = PPP_CLIENT->antex()->rcvCorr(frq1, station->antName(),
    228                                                 _model._eleSat, found);
    229     _model._antPco2 = PPP_CLIENT->antex()->rcvCorr(frq2, station->antName(),
    230                                                 _model._eleSat, found);
     221    _model._antPco1 = PPP_CLIENT->antex()->rcvCorr(station->antName(), _model._eleSat, found);
     222    _model._antPco2 = _model._antPco1;
    231223  }
    232224
Note: See TracChangeset for help on using the changeset viewer.