Changeset 8009 in ntrip for branches/BNC_2.12/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Aug 10, 2016, 2:31:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/RTCM3/RTCM3coDecoder.cpp
r7967 r8009 685 685 if (system == 'G') { 686 686 switch (type) { 687 case CODETYPEGPS_L1_CA: return "1C"; 688 case CODETYPEGPS_L1_P: return "1P"; 689 case CODETYPEGPS_L1_Z: return "1W"; 690 case CODETYPEGPS_L2_CA: return "2C"; 691 case CODETYPEGPS_SEMI_CODELESS: return "?N"; // which carrier ? 692 case CODETYPEGPS_L2_CM: return "2S"; 693 case CODETYPEGPS_L2_CL: return "2L"; 694 case CODETYPEGPS_L2_CML: return "2X"; 695 case CODETYPEGPS_L2_P: return "2P"; 696 case CODETYPEGPS_L2_Z: return "2W"; 697 case CODETYPEGPS_L5_I: return "5I"; 698 case CODETYPEGPS_L5_Q: return "5Q"; 699 default: return ""; 687 case CODETYPEGPS_L1_CA: return "1C"; 688 case CODETYPEGPS_L1_P: return "1P"; 689 case CODETYPEGPS_L1_Z: return "1W"; 690 case CODETYPEGPS_L2_CA: return "2C"; 691 case CODETYPEGPS_SEMI_CODELESS: return "2D"; 692 case CODETYPEGPS_L2_CM: return "2S"; 693 case CODETYPEGPS_L2_CL: return "2L"; 694 case CODETYPEGPS_L2_CML: return "2X"; 695 case CODETYPEGPS_L2_P: return "2P"; 696 case CODETYPEGPS_L2_Z: return "2W"; 697 case CODETYPEGPS_L5_I: return "5I"; 698 case CODETYPEGPS_L5_Q: return "5Q"; 699 case CODETYPEGPS_L5_IQ: return "5X"; 700 case CODETYPEGPS_L1C_D: return "1S"; 701 case CODETYPEGPS_L1C_P: return "1L"; 702 case CODETYPEGPS_L1C_DP: return "1X"; 703 default: return ""; 700 704 } 701 705 } 702 706 else if (system == 'R') { 703 707 switch (type) { 704 case CODETYPEGLONASS_L1_CA: return "1C";705 case CODETYPEGLONASS_L1_P: return "1P";706 case CODETYPEGLONASS_L2_CA: return "2C";707 case CODETYPEGLONASS_L2_P: return "2P";708 default: return "";708 case CODETYPEGLONASS_L1_CA: return "1C"; 709 case CODETYPEGLONASS_L1_P: return "1P"; 710 case CODETYPEGLONASS_L2_CA: return "2C"; 711 case CODETYPEGLONASS_L2_P: return "2P"; 712 default: return ""; 709 713 } 710 714 } 711 715 else if (system == 'E') { 712 716 switch (type) { 713 case CODETYPEGALILEO_E1_A: return "1A"; 714 case CODETYPEGALILEO_E1_B: return "1B"; 715 case CODETYPEGALILEO_E1_C: return "1C"; 716 case CODETYPEGALILEO_E5A_I: return "5I"; 717 case CODETYPEGALILEO_E5A_Q: return "5Q"; 718 case CODETYPEGALILEO_E5B_I: return "7I"; 719 case CODETYPEGALILEO_E5B_Q: return "7Q"; 720 case CODETYPEGALILEO_E5_I: return "8I"; 721 case CODETYPEGALILEO_E5_Q: return "8Q"; 722 case CODETYPEGALILEO_E6_A: return "6A"; 723 case CODETYPEGALILEO_E6_B: return "6B"; 724 case CODETYPEGALILEO_E6_C: return "6C"; 725 default: return ""; 717 case CODETYPEGALILEO_E1_A: return "1A"; 718 case CODETYPEGALILEO_E1_B: return "1B"; 719 case CODETYPEGALILEO_E1_C: return "1C"; 720 case CODETYPEGALILEO_E1_BC: return "1X"; 721 case CODETYPEGALILEO_E1_ABC: return "1Z"; 722 case CODETYPEGALILEO_E5A_I: return "5I"; 723 case CODETYPEGALILEO_E5A_Q: return "5Q"; 724 case CODETYPEGALILEO_E5A_IQ: return "5X"; 725 case CODETYPEGALILEO_E5B_I: return "7I"; 726 case CODETYPEGALILEO_E5B_Q: return "7Q"; 727 case CODETYPEGALILEO_E5B_IQ: return "7X"; 728 case CODETYPEGALILEO_E5_I: return "8I"; 729 case CODETYPEGALILEO_E5_Q: return "8Q"; 730 case CODETYPEGALILEO_E5_IQ: return "8X"; 731 case CODETYPEGALILEO_E6_A: return "6A"; 732 case CODETYPEGALILEO_E6_B: return "6B"; 733 case CODETYPEGALILEO_E6_C: return "6C"; 734 case CODETYPEGALILEO_E6_BC: return "6X"; 735 case CODETYPEGALILEO_E6_ABC: return "6Z"; 736 default: return ""; 726 737 } 727 738 } 728 739 else if (system == 'J') { 729 740 switch (type) { 730 case CODETYPEQZSS_L1_CA:return "1C";731 case CODETYPEQZSS_L1C_D:return "1S";732 case CODETYPEQZSS_L1C_P:return "1L";733 case CODETYPEQZSS_L1C_DP:return "1X";734 case CODETYPEQZSS_L2_CM:return "2S";735 case CODETYPEQZSS_L2_CL:return "2L";736 case CODETYPEQZSS_L2_CML:return "2X";737 case CODETYPEQZSS_L5_I:return "5I";738 case CODETYPEQZSS_L5_Q:return "5Q";739 case CODETYPEQZSS_L5_IQ:return "5X";740 case CODETYPEQZSS_LEX_S:return "6S";741 case CODETYPEQZSS_LEX_L:return "6L";742 case CODETYPEQZSS_LEX_SL:return "6X";743 default: return "";741 case CODETYPEQZSS_L1_CA: return "1C"; 742 case CODETYPEQZSS_L1C_D: return "1S"; 743 case CODETYPEQZSS_L1C_P: return "1L"; 744 case CODETYPEQZSS_L1C_DP: return "1X"; 745 case CODETYPEQZSS_L2C_M: return "2S"; 746 case CODETYPEQZSS_L2C_L: return "2L"; 747 case CODETYPEQZSS_L2C_ML: return "2X"; 748 case CODETYPEQZSS_L5_I: return "5I"; 749 case CODETYPEQZSS_L5_Q: return "5Q"; 750 case CODETYPEQZSS_L5_IQ: return "5X"; 751 case CODETYPEQZSS_LEX_S: return "6S"; 752 case CODETYPEQZSS_LEX_L: return "6L"; 753 case CODETYPEQZSS_LEX_SL: return "6X"; 754 default: return ""; 744 755 } 745 756 } 746 757 else if (system == 'S') { 747 758 switch (type) { 748 case CODETYPE_SBAS_L1_CA: return "1C";749 case CODETYPE_SBAS_L5_I: return "5I";750 case CODETYPE_SBAS_L5_Q: return "5Q";751 case CODETYPE_SBAS_L5_IQ: return "5X";752 default: return "";759 case CODETYPE_SBAS_L1_CA: return "1C"; 760 case CODETYPE_SBAS_L5_I: return "5I"; 761 case CODETYPE_SBAS_L5_Q: return "5Q"; 762 case CODETYPE_SBAS_L5_IQ: return "5X"; 763 default: return ""; 753 764 } 754 765 } 755 766 else if (system == 'C') { 756 767 switch (type) { 757 case CODETYPE_BDS_B1_I: return "2I";758 case CODETYPE_BDS_B1_Q: return "2Q";759 case CODETYPE_BDS_B1_IQ: return "2X";760 case CODETYPE_BDS_B2_I: return "7I";761 case CODETYPE_BDS_B2_Q: return "7Q";762 case CODETYPE_BDS_B2_IQ: return "7X";763 case CODETYPE_BDS_B3_I: return "6I";764 case CODETYPE_BDS_B3_Q: return "6Q";765 case CODETYPE_BDS_B3_IQ: return "6X";766 default: return "";768 case CODETYPE_BDS_B1_I: return "2I"; 769 case CODETYPE_BDS_B1_Q: return "2Q"; 770 case CODETYPE_BDS_B1_IQ: return "2X"; 771 case CODETYPE_BDS_B2_I: return "7I"; 772 case CODETYPE_BDS_B2_Q: return "7Q"; 773 case CODETYPE_BDS_B2_IQ: return "7X"; 774 case CODETYPE_BDS_B3_I: return "6I"; 775 case CODETYPE_BDS_B3_Q: return "6Q"; 776 case CODETYPE_BDS_B3_IQ: return "6X"; 777 default: return ""; 767 778 } 768 779 }
Note:
See TracChangeset
for help on using the changeset viewer.