Changeset 8005 in ntrip for branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
- Timestamp:
- Aug 9, 2016, 11:27:58 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
r7781 r8005 601 601 biasSat->Biases[ii].Bias = it.value(); 602 602 } 603 else if (it.key() == "1S") { 604 int ii = biasSat->NumberOfCodeBiases; 605 if (ii >= CLOCKORBIT_NUMBIAS) 606 break; 607 biasSat->NumberOfCodeBiases += 1; 608 biasSat->Biases[ii].Type = CODETYPEGPS_L1C_D; 609 biasSat->Biases[ii].Bias = it.value(); 610 } 611 else if (it.key() == "1L") { 612 int ii = biasSat->NumberOfCodeBiases; 613 if (ii >= CLOCKORBIT_NUMBIAS) 614 break; 615 biasSat->NumberOfCodeBiases += 1; 616 biasSat->Biases[ii].Type = CODETYPEGPS_L1C_P; 617 biasSat->Biases[ii].Bias = it.value(); 618 } 619 else if (it.key() == "1X") { 620 int ii = biasSat->NumberOfCodeBiases; 621 if (ii >= CLOCKORBIT_NUMBIAS) 622 break; 623 biasSat->NumberOfCodeBiases += 1; 624 biasSat->Biases[ii].Type = CODETYPEGPS_L1C_DP; 625 biasSat->Biases[ii].Bias = it.value(); 626 } 603 627 else if (it.key() == "1P") { 604 628 int ii = biasSat->NumberOfCodeBiases; … … 765 789 biasSat->Biases[ii].Bias = it.value(); 766 790 } 791 else if (it.key() == "1X") { 792 int ii = biasSat->NumberOfCodeBiases; 793 if (ii >= CLOCKORBIT_NUMBIAS) 794 break; 795 biasSat->NumberOfCodeBiases += 1; 796 biasSat->Biases[ii].Type = CODETYPEGALILEO_E1_BC; 797 biasSat->Biases[ii].Bias = it.value(); 798 } 799 else if (it.key() == "1Z") { 800 int ii = biasSat->NumberOfCodeBiases; 801 if (ii >= CLOCKORBIT_NUMBIAS) 802 break; 803 biasSat->NumberOfCodeBiases += 1; 804 biasSat->Biases[ii].Type = CODETYPEGALILEO_E1_ABC; 805 biasSat->Biases[ii].Bias = it.value(); 806 } 767 807 else if (it.key() == "5I") { 768 808 int ii = biasSat->NumberOfCodeBiases; … … 781 821 biasSat->Biases[ii].Bias = it.value(); 782 822 } 823 else if (it.key() == "5X") { 824 int ii = biasSat->NumberOfCodeBiases; 825 if (ii >= CLOCKORBIT_NUMBIAS) 826 break; 827 biasSat->NumberOfCodeBiases += 1; 828 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5A_IQ; 829 biasSat->Biases[ii].Bias = it.value(); 830 } 783 831 else if (it.key() == "7I") { 784 832 int ii = biasSat->NumberOfCodeBiases; … … 797 845 biasSat->Biases[ii].Bias = it.value(); 798 846 } 847 else if (it.key() == "7X") { 848 int ii = biasSat->NumberOfCodeBiases; 849 if (ii >= CLOCKORBIT_NUMBIAS) 850 break; 851 biasSat->NumberOfCodeBiases += 1; 852 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5B_IQ; 853 biasSat->Biases[ii].Bias = it.value(); 854 } 799 855 else if (it.key() == "8I") { 800 856 int ii = biasSat->NumberOfCodeBiases; … … 813 869 biasSat->Biases[ii].Bias = it.value(); 814 870 } 871 else if (it.key() == "8X") { 872 int ii = biasSat->NumberOfCodeBiases; 873 if (ii >= CLOCKORBIT_NUMBIAS) 874 break; 875 biasSat->NumberOfCodeBiases += 1; 876 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5_IQ; 877 biasSat->Biases[ii].Bias = it.value(); 878 } 815 879 else if (it.key() == "6A") { 816 880 int ii = biasSat->NumberOfCodeBiases; … … 835 899 biasSat->NumberOfCodeBiases += 1; 836 900 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_C; 901 biasSat->Biases[ii].Bias = it.value(); 902 } 903 else if (it.key() == "6X") { 904 int ii = biasSat->NumberOfCodeBiases; 905 if (ii >= CLOCKORBIT_NUMBIAS) 906 break; 907 biasSat->NumberOfCodeBiases += 1; 908 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_BC; 909 biasSat->Biases[ii].Bias = it.value(); 910 } 911 else if (it.key() == "6Z") { 912 int ii = biasSat->NumberOfCodeBiases; 913 if (ii >= CLOCKORBIT_NUMBIAS) 914 break; 915 biasSat->NumberOfCodeBiases += 1; 916 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_ABC; 837 917 biasSat->Biases[ii].Bias = it.value(); 838 918 } … … 880 960 break; 881 961 biasSat->NumberOfCodeBiases += 1; 882 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CM;962 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 883 963 biasSat->Biases[ii].Bias = it.value(); 884 964 } … … 888 968 break; 889 969 biasSat->NumberOfCodeBiases += 1; 890 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CL;970 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 891 971 biasSat->Biases[ii].Bias = it.value(); 892 972 } … … 896 976 break; 897 977 biasSat->NumberOfCodeBiases += 1; 898 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CML;978 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 899 979 biasSat->Biases[ii].Bias = it.value(); 900 980 } … … 1131 1211 pbSig.discCount; 1132 1212 } 1213 else if (pbSig.type == "1S") { 1214 int ii = phasebiasSat->NumberOfPhaseBiases; 1215 if (ii >= CLOCKORBIT_NUMBIAS) 1216 break; 1217 phasebiasSat->NumberOfPhaseBiases += 1; 1218 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1C_D; 1219 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1220 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1221 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1222 pbSig.wlInd; 1223 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1224 pbSig.discCount; 1225 } 1226 else if (pbSig.type == "1L") { 1227 int ii = phasebiasSat->NumberOfPhaseBiases; 1228 if (ii >= CLOCKORBIT_NUMBIAS) 1229 break; 1230 phasebiasSat->NumberOfPhaseBiases += 1; 1231 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1C_P; 1232 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1233 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1234 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1235 pbSig.wlInd; 1236 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1237 pbSig.discCount; 1238 } 1239 else if (pbSig.type == "1X") { 1240 int ii = phasebiasSat->NumberOfPhaseBiases; 1241 if (ii >= CLOCKORBIT_NUMBIAS) 1242 break; 1243 phasebiasSat->NumberOfPhaseBiases += 1; 1244 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1C_P; 1245 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1246 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1247 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1248 pbSig.wlInd; 1249 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1250 pbSig.discCount; 1251 } 1133 1252 else if (pbSig.type == "1P") { 1134 1253 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1390 1509 pbSig.discCount; 1391 1510 } 1511 else if (pbSig.type == "1X") { 1512 int ii = phasebiasSat->NumberOfPhaseBiases; 1513 if (ii >= CLOCKORBIT_NUMBIAS) 1514 break; 1515 phasebiasSat->NumberOfPhaseBiases += 1; 1516 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E1_BC; 1517 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1518 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1519 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1520 pbSig.wlInd; 1521 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1522 pbSig.discCount; 1523 } 1524 else if (pbSig.type == "1Z") { 1525 int ii = phasebiasSat->NumberOfPhaseBiases; 1526 if (ii >= CLOCKORBIT_NUMBIAS) 1527 break; 1528 phasebiasSat->NumberOfPhaseBiases += 1; 1529 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E1_ABC; 1530 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1531 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1532 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1533 pbSig.wlInd; 1534 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1535 pbSig.discCount; 1536 } 1392 1537 else if (pbSig.type == "5I") { 1393 1538 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1416 1561 pbSig.discCount; 1417 1562 } 1563 else if (pbSig.type == "5X") { 1564 int ii = phasebiasSat->NumberOfPhaseBiases; 1565 if (ii >= CLOCKORBIT_NUMBIAS) 1566 break; 1567 phasebiasSat->NumberOfPhaseBiases += 1; 1568 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5A_IQ; 1569 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1570 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1571 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1572 pbSig.wlInd; 1573 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1574 pbSig.discCount; 1575 } 1418 1576 else if (pbSig.type == "7I") { 1419 1577 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1442 1600 pbSig.discCount; 1443 1601 } 1602 else if (pbSig.type == "7X") { 1603 int ii = phasebiasSat->NumberOfPhaseBiases; 1604 if (ii >= CLOCKORBIT_NUMBIAS) 1605 break; 1606 phasebiasSat->NumberOfPhaseBiases += 1; 1607 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5B_IQ; 1608 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1609 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1610 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1611 pbSig.wlInd; 1612 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1613 pbSig.discCount; 1614 } 1444 1615 else if (pbSig.type == "8I") { 1445 1616 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1468 1639 pbSig.discCount; 1469 1640 } 1641 else if (pbSig.type == "8X") { 1642 int ii = phasebiasSat->NumberOfPhaseBiases; 1643 if (ii >= CLOCKORBIT_NUMBIAS) 1644 break; 1645 phasebiasSat->NumberOfPhaseBiases += 1; 1646 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5_IQ; 1647 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1648 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1649 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1650 pbSig.wlInd; 1651 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1652 pbSig.discCount; 1653 } 1470 1654 else if (pbSig.type == "6A") { 1471 1655 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1507 1691 pbSig.discCount; 1508 1692 } 1693 else if (pbSig.type == "6X") { 1694 int ii = phasebiasSat->NumberOfPhaseBiases; 1695 if (ii >= CLOCKORBIT_NUMBIAS) 1696 break; 1697 phasebiasSat->NumberOfPhaseBiases += 1; 1698 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_BC; 1699 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1700 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1701 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1702 pbSig.wlInd; 1703 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1704 pbSig.discCount; 1705 } 1706 else if (pbSig.type == "6Z") { 1707 int ii = phasebiasSat->NumberOfPhaseBiases; 1708 if (ii >= CLOCKORBIT_NUMBIAS) 1709 break; 1710 phasebiasSat->NumberOfPhaseBiases += 1; 1711 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_ABC; 1712 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1713 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1714 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1715 pbSig.wlInd; 1716 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1717 pbSig.discCount; 1718 } 1509 1719 } 1510 1720 } … … 1570 1780 break; 1571 1781 phasebiasSat->NumberOfPhaseBiases += 1; 1572 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CM;1782 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 1573 1783 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1574 1784 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1583 1793 break; 1584 1794 phasebiasSat->NumberOfPhaseBiases += 1; 1585 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CL;1795 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 1586 1796 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1587 1797 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1596 1806 break; 1597 1807 phasebiasSat->NumberOfPhaseBiases += 1; 1598 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CML;1808 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 1599 1809 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1600 1810 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd;
Note:
See TracChangeset
for help on using the changeset viewer.