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

                _r.InitDefaults();
                switch (input.readBits(1))
                {
                case 0:
                    return(_r);

                case 1:
                {
                    _r.setup = new List <CRS_AssistanceInfo_r11>();
                    int nBits = 3;
                    int num4  = input.readBits(nBits) + 1;
                    for (int i = 0; i < num4; i++)
                    {
                        CRS_AssistanceInfo_r11 item = CRS_AssistanceInfo_r11.PerDecoder.Instance.Decode(input);
                        _r.setup.Add(item);
                    }
                    return(_r);
                }
                }
                throw new Exception(GetType().Name + ":NoChoice had been choose");
            }
示例#2
0
 public CRS_AssistanceInfo_r11 Decode(BitArrayInputStream input)
 {
     CRS_AssistanceInfo_r11 _r = new CRS_AssistanceInfo_r11();
     _r.InitDefaults();
     input.readBit();
     _r.physCellId_r11 = input.readBits(9);
     int nBits = 2;
     _r.antennaPortsCount_r11 = (antennaPortsCount_r11_Enum)input.readBits(nBits);
     _r.mbsfn_SubframeConfigList_r11 = new List<MBSFN_SubframeConfig>();
     nBits = 3;
     int num3 = input.readBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         MBSFN_SubframeConfig item = MBSFN_SubframeConfig.PerDecoder.Instance.Decode(input);
         _r.mbsfn_SubframeConfigList_r11.Add(item);
     }
     return _r;
 }
示例#3
0
            public CRS_AssistanceInfo_r11 Decode(BitArrayInputStream input)
            {
                CRS_AssistanceInfo_r11 _r = new CRS_AssistanceInfo_r11();

                _r.InitDefaults();
                input.ReadBit();
                _r.physCellId_r11 = input.ReadBits(9);
                int nBits = 2;

                _r.antennaPortsCount_r11        = (antennaPortsCount_r11_Enum)input.ReadBits(nBits);
                _r.mbsfn_SubframeConfigList_r11 = new List <MBSFN_SubframeConfig>();
                nBits = 3;
                int num3 = input.ReadBits(nBits) + 1;

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