Пример #1
0
            public RF_Parameters_v1090 Decode(BitArrayInputStream input)
            {
                RF_Parameters_v1090 _v = new RF_Parameters_v1090();

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

                if (stream.Read())
                {
                    _v.supportedBandCombination_v1090 = new List <List <BandParameters_v1090> >();
                    int nBits = 7;
                    int num3  = input.ReadBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        List <BandParameters_v1090> item = new List <BandParameters_v1090>();
                        nBits = 6;
                        int num5 = input.ReadBits(nBits) + 1;
                        for (int j = 0; j < num5; j++)
                        {
                            BandParameters_v1090 _v2 = BandParameters_v1090.PerDecoder.Instance.Decode(input);
                            item.Add(_v2);
                        }
                        _v.supportedBandCombination_v1090.Add(item);
                    }
                }
                return(_v);
            }
Пример #2
0
            public BandParameters_v1090 Decode(BitArrayInputStream input)
            {
                BandParameters_v1090 _v = new BandParameters_v1090();

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

                if (stream.Read())
                {
                    _v.bandEUTRA_v1090 = input.readBits(8) + 0x41;
                }
                return(_v);
            }
Пример #3
0
 public BandParameters_v1090 Decode(BitArrayInputStream input)
 {
     BandParameters_v1090 _v = new BandParameters_v1090();
     _v.InitDefaults();
     BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _v.bandEUTRA_v1090 = input.readBits(8) + 0x41;
     }
     return _v;
 }