Esempio n. 1
0
            public BandCombinationParameters_v1130 Decode(BitArrayInputStream input)
            {
                int num2;
                BandCombinationParameters_v1130 _v = new BandCombinationParameters_v1130();

                _v.InitDefaults();
                BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    num2 = 1;
                    _v.multipleTimingAdvance_r11 = (multipleTimingAdvance_r11_Enum)input.readBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.simultaneousRx_Tx_r11 = (simultaneousRx_Tx_r11_Enum)input.readBits(num2);
                }
                if (stream.Read())
                {
                    _v.bandParameterList_r11 = new List <BandParameters_v1130>();
                    num2 = 6;
                    int num3 = input.readBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        BandParameters_v1130 item = BandParameters_v1130.PerDecoder.Instance.Decode(input);
                        _v.bandParameterList_r11.Add(item);
                    }
                }
                return(_v);
            }
Esempio n. 2
0
            public RF_Parameters_v1130 Decode(BitArrayInputStream input)
            {
                RF_Parameters_v1130 _v = new RF_Parameters_v1130();

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

                if (stream.Read())
                {
                    _v.supportedBandCombination_v1130 = new List <BandCombinationParameters_v1130>();
                    const int nBits = 7;
                    int       num3  = input.ReadBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        BandCombinationParameters_v1130 item = BandCombinationParameters_v1130.PerDecoder.Instance.Decode(input);
                        _v.supportedBandCombination_v1130.Add(item);
                    }
                }
                return(_v);
            }
Esempio n. 3
0
 public BandCombinationParameters_v1130 Decode(BitArrayInputStream input)
 {
     int num2;
     BandCombinationParameters_v1130 _v = new BandCombinationParameters_v1130();
     _v.InitDefaults();
     BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);
     if (stream.Read())
     {
         num2 = 1;
         _v.multipleTimingAdvance_r11 = (multipleTimingAdvance_r11_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         num2 = 1;
         _v.simultaneousRx_Tx_r11 = (simultaneousRx_Tx_r11_Enum)input.readBits(num2);
     }
     if (stream.Read())
     {
         _v.bandParameterList_r11 = new List<BandParameters_v1130>();
         num2 = 6;
         int num3 = input.readBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             BandParameters_v1130 item = BandParameters_v1130.PerDecoder.Instance.Decode(input);
             _v.bandParameterList_r11.Add(item);
         }
     }
     return _v;
 }