public pucch_Config_r10_Type Decode(BitArrayInputStream input) { pucch_Config_r10_Type type = new pucch_Config_r10_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: type.tdd = tdd_Type.PerDecoder.Instance.Decode(input); return(type); case 1: type.fdd = fdd_Type.PerDecoder.Instance.Decode(input); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public pucch_Config_r10_Type Decode(BitArrayInputStream input) { pucch_Config_r10_Type type = new pucch_Config_r10_Type(); type.InitDefaults(); switch (input.ReadBits(1)) { case 0: type.tdd = tdd_Type.PerDecoder.Instance.Decode(input); return type; case 1: type.fdd = fdd_Type.PerDecoder.Instance.Decode(input); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }