예제 #1
0
            public CQI_ReportConfigSCell_r10 Decode(BitArrayInputStream input)
            {
                int num2;
                CQI_ReportConfigSCell_r10 _r = new CQI_ReportConfigSCell_r10();

                _r.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    num2 = 3;
                    _r.cqi_ReportModeAperiodic_r10 = (CQI_ReportModeAperiodic)input.readBits(num2);
                }
                _r.nomPDSCH_RS_EPRE_Offset_r10 = input.readBits(3) + -1;
                if (stream.Read())
                {
                    _r.cqi_ReportPeriodicSCell_r10 = CQI_ReportPeriodic_r10.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _r.pmi_RI_Report_r10 = (pmi_RI_Report_r10_Enum)input.readBits(num2);
                }
                return(_r);
            }
예제 #2
0
 public CQI_ReportConfigSCell_r10 Decode(BitArrayInputStream input)
 {
     int num2;
     CQI_ReportConfigSCell_r10 _r = new CQI_ReportConfigSCell_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         num2 = 3;
         _r.cqi_ReportModeAperiodic_r10 = (CQI_ReportModeAperiodic)input.readBits(num2);
     }
     _r.nomPDSCH_RS_EPRE_Offset_r10 = input.readBits(3) + -1;
     if (stream.Read())
     {
         _r.cqi_ReportPeriodicSCell_r10 = CQI_ReportPeriodic_r10.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         num2 = 1;
         _r.pmi_RI_Report_r10 = (pmi_RI_Report_r10_Enum)input.readBits(num2);
     }
     return _r;
 }