Beispiel #1
0
            public PUCCH_ConfigDedicated_v1020 Decode(BitArrayInputStream input)
            {
                int num2;
                PUCCH_ConfigDedicated_v1020 _v = new PUCCH_ConfigDedicated_v1020();

                _v.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 4);

                if (stream.Read())
                {
                    _v.pucch_Format_r10 = pucch_Format_r10_Type.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.twoAntennaPortActivatedPUCCH_Format1a1b_r10 = (twoAntennaPortActivatedPUCCH_Format1a1b_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.simultaneousPUCCH_PUSCH_r10 = (simultaneousPUCCH_PUSCH_r10_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    _v.n1PUCCH_AN_RepP1_r10 = input.ReadBits(11);
                }
                return(_v);
            }
Beispiel #2
0
 public PUCCH_ConfigDedicated_v1020 Decode(BitArrayInputStream input)
 {
     int num2;
     PUCCH_ConfigDedicated_v1020 _v = new PUCCH_ConfigDedicated_v1020();
     _v.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     if (stream.Read())
     {
         _v.pucch_Format_r10 = pucch_Format_r10_Type.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.twoAntennaPortActivatedPUCCH_Format1a1b_r10 = (twoAntennaPortActivatedPUCCH_Format1a1b_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.simultaneousPUCCH_PUSCH_r10 = (simultaneousPUCCH_PUSCH_r10_Enum)input.ReadBits(num2);
     }
     if (stream.Read())
     {
         _v.n1PUCCH_AN_RepP1_r10 = input.ReadBits(11);
     }
     return _v;
 }