示例#1
0
                public subframeConfigPattern_r10_Type Decode(BitArrayInputStream input)
                {
                    subframeConfigPattern_r10_Type type = new subframeConfigPattern_r10_Type();

                    type.InitDefaults();
                    switch (input.ReadBits(1))
                    {
                    case 0:
                        type.subframeConfigPatternFDD_r10 = input.ReadBitString(8);
                        return(type);

                    case 1:
                        type.subframeConfigPatternTDD_r10 = input.ReadBits(5);
                        return(type);
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }
示例#2
0
文件: RN.cs 项目: ouyh18/LtePlatform
                public subframeConfigPattern_r10_Type Decode(BitArrayInputStream input)
                {
                    subframeConfigPattern_r10_Type type = new subframeConfigPattern_r10_Type();
                    type.InitDefaults();
                    switch (input.ReadBits(1))
                    {
                        case 0:
                            type.subframeConfigPatternFDD_r10 = input.ReadBitString(8);
                            return type;

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