Changeset 6019 in ntrip
- Timestamp:
- Aug 21, 2014, 9:05:53 AM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppInclude.h
r6018 r6019 130 130 enum type {dummy = 0, l1, l2, c1, c2, lIF, cIF, MW, CL, maxLc}; 131 131 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 137 132 static bool includesPhase(type tt) { 138 133 if (tt == l1 || tt == l2 || tt == lIF || tt == MW || tt == CL) return true; -
trunk/BNC/src/PPP/pppOptions.cpp
r5912 r6019 59 59 } 60 60 61 62 61 // 63 62 ////////////////////////////////////////////////////////////////////////////// … … 73 72 } 74 73 } 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 }87 74 88 75 // -
trunk/BNC/src/PPP/pppOptions.h
r5957 r6019 15 15 16 16 const std::vector<t_lc::type>& LCs(char system) const; 17 bool dualFreqRequired(char system) const;18 17 bool useOrbClkCorr() const; 19 18 std::vector<char> systems() const;
Note:
See TracChangeset
for help on using the changeset viewer.