示例#1
0
文件: RN.cs 项目: ouyh18/LtePlatform
                    public demodulationRS_r10_Type Decode(BitArrayInputStream input)
                    {
                        int num2;
                        demodulationRS_r10_Type type = new demodulationRS_r10_Type();
                        type.InitDefaults();
                        switch (input.ReadBits(1))
                        {
                            case 0:
                                num2 = 1;
                                type.interleaving_r10 = (interleaving_r10_Enum)input.ReadBits(num2);
                                return type;

                            case 1:
                                num2 = 1;
                                type.noInterleaving_r10 = (noInterleaving_r10_Enum)input.ReadBits(num2);
                                return type;
                        }
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }
示例#2
0
                    public demodulationRS_r10_Type Decode(BitArrayInputStream input)
                    {
                        int num2;
                        demodulationRS_r10_Type type = new demodulationRS_r10_Type();

                        type.InitDefaults();
                        switch (input.ReadBits(1))
                        {
                        case 0:
                            num2 = 1;
                            type.interleaving_r10 = (interleaving_r10_Enum)input.ReadBits(num2);
                            return(type);

                        case 1:
                            num2 = 1;
                            type.noInterleaving_r10 = (noInterleaving_r10_Enum)input.ReadBits(num2);
                            return(type);
                        }
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }