- Timestamp:
- Sep 14, 2014, 5:03:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6192 r6193 951 951 // Translate Observation Type v2 --> v3 952 952 //////////////////////////////////////////////////////////////////////////// 953 QString t_rnxObsFile::type2to3(char /* sys */, const QString& typeV2) {953 QString t_rnxObsFile::type2to3(char sys, const QString& typeV2) { 954 954 if (typeV2 == "P1") { 955 return "C1P";955 return (sys == 'G') ? "C1W" : "C1P"; 956 956 } 957 957 else if (typeV2 == "P2") { 958 return "C2P";958 return (sys == 'G') ? "C2W" : "C2P"; 959 959 } 960 960 return typeV2; … … 964 964 //////////////////////////////////////////////////////////////////////////// 965 965 QString t_rnxObsFile::type3to2(char /* sys */, const QString& typeV3) { 966 if (typeV3 == "C1P" ) {966 if (typeV3 == "C1P" || typeV3 == "C1W") { 967 967 return "P1"; 968 968 } 969 else if (typeV3 == "C2P" ) {969 else if (typeV3 == "C2P" || typeV3 == "C2W") { 970 970 return "P2"; 971 971 }
Note:
See TracChangeset
for help on using the changeset viewer.