Changeset 6019 in ntrip


Ignore:
Timestamp:
Aug 21, 2014, 9:05:53 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
3 edited

Legend:

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

    r6018 r6019  
    130130  enum type {dummy = 0, l1, l2, c1, c2, lIF, cIF, MW, CL, maxLc};
    131131
    132   static bool need2ndFreq(type tt) {
    133     if (tt == l2 || tt == c2 || tt == lIF || tt == cIF || tt == MW) return true;
    134     return false;
    135   } 
    136 
    137132  static bool includesPhase(type tt) {
    138133    if (tt == l1 || tt == l2 || tt == lIF || tt == MW || tt == CL) return true;
  • trunk/BNC/src/PPP/pppOptions.cpp

    r5912 r6019  
    5959}
    6060
    61 
    6261//
    6362//////////////////////////////////////////////////////////////////////////////
     
    7372  }
    7473}
    75 
    76 //
    77 //////////////////////////////////////////////////////////////////////////////
    78 bool t_pppOptions::dualFreqRequired(char system) const {
    79   const std::vector<t_lc::type>& lcs = LCs(system);
    80   for (unsigned ii = 0; ii < lcs.size(); ii++) {
    81     if (t_lc::need2ndFreq(lcs[ii])) {
    82       return true;
    83     }
    84   }
    85   return false;
    86 
    8774
    8875//
  • trunk/BNC/src/PPP/pppOptions.h

    r5957 r6019  
    1515
    1616  const std::vector<t_lc::type>& LCs(char system) const;
    17   bool dualFreqRequired(char system) const;
    1817  bool useOrbClkCorr() const;
    1918  std::vector<char> systems() const;
Note: See TracChangeset for help on using the changeset viewer.