Beispiel #1
0
            public UplinkPowerControlDedicatedSCell_r10 Decode(BitArrayInputStream input)
            {
                UplinkPowerControlDedicatedSCell_r10 _r = new UplinkPowerControlDedicatedSCell_r10();

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

                _r.p0_UE_PUSCH_r10 = input.ReadBits(4) + -8;
                int nBits = 1;

                _r.deltaMCS_Enabled_r10    = (deltaMCS_Enabled_r10_Enum)input.ReadBits(nBits);
                _r.accumulationEnabled_r10 = input.ReadBit() == 1;
                _r.pSRS_Offset_r10         = input.ReadBits(4);
                if (stream2.Read())
                {
                    _r.pSRS_OffsetAp_r10 = input.ReadBits(4);
                }
                if (stream.Read())
                {
                    nBits = (input.ReadBit() == 0) ? 4 : 4;
                    _r.filterCoefficient_r10 = (FilterCoefficient)input.ReadBits(nBits);
                }
                nBits = 1;
                _r.pathlossReferenceLinking_r10 = (pathlossReferenceLinking_r10_Enum)input.ReadBits(nBits);
                return(_r);
            }
Beispiel #2
0
 public UplinkPowerControlDedicatedSCell_r10 Decode(BitArrayInputStream input)
 {
     UplinkPowerControlDedicatedSCell_r10 _r = new UplinkPowerControlDedicatedSCell_r10();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     BitMaskStream stream2 = new BitMaskStream(input, 1);
     _r.p0_UE_PUSCH_r10 = input.readBits(4) + -8;
     int nBits = 1;
     _r.deltaMCS_Enabled_r10 = (deltaMCS_Enabled_r10_Enum)input.readBits(nBits);
     _r.accumulationEnabled_r10 = input.readBit() == 1;
     _r.pSRS_Offset_r10 = input.readBits(4);
     if (stream2.Read())
     {
         _r.pSRS_OffsetAp_r10 = input.readBits(4);
     }
     if (stream.Read())
     {
         nBits = (input.readBit() == 0) ? 4 : 4;
         _r.filterCoefficient_r10 = (FilterCoefficient)input.readBits(nBits);
     }
     nBits = 1;
     _r.pathlossReferenceLinking_r10 = (pathlossReferenceLinking_r10_Enum)input.readBits(nBits);
     return _r;
 }