Changeset 6242 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Oct 15, 2014, 6:31:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r6241 r6242 45 45 #include "bncutils.h" 46 46 #include "bnccore.h" 47 #include "bncsettings.h" 47 48 48 49 using namespace std; … … 1110 1111 //////////////////////////////////////////////////////////////////////////// 1111 1112 QString t_rnxObsFile::signalPriorities(char sys) { 1112 return "CWPX ?"; 1113 } 1113 1114 bncSettings settings; 1115 QStringList priorList = settings.value("rnxV2Priority").toString().split(" ", QString::SkipEmptyParts); 1116 1117 QString result; 1118 for (int ii = 0; ii < priorList.size(); ii++) { 1119 if (priorList[ii].indexOf(":") != -1) { 1120 QStringList hlp = priorList[ii].split(":", QString::SkipEmptyParts); 1121 if (hlp.size() == 2 && hlp[0].length() == 1 && hlp[0][0] == sys) { 1122 result = hlp[1]; 1123 break; 1124 } 1125 } 1126 else { 1127 result = priorList[ii]; 1128 } 1129 } 1130 1131 if (result.isEmpty()) { 1132 result = "CWPX_?"; 1133 } 1134 1135 return result; 1136 }
Note:
See TracChangeset
for help on using the changeset viewer.