Ejemplo n.º 1
0
            protected override void ProcessConfig(CellReselectionParametersCDMA2000_r11 config, BitArrayInputStream input)
            {
                BitMaskStream stream = new BitMaskStream(input, 1);

                config.bandClassList = new List <BandClassInfoCDMA2000>();
                int nBits = 5;
                int num3  = input.ReadBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    BandClassInfoCDMA2000 item = BandClassInfoCDMA2000.PerDecoder.Instance.Decode(input);
                    config.bandClassList.Add(item);
                }
                config.neighCellList_r11 = new List <NeighCellCDMA2000_r11>();
                nBits = 4;
                int num5 = input.ReadBits(nBits) + 1;

                for (int j = 0; j < num5; j++)
                {
                    NeighCellCDMA2000_r11 _r2 = NeighCellCDMA2000_r11.PerDecoder.Instance.Decode(input);
                    config.neighCellList_r11.Add(_r2);
                }
                config.t_ReselectionCDMA2000 = input.ReadBits(3);
                if (stream.Read())
                {
                    config.t_ReselectionCDMA2000_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input);
                }
            }
Ejemplo n.º 2
0
            public CellReselectionParametersCDMA2000_r11 Decode(BitArrayInputStream input)
            {
                CellReselectionParametersCDMA2000_r11 _r = new CellReselectionParametersCDMA2000_r11();

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

                _r.bandClassList = new List <BandClassInfoCDMA2000>();
                int nBits = 5;
                int num3  = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    BandClassInfoCDMA2000 item = BandClassInfoCDMA2000.PerDecoder.Instance.Decode(input);
                    _r.bandClassList.Add(item);
                }
                _r.neighCellList_r11 = new List <NeighCellCDMA2000_r11>();
                nBits = 4;
                int num5 = input.readBits(nBits) + 1;

                for (int j = 0; j < num5; j++)
                {
                    NeighCellCDMA2000_r11 _r2 = NeighCellCDMA2000_r11.PerDecoder.Instance.Decode(input);
                    _r.neighCellList_r11.Add(_r2);
                }
                _r.t_ReselectionCDMA2000 = input.readBits(3);
                if (stream.Read())
                {
                    _r.t_ReselectionCDMA2000_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input);
                }
                return(_r);
            }
Ejemplo n.º 3
0
 public NeighCellCDMA2000_r11 Decode(BitArrayInputStream input)
 {
     NeighCellCDMA2000_r11 _r = new NeighCellCDMA2000_r11();
     _r.InitDefaults();
     int nBits = (input.ReadBit() == 0) ? 5 : 5;
     _r.bandClass = (BandclassCDMA2000)input.ReadBits(nBits);
     _r.neighFreqInfoList_r11 = new List<NeighCellsPerBandclassCDMA2000_r11>();
     nBits = 4;
     int num3 = input.ReadBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         NeighCellsPerBandclassCDMA2000_r11 item = NeighCellsPerBandclassCDMA2000_r11.PerDecoder.Instance.Decode(input);
         _r.neighFreqInfoList_r11.Add(item);
     }
     return _r;
 }
Ejemplo n.º 4
0
            public NeighCellCDMA2000_r11 Decode(BitArrayInputStream input)
            {
                NeighCellCDMA2000_r11 _r = new NeighCellCDMA2000_r11();

                _r.InitDefaults();
                int nBits = (input.readBit() == 0) ? 5 : 5;

                _r.bandClass             = (BandclassCDMA2000)input.readBits(nBits);
                _r.neighFreqInfoList_r11 = new List <NeighCellsPerBandclassCDMA2000_r11>();
                nBits = 4;
                int num3 = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    NeighCellsPerBandclassCDMA2000_r11 item = NeighCellsPerBandclassCDMA2000_r11.PerDecoder.Instance.Decode(input);
                    _r.neighFreqInfoList_r11.Add(item);
                }
                return(_r);
            }