示例#1
0
            public RadioResourceConfigDedicatedSCell_r10 Decode(BitArrayInputStream input)
            {
                RadioResourceConfigDedicatedSCell_r10 _r = new RadioResourceConfigDedicatedSCell_r10();

                _r.InitDefaults();
                bool          flag   = input.readBit() != 0;
                BitMaskStream stream = new BitMaskStream(input, 1);

                if (stream.Read())
                {
                    _r.physicalConfigDedicatedSCell_r10 = PhysicalConfigDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
                }
                if (flag)
                {
                    BitMaskStream stream2 = new BitMaskStream(input, 1);
                    if (stream2.Read())
                    {
                        _r.mac_MainConfigSCell_r11 = MAC_MainConfigSCell_r11.PerDecoder.Instance.Decode(input);
                    }
                }
                return(_r);
            }
示例#2
0
 public RadioResourceConfigDedicatedSCell_r10 Decode(BitArrayInputStream input)
 {
     RadioResourceConfigDedicatedSCell_r10 _r = new RadioResourceConfigDedicatedSCell_r10();
     _r.InitDefaults();
     bool flag = input.ReadBit() != 0;
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.physicalConfigDedicatedSCell_r10 = PhysicalConfigDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
     }
     if (flag)
     {
         BitMaskStream stream2 = new BitMaskStream(input, 1);
         if (stream2.Read())
         {
             _r.mac_MainConfigSCell_r11 = MAC_MainConfigSCell_r11.PerDecoder.Instance.Decode(input);
         }
     }
     return _r;
 }