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

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 4);

                es.ue_RadioAccessCapabilityInfo = new List <UE_CapabilityRAT_Container>();
                const int nBits = 4;
                int       num3  = input.ReadBits(nBits);

                for (int i = 0; i < num3; i++)
                {
                    UE_CapabilityRAT_Container item = UE_CapabilityRAT_Container.PerDecoder.Instance.Decode(input);
                    es.ue_RadioAccessCapabilityInfo.Add(item);
                }
                if (stream.Read())
                {
                    es.as_Config = AS_Config.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.rrm_Config = RRM_Config.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.as_Context = AS_Context.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = HandoverPreparationInformation_v920_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Пример #2
0
 public HandoverPreparationInformation_r8_IEs Decode(BitArrayInputStream input)
 {
     HandoverPreparationInformation_r8_IEs es = new HandoverPreparationInformation_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     es.ue_RadioAccessCapabilityInfo = new List<UE_CapabilityRAT_Container>();
     const int nBits = 4;
     int num3 = input.ReadBits(nBits);
     for (int i = 0; i < num3; i++)
     {
         UE_CapabilityRAT_Container item = UE_CapabilityRAT_Container.PerDecoder.Instance.Decode(input);
         es.ue_RadioAccessCapabilityInfo.Add(item);
     }
     if (stream.Read())
     {
         es.as_Config = AS_Config.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.rrm_Config = RRM_Config.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.as_Context = AS_Context.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = HandoverPreparationInformation_v920_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }