Changeset 4411 in ntrip for trunk/BNC/src/RTCM
- Timestamp:
- Jul 8, 2012, 3:15:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/GPSDecoder.cpp
r4410 r4411 114 114 ////////////////////////////////////////////////////////////////////////////// 115 115 int t_obs::iEntry(const QString& rnxStr, float rnxVers, bool nonEmpty) const { 116 116 117 if (rnxVers >= 3.0) { 117 118 return iEntryV3(rnxStr); 118 119 } 119 120 120 if (rnxStr == "C1") return iEntryV3("C1C"); 121 else if (rnxStr == "P1") return iEntryV3("C1P"); 122 else if (rnxStr == "C2") return iEntryV3("C2C"); 123 else if (rnxStr == "P2") return iEntryV3("C2P"); 124 125 const QString chars = "PWCZI "; 126 for (int ii = 0; ii < chars.length(); ii++) { 127 QString hlpStr = rnxStr + chars[ii]; 128 int ie = iEntryV3(hlpStr.trimmed()); 129 if (ie != -1 && (!nonEmpty || _measdata[ie] != 0.0)) { 130 return ie; 121 if (satSys == 'G' || satSys == 'R') { 122 if (rnxStr == "C1") return iEntryV3("C1C"); 123 else if (rnxStr == "P1") return iEntryV3("C1P"); 124 else if (rnxStr == "C2") return iEntryV3("C2C"); 125 else if (rnxStr == "P2") return iEntryV3("C2P"); 126 127 const QString chars = "PWCZI "; 128 for (int ii = 0; ii < chars.length(); ii++) { 129 QString hlpStr = rnxStr + chars[ii]; 130 int ie = iEntryV3(hlpStr.trimmed()); 131 if (ie != -1 && (!nonEmpty || _measdata[ie] != 0.0)) { 132 return ie; 133 } 131 134 } 135 } 136 137 else { 138 return iEntryV3(rnxStr); 132 139 } 133 140
Note:
See TracChangeset
for help on using the changeset viewer.