public nonUL_Configuration_r10_Type Decode(BitArrayInputStream input) { nonUL_Configuration_r10_Type type = new nonUL_Configuration_r10_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 4); if (stream.Read()) { type.antennaInfo_r10 = AntennaInfoDedicated_r10.PerDecoder.Instance.Decode(input); } if (stream.Read()) { type.crossCarrierSchedulingConfig_r10 = CrossCarrierSchedulingConfig_r10.PerDecoder.Instance.Decode(input); } if (stream.Read()) { type.csi_RS_Config_r10 = CSI_RS_Config_r10.PerDecoder.Instance.Decode(input); } if (stream.Read()) { type.pdsch_ConfigDedicated_r10 = PDSCH_ConfigDedicated.PerDecoder.Instance.Decode(input); } return(type); }
public nonUL_Configuration_r10_Type Decode(BitArrayInputStream input) { nonUL_Configuration_r10_Type type = new nonUL_Configuration_r10_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); int nBits = 3; type.dl_Bandwidth_r10 = (dl_Bandwidth_r10_Enum)input.readBits(nBits); type.antennaInfoCommon_r10 = AntennaInfoCommon.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.mbsfn_SubframeConfigList_r10 = new List <MBSFN_SubframeConfig>(); nBits = 3; int num3 = input.readBits(nBits) + 1; for (int i = 0; i < num3; i++) { MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input); type.mbsfn_SubframeConfigList_r10.Add(item); } } type.phich_Config_r10 = PHICH_Config.PerDecoder.Instance.Decode(input); type.pdsch_ConfigCommon_r10 = PDSCH_ConfigCommon.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.tdd_Config_r10 = TDD_Config.PerDecoder.Instance.Decode(input); } return(type); }
public nonUL_Configuration_r10_Type Decode(BitArrayInputStream input) { nonUL_Configuration_r10_Type type = new nonUL_Configuration_r10_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 4); if (stream.Read()) { type.antennaInfo_r10 = AntennaInfoDedicated_r10.PerDecoder.Instance.Decode(input); } if (stream.Read()) { type.crossCarrierSchedulingConfig_r10 = CrossCarrierSchedulingConfig_r10.PerDecoder.Instance.Decode(input); } if (stream.Read()) { type.csi_RS_Config_r10 = CSI_RS_Config_r10.PerDecoder.Instance.Decode(input); } if (stream.Read()) { type.pdsch_ConfigDedicated_r10 = PDSCH_ConfigDedicated.PerDecoder.Instance.Decode(input); } return type; }
public nonUL_Configuration_r10_Type Decode(BitArrayInputStream input) { nonUL_Configuration_r10_Type type = new nonUL_Configuration_r10_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 2); int nBits = 3; type.dl_Bandwidth_r10 = (dl_Bandwidth_r10_Enum)input.ReadBits(nBits); type.antennaInfoCommon_r10 = AntennaInfoCommon.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.mbsfn_SubframeConfigList_r10 = new List<MBSFN_SubframeConfig>(); nBits = 3; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input); type.mbsfn_SubframeConfigList_r10.Add(item); } } type.phich_Config_r10 = PHICH_Config.PerDecoder.Instance.Decode(input); type.pdsch_ConfigCommon_r10 = PDSCH_ConfigCommon.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.tdd_Config_r10 = TDD_Config.PerDecoder.Instance.Decode(input); } return type; }