Changeset 7940 in ntrip for trunk/BNC/src/upload
- Timestamp:
- May 31, 2016, 10:18:54 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r7781 r7940 765 765 biasSat->Biases[ii].Bias = it.value(); 766 766 } 767 else if (it.key() == "1X") { 768 int ii = biasSat->NumberOfCodeBiases; 769 if (ii >= CLOCKORBIT_NUMBIAS) 770 break; 771 biasSat->NumberOfCodeBiases += 1; 772 biasSat->Biases[ii].Type = CODETYPEGALILEO_E1_BC; 773 biasSat->Biases[ii].Bias = it.value(); 774 } 775 else if (it.key() == "1Z") { 776 int ii = biasSat->NumberOfCodeBiases; 777 if (ii >= CLOCKORBIT_NUMBIAS) 778 break; 779 biasSat->NumberOfCodeBiases += 1; 780 biasSat->Biases[ii].Type = CODETYPEGALILEO_E1_ABC; 781 biasSat->Biases[ii].Bias = it.value(); 782 } 767 783 else if (it.key() == "5I") { 768 784 int ii = biasSat->NumberOfCodeBiases; … … 781 797 biasSat->Biases[ii].Bias = it.value(); 782 798 } 799 else if (it.key() == "5X") { 800 int ii = biasSat->NumberOfCodeBiases; 801 if (ii >= CLOCKORBIT_NUMBIAS) 802 break; 803 biasSat->NumberOfCodeBiases += 1; 804 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5A_IQ; 805 biasSat->Biases[ii].Bias = it.value(); 806 } 783 807 else if (it.key() == "7I") { 784 808 int ii = biasSat->NumberOfCodeBiases; … … 797 821 biasSat->Biases[ii].Bias = it.value(); 798 822 } 823 else if (it.key() == "7X") { 824 int ii = biasSat->NumberOfCodeBiases; 825 if (ii >= CLOCKORBIT_NUMBIAS) 826 break; 827 biasSat->NumberOfCodeBiases += 1; 828 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5B_IQ; 829 biasSat->Biases[ii].Bias = it.value(); 830 } 799 831 else if (it.key() == "8I") { 800 832 int ii = biasSat->NumberOfCodeBiases; … … 813 845 biasSat->Biases[ii].Bias = it.value(); 814 846 } 847 else if (it.key() == "8X") { 848 int ii = biasSat->NumberOfCodeBiases; 849 if (ii >= CLOCKORBIT_NUMBIAS) 850 break; 851 biasSat->NumberOfCodeBiases += 1; 852 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5_IQ; 853 biasSat->Biases[ii].Bias = it.value(); 854 } 815 855 else if (it.key() == "6A") { 816 856 int ii = biasSat->NumberOfCodeBiases; … … 835 875 biasSat->NumberOfCodeBiases += 1; 836 876 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_C; 877 biasSat->Biases[ii].Bias = it.value(); 878 } 879 else if (it.key() == "6X") { 880 int ii = biasSat->NumberOfCodeBiases; 881 if (ii >= CLOCKORBIT_NUMBIAS) 882 break; 883 biasSat->NumberOfCodeBiases += 1; 884 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_BC; 885 biasSat->Biases[ii].Bias = it.value(); 886 } 887 else if (it.key() == "6Z") { 888 int ii = biasSat->NumberOfCodeBiases; 889 if (ii >= CLOCKORBIT_NUMBIAS) 890 break; 891 biasSat->NumberOfCodeBiases += 1; 892 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_ABC; 837 893 biasSat->Biases[ii].Bias = it.value(); 838 894 } … … 880 936 break; 881 937 biasSat->NumberOfCodeBiases += 1; 882 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CM;938 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 883 939 biasSat->Biases[ii].Bias = it.value(); 884 940 } … … 888 944 break; 889 945 biasSat->NumberOfCodeBiases += 1; 890 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CL;946 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 891 947 biasSat->Biases[ii].Bias = it.value(); 892 948 } … … 896 952 break; 897 953 biasSat->NumberOfCodeBiases += 1; 898 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CML;954 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 899 955 biasSat->Biases[ii].Bias = it.value(); 900 956 } … … 1390 1446 pbSig.discCount; 1391 1447 } 1448 else if (pbSig.type == "1X") { 1449 int ii = phasebiasSat->NumberOfPhaseBiases; 1450 if (ii >= CLOCKORBIT_NUMBIAS) 1451 break; 1452 phasebiasSat->NumberOfPhaseBiases += 1; 1453 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E1_BC; 1454 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1455 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1456 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1457 pbSig.wlInd; 1458 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1459 pbSig.discCount; 1460 } 1461 else if (pbSig.type == "1Z") { 1462 int ii = phasebiasSat->NumberOfPhaseBiases; 1463 if (ii >= CLOCKORBIT_NUMBIAS) 1464 break; 1465 phasebiasSat->NumberOfPhaseBiases += 1; 1466 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E1_ABC; 1467 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1468 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1469 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1470 pbSig.wlInd; 1471 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1472 pbSig.discCount; 1473 } 1392 1474 else if (pbSig.type == "5I") { 1393 1475 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1416 1498 pbSig.discCount; 1417 1499 } 1500 else if (pbSig.type == "5X") { 1501 int ii = phasebiasSat->NumberOfPhaseBiases; 1502 if (ii >= CLOCKORBIT_NUMBIAS) 1503 break; 1504 phasebiasSat->NumberOfPhaseBiases += 1; 1505 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5A_IQ; 1506 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1507 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1508 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1509 pbSig.wlInd; 1510 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1511 pbSig.discCount; 1512 } 1418 1513 else if (pbSig.type == "7I") { 1419 1514 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1442 1537 pbSig.discCount; 1443 1538 } 1539 else if (pbSig.type == "7X") { 1540 int ii = phasebiasSat->NumberOfPhaseBiases; 1541 if (ii >= CLOCKORBIT_NUMBIAS) 1542 break; 1543 phasebiasSat->NumberOfPhaseBiases += 1; 1544 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5B_IQ; 1545 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1546 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1547 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1548 pbSig.wlInd; 1549 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1550 pbSig.discCount; 1551 } 1444 1552 else if (pbSig.type == "8I") { 1445 1553 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1468 1576 pbSig.discCount; 1469 1577 } 1578 else if (pbSig.type == "8X") { 1579 int ii = phasebiasSat->NumberOfPhaseBiases; 1580 if (ii >= CLOCKORBIT_NUMBIAS) 1581 break; 1582 phasebiasSat->NumberOfPhaseBiases += 1; 1583 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5_IQ; 1584 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1585 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1586 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1587 pbSig.wlInd; 1588 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1589 pbSig.discCount; 1590 } 1470 1591 else if (pbSig.type == "6A") { 1471 1592 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1500 1621 phasebiasSat->NumberOfPhaseBiases += 1; 1501 1622 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_C; 1623 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1624 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1625 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1626 pbSig.wlInd; 1627 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1628 pbSig.discCount; 1629 } 1630 else if (pbSig.type == "6X") { 1631 int ii = phasebiasSat->NumberOfPhaseBiases; 1632 if (ii >= CLOCKORBIT_NUMBIAS) 1633 break; 1634 phasebiasSat->NumberOfPhaseBiases += 1; 1635 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_BC; 1636 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1637 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1638 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1639 pbSig.wlInd; 1640 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1641 pbSig.discCount; 1642 } 1643 else if (pbSig.type == "6Z") { 1644 int ii = phasebiasSat->NumberOfPhaseBiases; 1645 if (ii >= CLOCKORBIT_NUMBIAS) 1646 break; 1647 phasebiasSat->NumberOfPhaseBiases += 1; 1648 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_ABC; 1502 1649 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1503 1650 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1570 1717 break; 1571 1718 phasebiasSat->NumberOfPhaseBiases += 1; 1572 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CM;1719 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 1573 1720 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1574 1721 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1583 1730 break; 1584 1731 phasebiasSat->NumberOfPhaseBiases += 1; 1585 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CL;1732 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 1586 1733 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1587 1734 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1596 1743 break; 1597 1744 phasebiasSat->NumberOfPhaseBiases += 1; 1598 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CML;1745 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 1599 1746 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1600 1747 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd;
Note:
See TracChangeset
for help on using the changeset viewer.