public subframePatternTDD_r10_Type Decode(BitArrayInputStream input) { subframePatternTDD_r10_Type type = new subframePatternTDD_r10_Type(); type.InitDefaults(); input.ReadBit(); switch (input.ReadBits(2)) { case 0: type.subframeConfig1_5_r10 = input.ReadBitString(20); return type; case 1: type.subframeConfig0_r10 = input.ReadBitString(70); return type; case 2: type.subframeConfig6_r10 = input.ReadBitString(60); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public subframePatternTDD_r10_Type Decode(BitArrayInputStream input) { subframePatternTDD_r10_Type type = new subframePatternTDD_r10_Type(); type.InitDefaults(); input.readBit(); switch (input.readBits(2)) { case 0: type.subframeConfig1_5_r10 = input.readBitString(20); return type; case 1: type.subframeConfig0_r10 = input.readBitString(70); return type; case 2: type.subframeConfig6_r10 = input.readBitString(60); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }