Changeset 8969 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Jul 3, 2020, 11:41:26 AM (5 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8967 r8969 660 660 biasSat->Biases[ii].Bias = it.value(); 661 661 } 662 #ifdef USE_SSR_RTCM 662 663 else if (it.key() == "1X") { 663 664 int ii = biasSat->NumberOfCodeBiases; … … 668 669 biasSat->Biases[ii].Bias = it.value(); 669 670 } 671 #endif 670 672 else if (it.key() == "1P") { 671 673 int ii = biasSat->NumberOfCodeBiases; … … 716 718 biasSat->Biases[ii].Bias = it.value(); 717 719 } 720 #ifdef USE_SSR_RTCM 718 721 else if (it.key() == "2X") { 719 722 int ii = biasSat->NumberOfCodeBiases; … … 724 727 biasSat->Biases[ii].Bias = it.value(); 725 728 } 729 #endif 726 730 else if (it.key() == "2P") { 727 731 int ii = biasSat->NumberOfCodeBiases; … … 756 760 biasSat->Biases[ii].Bias = it.value(); 757 761 } 762 #ifdef USE_SSR_RTCM 758 763 else if (it.key() == "5X") { 759 764 int ii = biasSat->NumberOfCodeBiases; … … 764 769 biasSat->Biases[ii].Bias = it.value(); 765 770 } 771 #endif 766 772 } 767 773 } … … 818 824 biasSat->Biases[ii].Bias = it.value(); 819 825 } 826 #ifdef USE_SSR_RTCM 820 827 else if (it.key() == "4X") { 821 828 int ii = biasSat->NumberOfCodeBiases; … … 826 833 biasSat->Biases[ii].Bias = it.value(); 827 834 } 835 #endif 828 836 else if (it.key() == "6A") { 829 837 int ii = biasSat->NumberOfCodeBiases; … … 842 850 biasSat->Biases[ii].Bias = it.value(); 843 851 } 852 #ifdef USE_SSR_RTCM 844 853 else if (it.key() == "6X") { 845 854 int ii = biasSat->NumberOfCodeBiases; … … 850 859 biasSat->Biases[ii].Bias = it.value(); 851 860 } 861 #endif 852 862 else if (it.key() == "3I") { 853 863 int ii = biasSat->NumberOfCodeBiases; … … 866 876 biasSat->Biases[ii].Bias = it.value(); 867 877 } 878 #ifdef USE_SSR_RTCM 868 879 else if (it.key() == "3X") { 869 880 int ii = biasSat->NumberOfCodeBiases; … … 874 885 biasSat->Biases[ii].Bias = it.value(); 875 886 } 887 #endif 876 888 } 877 889 } … … 904 916 biasSat->Biases[ii].Bias = it.value(); 905 917 } 918 #ifdef USE_SSR_RTCM 906 919 else if (it.key() == "1X") { 907 920 int ii = biasSat->NumberOfCodeBiases; … … 920 933 biasSat->Biases[ii].Bias = it.value(); 921 934 } 935 #endif 922 936 else if (it.key() == "5I") { 923 937 int ii = biasSat->NumberOfCodeBiases; … … 936 950 biasSat->Biases[ii].Bias = it.value(); 937 951 } 952 #ifdef USE_SSR_RTCM 938 953 else if (it.key() == "5X") { 939 954 int ii = biasSat->NumberOfCodeBiases; … … 944 959 biasSat->Biases[ii].Bias = it.value(); 945 960 } 961 #endif 946 962 else if (it.key() == "7I") { 947 963 int ii = biasSat->NumberOfCodeBiases; … … 960 976 biasSat->Biases[ii].Bias = it.value(); 961 977 } 978 #ifdef USE_SSR_RTCM 962 979 else if (it.key() == "7X") { 963 980 int ii = biasSat->NumberOfCodeBiases; … … 992 1009 biasSat->Biases[ii].Bias = it.value(); 993 1010 } 1011 #endif 994 1012 else if (it.key() == "6A") { 995 1013 int ii = biasSat->NumberOfCodeBiases; … … 1016 1034 biasSat->Biases[ii].Bias = it.value(); 1017 1035 } 1036 #ifdef USE_SSR_RTCM 1018 1037 else if (it.key() == "6X") { 1019 1038 int ii = biasSat->NumberOfCodeBiases; … … 1032 1051 biasSat->Biases[ii].Bias = it.value(); 1033 1052 } 1053 #endif 1034 1054 } 1035 1055 } … … 1078 1098 biasSat->Biases[ii].Bias = it.value(); 1079 1099 } 1100 #ifdef USE_SSR_RTCM 1080 1101 else if (it.key() == "2X") { 1081 1102 int ii = biasSat->NumberOfCodeBiases; … … 1086 1107 biasSat->Biases[ii].Bias = it.value(); 1087 1108 } 1109 #endif 1088 1110 else if (it.key() == "5I") { 1089 1111 int ii = biasSat->NumberOfCodeBiases; … … 1102 1124 biasSat->Biases[ii].Bias = it.value(); 1103 1125 } 1126 #ifdef USE_SSR_RTCM 1104 1127 else if (it.key() == "5X") { 1105 1128 int ii = biasSat->NumberOfCodeBiases; … … 1110 1133 biasSat->Biases[ii].Bias = it.value(); 1111 1134 } 1135 #endif 1112 1136 else if (it.key() == "6S") { 1113 1137 int ii = biasSat->NumberOfCodeBiases; … … 1126 1150 biasSat->Biases[ii].Bias = it.value(); 1127 1151 } 1152 #ifdef USE_SSR_RTCM 1128 1153 else if (it.key() == "6X") { 1129 1154 int ii = biasSat->NumberOfCodeBiases; … … 1174 1199 biasSat->Biases[ii].Bias = it.value(); 1175 1200 } 1201 #endif 1176 1202 else if (it.key() == "6E") { 1177 1203 int ii = biasSat->NumberOfCodeBiases; … … 1182 1208 biasSat->Biases[ii].Bias = it.value(); 1183 1209 } 1210 #ifdef USE_SSR_RTCM 1184 1211 else if (it.key() == "6Z") { 1185 1212 int ii = biasSat->NumberOfCodeBiases; … … 1190 1217 biasSat->Biases[ii].Bias = it.value(); 1191 1218 } 1219 #endif 1192 1220 } 1193 1221 } … … 1220 1248 biasSat->Biases[ii].Bias = it.value(); 1221 1249 } 1250 #ifdef USE_SSR_RTCM 1222 1251 else if (it.key() == "5X") { 1223 1252 int ii = biasSat->NumberOfCodeBiases; … … 1228 1257 biasSat->Biases[ii].Bias = it.value(); 1229 1258 } 1259 #endif 1230 1260 } 1231 1261 } … … 1250 1280 biasSat->Biases[ii].Bias = it.value(); 1251 1281 } 1282 #ifdef USE_SSR_RTCM 1252 1283 else if (it.key() == "2X") { 1253 1284 int ii = biasSat->NumberOfCodeBiases; … … 1258 1289 biasSat->Biases[ii].Bias = it.value(); 1259 1290 } 1291 #endif 1260 1292 else if (it.key() == "6I") { 1261 1293 int ii = biasSat->NumberOfCodeBiases; … … 1274 1306 biasSat->Biases[ii].Bias = it.value(); 1275 1307 } 1308 #ifdef USE_SSR_RTCM 1276 1309 else if (it.key() == "6X") { 1277 1310 int ii = biasSat->NumberOfCodeBiases; … … 1282 1315 biasSat->Biases[ii].Bias = it.value(); 1283 1316 } 1317 #endif 1284 1318 else if (it.key() == "7I") { 1285 1319 int ii = biasSat->NumberOfCodeBiases; … … 1298 1332 biasSat->Biases[ii].Bias = it.value(); 1299 1333 } 1334 #ifdef USE_SSR_RTCM 1300 1335 else if (it.key() == "7X") { 1301 1336 int ii = biasSat->NumberOfCodeBiases; … … 1306 1341 biasSat->Biases[ii].Bias = it.value(); 1307 1342 } 1343 #endif 1308 1344 else if (it.key() == "1D") { 1309 1345 int ii = biasSat->NumberOfCodeBiases; … … 1322 1358 biasSat->Biases[ii].Bias = it.value(); 1323 1359 } 1360 #ifdef USE_SSR_RTCM 1324 1361 else if (it.key() == "1X") { 1325 1362 int ii = biasSat->NumberOfCodeBiases; … … 1330 1367 biasSat->Biases[ii].Bias = it.value(); 1331 1368 } 1369 #endif 1332 1370 else if (it.key() == "5D") { 1333 1371 int ii = biasSat->NumberOfCodeBiases; … … 1346 1384 biasSat->Biases[ii].Bias = it.value(); 1347 1385 } 1386 #ifdef USE_SSR_RTCM 1348 1387 else if (it.key() == "5X") { 1349 1388 int ii = biasSat->NumberOfCodeBiases; … … 1354 1393 biasSat->Biases[ii].Bias = it.value(); 1355 1394 } 1395 #elif USE_SSR_IGS 1396 else if (it.key() == "1A") { 1397 int ii = biasSat->NumberOfCodeBiases; 1398 if (ii >= CLOCKORBIT_NUMBIAS) 1399 break; 1400 biasSat->NumberOfCodeBiases += 1; 1401 biasSat->Biases[ii].Type = CODETYPE_BDS_B1_A; 1402 biasSat->Biases[ii].Bias = it.value(); 1403 } 1404 else if (it.key() == "6A") { 1405 int ii = biasSat->NumberOfCodeBiases; 1406 if (ii >= CLOCKORBIT_NUMBIAS) 1407 break; 1408 biasSat->NumberOfCodeBiases += 1; 1409 biasSat->Biases[ii].Type = CODETYPE_BDS_B3_A; 1410 biasSat->Biases[ii].Bias = it.value(); 1411 } 1412 #endif 1356 1413 } 1357 1414 } … … 1485 1542 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1486 1543 } 1544 #ifdef USE_SSR_RTCM 1487 1545 else if (pbSig.type == "2X") { 1488 1546 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1496 1554 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1497 1555 } 1556 #endif 1498 1557 else if (pbSig.type == "2P") { 1499 1558 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1540 1599 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1541 1600 } 1601 #ifdef USE_SSR_RTCM 1542 1602 else if (pbSig.type == "5X") { 1543 1603 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1551 1611 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1552 1612 } 1613 #endif 1553 1614 else if (pbSig.type == "1S") { 1554 1615 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1573 1634 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1574 1635 } 1636 #ifdef USE_SSR_RTCM 1575 1637 else if (pbSig.type == "1X") { 1576 1638 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1584 1646 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1585 1647 } 1648 #endif 1586 1649 } 1587 1650 } … … 1656 1719 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1657 1720 } 1721 #ifdef USE_SSR_RTCM 1658 1722 else if (pbSig.type == "4X") { 1659 1723 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1667 1731 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1668 1732 } 1733 #endif 1669 1734 else if (pbSig.type == "6A") { 1670 1735 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1689 1754 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1690 1755 } 1756 #ifdef USE_SSR_RTCM 1691 1757 else if (pbSig.type == "6X") { 1692 1758 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1700 1766 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1701 1767 } 1768 #endif 1702 1769 else if (pbSig.type == "3I") { 1703 1770 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1722 1789 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1723 1790 } 1791 #ifdef USE_SSR_RTCM 1724 1792 else if (pbSig.type == "3X") { 1725 1793 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1733 1801 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1734 1802 } 1803 #endif 1735 1804 } 1736 1805 } … … 1772 1841 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1773 1842 } 1843 #ifdef USE_SSR_RTCM 1774 1844 else if (pbSig.type == "1X") { 1775 1845 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1794 1864 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1795 1865 } 1866 #endif 1796 1867 else if (pbSig.type == "5I") { 1797 1868 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1816 1887 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1817 1888 } 1889 #ifdef USE_SSR_RTCM 1818 1890 else if (pbSig.type == "5X") { 1819 1891 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1827 1899 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1828 1900 } 1901 #endif 1829 1902 else if (pbSig.type == "7I") { 1830 1903 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1849 1922 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1850 1923 } 1924 #ifdef USE_SSR_RTCM 1851 1925 else if (pbSig.type == "7X") { 1852 1926 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1893 1967 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1894 1968 } 1969 #endif 1895 1970 else if (pbSig.type == "6A") { 1896 1971 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1926 2001 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1927 2002 } 2003 #ifdef USE_SSR_RTCM 1928 2004 else if (pbSig.type == "6X") { 1929 2005 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1948 2024 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1949 2025 } 2026 #endif 1950 2027 } 1951 2028 } … … 2008 2085 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2009 2086 } 2087 #ifdef USE_SSR_RTCM 2010 2088 else if (pbSig.type == "2X") { 2011 2089 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2018 2096 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2019 2097 } 2098 #endif 2020 2099 else if (pbSig.type == "5I") { 2021 2100 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2040 2119 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2041 2120 } 2121 #ifdef USE_SSR_RTCM 2042 2122 else if (pbSig.type == "5X") { 2043 2123 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2051 2131 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2052 2132 } 2133 #endif 2053 2134 else if (pbSig.type == "6S") { 2054 2135 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2073 2154 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2074 2155 } 2156 #ifdef USE_SSR_RTCM 2075 2157 else if (pbSig.type == "6X") { 2076 2158 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2139 2221 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2140 2222 } 2223 #endif 2141 2224 else if (pbSig.type == "6E") { 2142 2225 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2150 2233 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2151 2234 } 2235 #ifdef USE_SSR_RTCM 2152 2236 else if (pbSig.type == "6Z") { 2153 2237 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2161 2245 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2162 2246 } 2247 #endif 2163 2248 } 2164 2249 } … … 2199 2284 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2200 2285 } 2286 #ifdef USE_SSR_RTCM 2201 2287 else if (pbSig.type == "5X") { 2202 2288 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2210 2296 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2211 2297 } 2298 #endif 2212 2299 } 2213 2300 } … … 2238 2325 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2239 2326 } 2327 #ifdef USE_SSR_RTCM 2240 2328 else if (pbSig.type == "2X") { 2241 2329 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2249 2337 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2250 2338 } 2339 #endif 2251 2340 else if (pbSig.type == "6I") { 2252 2341 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2271 2360 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2272 2361 } 2362 #ifdef USE_SSR_RTCM 2273 2363 else if (pbSig.type == "6X") { 2274 2364 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2282 2372 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2283 2373 } 2374 #endif 2284 2375 else if (pbSig.type == "7I") { 2285 2376 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2304 2395 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2305 2396 } 2397 #ifdef USE_SSR_RTCM 2306 2398 else if (pbSig.type == "7X") { 2307 2399 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2314 2406 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2315 2407 } 2408 #endif 2316 2409 else if (pbSig.type == "1D") { 2317 2410 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2334 2427 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2335 2428 } 2429 #ifdef USE_SSR_RTCM 2336 2430 else if (pbSig.type == "1X") { 2337 2431 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2344 2438 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2345 2439 } 2440 #endif 2346 2441 else if (pbSig.type == "5D") { 2347 2442 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2364 2459 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2365 2460 } 2461 #ifdef USE_SSR_RTCM 2366 2462 else if (pbSig.type == "5X") { 2367 2463 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2374 2470 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2375 2471 } 2472 #elif USE_SSR_IGS 2473 else if (pbSig.type == "1A") { 2474 int ii = phasebiasSat->NumberOfPhaseBiases; 2475 if (ii >= CLOCKORBIT_NUMBIAS) 2476 break; 2477 phasebiasSat->NumberOfPhaseBiases += 1; 2478 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1_A; 2479 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2480 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2481 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2482 } 2483 else if (pbSig.type == "6A") { 2484 int ii = phasebiasSat->NumberOfPhaseBiases; 2485 if (ii >= CLOCKORBIT_NUMBIAS) 2486 break; 2487 phasebiasSat->NumberOfPhaseBiases += 1; 2488 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B3_A; 2489 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2490 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2491 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2492 } 2493 #endif 2376 2494 } 2377 2495 } -
trunk/BNC/src/upload/bncrtnetuploadcaster.h
r8542 r8969 7 7 #include "ephemeris.h" 8 8 extern "C" { 9 #include "clock_orbit_rtcm.h" 9 #ifdef USE_SSR_RTCM 10 #include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h" 11 #elif USE_SSR_IGS 12 #include "../RTCM3/clock_and_orbit/clock_orbit_igs.h" 13 #endif 10 14 } 11 15
Note:
See TracChangeset
for help on using the changeset viewer.