Changeset 8843 in ntrip for branches/BNC_2.12/src/upload
- Timestamp:
- Nov 8, 2019, 10:44:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
r8841 r8843 684 684 biasSat->Biases[ii].Bias = it.value(); 685 685 } 686 else if (it.key() == "2D") {687 int ii = biasSat->NumberOfCodeBiases;688 if (ii >= CLOCKORBIT_NUMBIAS)689 break;690 biasSat->NumberOfCodeBiases += 1;691 biasSat->Biases[ii].Type = CODETYPEGPS_SEMI_CODELESS;692 biasSat->Biases[ii].Bias = it.value();693 }694 686 else if (it.key() == "2S") { 695 687 int ii = biasSat->NumberOfCodeBiases; … … 1054 1046 biasSat->Biases[ii].Bias = it.value(); 1055 1047 } 1048 else if (it.key() == "1X") { 1049 int ii = biasSat->NumberOfCodeBiases; 1050 if (ii >= CLOCKORBIT_NUMBIAS) 1051 break; 1052 biasSat->NumberOfCodeBiases += 1; 1053 biasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP; 1054 biasSat->Biases[ii].Bias = it.value(); 1055 } 1056 1056 else if (it.key() == "2S") { 1057 1057 int ii = biasSat->NumberOfCodeBiases; … … 1126 1126 biasSat->Biases[ii].Bias = it.value(); 1127 1127 } 1128 else if (it.key() == "1X") { 1129 int ii = biasSat->NumberOfCodeBiases; 1130 if (ii >= CLOCKORBIT_NUMBIAS) 1131 break; 1132 biasSat->NumberOfCodeBiases += 1; 1133 biasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP; 1134 biasSat->Biases[ii].Bias = it.value(); 1135 } 1136 else if (it.key() == "1Z") { 1137 int ii = biasSat->NumberOfCodeBiases; 1138 if (ii >= CLOCKORBIT_NUMBIAS) 1139 break; 1140 biasSat->NumberOfCodeBiases += 1; 1141 biasSat->Biases[ii].Type = CODETYPEQZSS_L1_S; 1142 biasSat->Biases[ii].Bias = it.value(); 1143 } 1144 else if (it.key() == "5D") { 1145 int ii = biasSat->NumberOfCodeBiases; 1146 if (ii >= CLOCKORBIT_NUMBIAS) 1147 break; 1148 biasSat->NumberOfCodeBiases += 1; 1149 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_D; 1150 biasSat->Biases[ii].Bias = it.value(); 1151 } 1152 else if (it.key() == "5P") { 1153 int ii = biasSat->NumberOfCodeBiases; 1154 if (ii >= CLOCKORBIT_NUMBIAS) 1155 break; 1156 biasSat->NumberOfCodeBiases += 1; 1157 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_P; 1158 biasSat->Biases[ii].Bias = it.value(); 1159 } 1160 else if (it.key() == "5Z") { 1161 int ii = biasSat->NumberOfCodeBiases; 1162 if (ii >= CLOCKORBIT_NUMBIAS) 1163 break; 1164 biasSat->NumberOfCodeBiases += 1; 1165 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_DP; 1166 biasSat->Biases[ii].Bias = it.value(); 1167 } 1168 else if (it.key() == "6E") { 1169 int ii = biasSat->NumberOfCodeBiases; 1170 if (ii >= CLOCKORBIT_NUMBIAS) 1171 break; 1172 biasSat->NumberOfCodeBiases += 1; 1173 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_E; 1174 biasSat->Biases[ii].Bias = it.value(); 1175 } 1176 else if (it.key() == "6Z") { 1177 int ii = biasSat->NumberOfCodeBiases; 1178 if (ii >= CLOCKORBIT_NUMBIAS) 1179 break; 1180 biasSat->NumberOfCodeBiases += 1; 1181 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_DE; 1182 biasSat->Biases[ii].Bias = it.value(); 1183 } 1184 } 1128 } 1185 1129 } 1186 1130 else if (prn.system() == 'S') { … … 1445 1389 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1446 1390 } 1447 else if (pbSig.type == "2D") {1448 int ii = phasebiasSat->NumberOfPhaseBiases;1449 if (ii >= CLOCKORBIT_NUMBIAS)1450 break;1451 phasebiasSat->NumberOfPhaseBiases += 1;1452 phasebiasSat->Biases[ii].Type = CODETYPEGPS_SEMI_CODELESS;1453 phasebiasSat->Biases[ii].Bias = pbSig.bias;1454 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;1455 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;1456 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;1457 }1458 1391 else if (pbSig.type == "2S") { 1459 1392 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1979 1912 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1980 1913 } 1914 else if (pbSig.type == "1X") { 1915 int ii = phasebiasSat->NumberOfPhaseBiases; 1916 if (ii >= CLOCKORBIT_NUMBIAS) 1917 break; 1918 phasebiasSat->NumberOfPhaseBiases += 1; 1919 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP; 1920 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1921 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1922 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1923 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1924 } 1981 1925 else if (pbSig.type == "2S") { 1982 1926 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2072 2016 phasebiasSat->NumberOfPhaseBiases += 1; 2073 2017 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DP; 2074 phasebiasSat->Biases[ii].Bias = pbSig.bias;2075 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2076 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2077 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2078 }2079 else if (pbSig.type == "1X") {2080 int ii = phasebiasSat->NumberOfPhaseBiases;2081 if (ii >= CLOCKORBIT_NUMBIAS)2082 break;2083 phasebiasSat->NumberOfPhaseBiases += 1;2084 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP;2085 phasebiasSat->Biases[ii].Bias = pbSig.bias;2086 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2087 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2088 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2089 }2090 else if (pbSig.type == "1Z") {2091 int ii = phasebiasSat->NumberOfPhaseBiases;2092 if (ii >= CLOCKORBIT_NUMBIAS)2093 break;2094 phasebiasSat->NumberOfPhaseBiases += 1;2095 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1_S;2096 phasebiasSat->Biases[ii].Bias = pbSig.bias;2097 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2098 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2099 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2100 }2101 else if (pbSig.type == "5D") {2102 int ii = phasebiasSat->NumberOfPhaseBiases;2103 if (ii >= CLOCKORBIT_NUMBIAS)2104 break;2105 phasebiasSat->NumberOfPhaseBiases += 1;2106 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_D;2107 phasebiasSat->Biases[ii].Bias = pbSig.bias;2108 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2109 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2110 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2111 }2112 else if (pbSig.type == "5P") {2113 int ii = phasebiasSat->NumberOfPhaseBiases;2114 if (ii >= CLOCKORBIT_NUMBIAS)2115 break;2116 phasebiasSat->NumberOfPhaseBiases += 1;2117 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_P;2118 phasebiasSat->Biases[ii].Bias = pbSig.bias;2119 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2120 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2121 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2122 }2123 else if (pbSig.type == "5Z") {2124 int ii = phasebiasSat->NumberOfPhaseBiases;2125 if (ii >= CLOCKORBIT_NUMBIAS)2126 break;2127 phasebiasSat->NumberOfPhaseBiases += 1;2128 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_DP;2129 phasebiasSat->Biases[ii].Bias = pbSig.bias;2130 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2131 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2132 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2133 }2134 else if (pbSig.type == "6E") {2135 int ii = phasebiasSat->NumberOfPhaseBiases;2136 if (ii >= CLOCKORBIT_NUMBIAS)2137 break;2138 phasebiasSat->NumberOfPhaseBiases += 1;2139 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_E;2140 phasebiasSat->Biases[ii].Bias = pbSig.bias;2141 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2142 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2143 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2144 }2145 else if (pbSig.type == "6Z") {2146 int ii = phasebiasSat->NumberOfPhaseBiases;2147 if (ii >= CLOCKORBIT_NUMBIAS)2148 break;2149 phasebiasSat->NumberOfPhaseBiases += 1;2150 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DE;2151 2018 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2152 2019 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;
Note:
See TracChangeset
for help on using the changeset viewer.