- Timestamp:
- Aug 10, 2016, 2:26:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r7971 r8008 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_E1_BC:return "1X";717 case CODETYPEGALILEO_E1_ABC:return "1Z";718 case CODETYPEGALILEO_E5A_I:return "5I";719 case CODETYPEGALILEO_E5A_Q:return "5Q";720 case CODETYPEGALILEO_E5A_IQ:return "5X";721 case CODETYPEGALILEO_E5B_I:return "7I";722 case CODETYPEGALILEO_E5B_Q:return "7Q";723 case CODETYPEGALILEO_E5B_IQ:return "7X";724 case CODETYPEGALILEO_E5_I:return "8I";725 case CODETYPEGALILEO_E5_Q:return "8Q";726 case CODETYPEGALILEO_E5_IQ:return "8X";727 case CODETYPEGALILEO_E6_A:return "6A";728 case CODETYPEGALILEO_E6_B:return "6B";729 case CODETYPEGALILEO_E6_C:return "6C";730 case CODETYPEGALILEO_E6_BC:return "6X";731 case CODETYPEGALILEO_E6_ABC:return "6Z";732 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 ""; 733 737 } 734 738 } 735 739 else if (system == 'J') { 736 740 switch (type) { 737 case CODETYPEQZSS_L1_CA: return "1C"; 738 case CODETYPEQZSS_L1C_D: return "1S"; 739 case CODETYPEQZSS_L1C_P: return "1L"; 740 case CODETYPEQZSS_L1C_DP: return "1X"; 741 case CODETYPEQZSS_L2C_M: return "2S"; 742 case CODETYPEQZSS_L2C_L: return "2L"; 743 case CODETYPEQZSS_L2C_ML: return "2X"; 744 case CODETYPEQZSS_L5_I: return "5I"; 745 case CODETYPEQZSS_L5_Q: return "5Q"; 746 case CODETYPEQZSS_L5_IQ: return "5X"; 747 case CODETYPEQZSS_LEX_S: return "6S"; 748 case CODETYPEQZSS_LEX_L: return "6L"; 749 case CODETYPEQZSS_LEX_SL: return "6X"; 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 750 755 default: return ""; 751 756 } … … 753 758 else if (system == 'S') { 754 759 switch (type) { 755 case CODETYPE_SBAS_L1_CA: return "1C";756 case CODETYPE_SBAS_L5_I: return "5I";757 case CODETYPE_SBAS_L5_Q: return "5Q";758 case CODETYPE_SBAS_L5_IQ: return "5X";759 default: return "";760 case CODETYPE_SBAS_L1_CA: return "1C"; 761 case CODETYPE_SBAS_L5_I: return "5I"; 762 case CODETYPE_SBAS_L5_Q: return "5Q"; 763 case CODETYPE_SBAS_L5_IQ: return "5X"; 764 default: return ""; 760 765 } 761 766 } 762 767 else if (system == 'C') { 763 768 switch (type) { 764 case CODETYPE_BDS_B1_I: return "2I";765 case CODETYPE_BDS_B1_Q: return "2Q";766 case CODETYPE_BDS_B1_IQ: return "2X";767 case CODETYPE_BDS_B2_I: return "7I";768 case CODETYPE_BDS_B2_Q: return "7Q";769 case CODETYPE_BDS_B2_IQ: return "7X";770 case CODETYPE_BDS_B3_I: return "6I";771 case CODETYPE_BDS_B3_Q: return "6Q";772 case CODETYPE_BDS_B3_IQ: return "6X";773 default: return "";769 case CODETYPE_BDS_B1_I: return "2I"; 770 case CODETYPE_BDS_B1_Q: return "2Q"; 771 case CODETYPE_BDS_B1_IQ: return "2X"; 772 case CODETYPE_BDS_B2_I: return "7I"; 773 case CODETYPE_BDS_B2_Q: return "7Q"; 774 case CODETYPE_BDS_B2_IQ: return "7X"; 775 case CODETYPE_BDS_B3_I: return "6I"; 776 case CODETYPE_BDS_B3_Q: return "6Q"; 777 case CODETYPE_BDS_B3_IQ: return "6X"; 778 default: return ""; 774 779 } 775 780 }
Note:
See TracChangeset
for help on using the changeset viewer.