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

                        type.InitDefaults();
                        input.ReadBit();
                        switch (input.ReadBits(1))
                        {
                        case 0:
                            type.type01_r10 = type01_r10_Type.PerDecoder.Instance.Decode(input);
                            return(type);

                        case 1:
                            type.type2_r10 = type2_r10_Type.PerDecoder.Instance.Decode(input);
                            return(type);
                        }
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }
예제 #2
0
파일: RN.cs 프로젝트: ouyh18/LtePlatform
                    public resourceBlockAssignment_r10_Type Decode(BitArrayInputStream input)
                    {
                        resourceBlockAssignment_r10_Type type = new resourceBlockAssignment_r10_Type();
                        type.InitDefaults();
                        input.ReadBit();
                        switch (input.ReadBits(1))
                        {
                            case 0:
                                type.type01_r10 = type01_r10_Type.PerDecoder.Instance.Decode(input);
                                return type;

                            case 1:
                                type.type2_r10 = type2_r10_Type.PerDecoder.Instance.Decode(input);
                                return type;
                        }
                        throw new Exception(GetType().Name + ":NoChoice had been choose");
                    }