Changeset 5550 in ntrip for trunk/BNC/src/RTCM
- Timestamp:
- Nov 17, 2013, 1:23:49 PM (11 years ago)
- Location:
- trunk/BNC/src/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/GPSDecoder.cpp
r5549 r5550 115 115 // 116 116 ////////////////////////////////////////////////////////////////////////////// 117 double t_obs::measdata( const QString&rnxStr, float rnxVers) const {117 double t_obs::measdata(QString rnxStr, float rnxVers) const { 118 118 119 QString rnxStr_l = rnxStr;120 121 119 if (rnxVers < 3.0) { 122 if (rnxStr_l == "C1") rnxStr_l = "C1C"; 123 else if (rnxStr_l == "P1") rnxStr_l = "C1P"; 124 else if (rnxStr_l == "C2") rnxStr_l = "C2C"; 125 else if (rnxStr_l == "P2") rnxStr_l = "C2P"; 126 } 127 128 int ie = iEntry(rnxStr_l); 120 if (rnxStr == "C1") rnxStr = "C1C"; 121 else if (rnxStr == "P1") rnxStr = "C1P"; 122 else if (rnxStr == "C2") rnxStr = "C2C"; 123 else if (rnxStr == "P2") rnxStr = "C2P"; 124 } 125 126 int ie = iEntry(rnxStr); 127 129 128 if (ie != -1) { 130 129 return _measdata[ie]; -
trunk/BNC/src/RTCM/GPSDecoder.h
r5529 r5550 66 66 ~t_obs() {} 67 67 68 double measdata( const QString&rnxStr, float rnxVer) const;68 double measdata(QString rnxStr, float rnxVer) const; 69 69 void setMeasdata(QString rnxStr, float rnxVer, double value); 70 70
Note:
See TracChangeset
for help on using the changeset viewer.