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

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

                if (stream.Read())
                {
                    es.plmn_IdentityList_r11 = new List <PLMN_Identity>();
                    const int nBits = 4;
                    int       num3  = input.ReadBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        PLMN_Identity item = PLMN_Identity.PerDecoder.Instance.Decode(input);
                        es.plmn_IdentityList_r11.Add(item);
                    }
                }
                if (stream.Read())
                {
                    es.areaConfiguration_v1130 = AreaConfiguration_v1130.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Пример #2
0
 public LoggedMeasurementConfiguration_v1130_IEs Decode(BitArrayInputStream input)
 {
     LoggedMeasurementConfiguration_v1130_IEs es = new LoggedMeasurementConfiguration_v1130_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 3);
     if (stream.Read())
     {
         es.plmn_IdentityList_r11 = new List<PLMN_Identity>();
         const int nBits = 4;
         int num3 = input.ReadBits(nBits) + 1;
         for (int i = 0; i < num3; i++)
         {
             PLMN_Identity item = PLMN_Identity.PerDecoder.Instance.Decode(input);
             es.plmn_IdentityList_r11.Add(item);
         }
     }
     if (stream.Read())
     {
         es.areaConfiguration_v1130 = AreaConfiguration_v1130.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
     }
     return es;
 }