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

                    type.InitDefaults();
                    switch (input.ReadBits(1))
                    {
                    case 0:
                        type.fdd = input.ReadBits(9);
                        return(type);

                    case 1:
                        type.tdd = input.ReadBits(7);
                        return(type);
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }
示例#2
0
                public physCellId_Type Decode(BitArrayInputStream input)
                {
                    physCellId_Type type = new physCellId_Type();
                    type.InitDefaults();
                    switch (input.readBits(1))
                    {
                        case 0:
                            type.fdd = input.readBits(9);
                            return type;

                        case 1:
                            type.tdd = input.readBits(7);
                            return type;
                    }
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }