예제 #1
0
                    public c2_Type Decode(BitArrayInputStream input)
                    {
                        c2_Type type = new c2_Type();

                        type.InitDefaults();
                        if (input.ReadBits(1) != 0)
                        {
                            throw new Exception(GetType().Name + ":NoChoice had been choose");
                        }
                        type.mbmsCountingRequest_r10 = MBMSCountingRequest_r10.PerDecoder.Instance.Decode(input);
                        return(type);
                    }
예제 #2
0
파일: UL_DCCH.cs 프로젝트: ouyh18/LteTools
                    public c2_Type Decode(BitArrayInputStream input)
                    {
                        c2_Type type = new c2_Type();
                        type.InitDefaults();
                        switch (input.readBits(4))
                        {
                            case 0:
                                type.ueAssistanceInformation_r11 = UEAssistanceInformation_r11.PerDecoder.Instance.Decode(input);
                                return type;

                            case 1:
                                type.inDeviceCoexIndication_r11 = InDeviceCoexIndication_r11.PerDecoder.Instance.Decode(input);
                                return type;

                            case 2:
                                type.mbmsInterestIndication_r11 = MBMSInterestIndication_r11.PerDecoder.Instance.Decode(input);
                                return type;

                            case 3:
                                return type;

                            case 4:
                                return type;

                            case 5:
                                return type;

                            case 6:
                                return type;

                            case 7:
                                return type;

                            case 8:
                                return type;

                            case 9:
                                return type;

                            case 10:
                                return type;

                            case 11:
                                return type;

                            case 12:
                                return type;

                            case 13:
                                return type;

                            case 14:
                                return type;

                            case 15:
                                return type;
                        }
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }
예제 #3
0
                    public c2_Type Decode(BitArrayInputStream input)
                    {
                        c2_Type type = new c2_Type();

                        type.InitDefaults();
                        switch (input.ReadBits(4))
                        {
                        case 0:
                            type.ueAssistanceInformation_r11
                                = UEAssistanceInformation_r11.PerDecoder.Instance.Decode(input);
                            return(type);

                        case 1:
                            type.inDeviceCoexIndication_r11
                                = InDeviceCoexIndication_r11.PerDecoder.Instance.Decode(input);
                            return(type);

                        case 2:
                            type.mbmsInterestIndication_r11
                                = MBMSInterestIndication_r11.PerDecoder.Instance.Decode(input);
                            return(type);

                        case 3:
                            return(type);

                        case 4:
                            return(type);

                        case 5:
                            return(type);

                        case 6:
                            return(type);

                        case 7:
                            return(type);

                        case 8:
                            return(type);

                        case 9:
                            return(type);

                        case 10:
                            return(type);

                        case 11:
                            return(type);

                        case 12:
                            return(type);

                        case 13:
                            return(type);

                        case 14:
                            return(type);

                        case 15:
                            return(type);
                        }
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }