예제 #1
0
            public BandInfoEUTRA Decode(BitArrayInputStream input)
            {
                BandInfoEUTRA oeutra = new BandInfoEUTRA();

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

                oeutra.interFreqBandList = new List <InterFreqBandInfo>();
                int nBits = 6;
                int num3  = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    InterFreqBandInfo item = InterFreqBandInfo.PerDecoder.Instance.Decode(input);
                    oeutra.interFreqBandList.Add(item);
                }
                if (stream.Read())
                {
                    oeutra.interRAT_BandList = new List <InterRAT_BandInfo>();
                    nBits = 6;
                    int num5 = input.readBits(nBits) + 1;
                    for (int j = 0; j < num5; j++)
                    {
                        InterRAT_BandInfo info2 = InterRAT_BandInfo.PerDecoder.Instance.Decode(input);
                        oeutra.interRAT_BandList.Add(info2);
                    }
                }
                return(oeutra);
            }
예제 #2
0
            public MeasParameters_v1020 Decode(BitArrayInputStream input)
            {
                MeasParameters_v1020 _v = new MeasParameters_v1020();

                _v.InitDefaults();
                _v.bandCombinationListEUTRA_r10 = new List <BandInfoEUTRA>();
                int nBits = 7;
                int num3  = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    BandInfoEUTRA item = BandInfoEUTRA.PerDecoder.Instance.Decode(input);
                    _v.bandCombinationListEUTRA_r10.Add(item);
                }
                return(_v);
            }
예제 #3
0
            public MeasParameters Decode(BitArrayInputStream input)
            {
                MeasParameters parameters = new MeasParameters();

                parameters.InitDefaults();
                parameters.bandListEUTRA = new List <BandInfoEUTRA>();
                int nBits = 6;
                int num3  = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    BandInfoEUTRA item = BandInfoEUTRA.PerDecoder.Instance.Decode(input);
                    parameters.bandListEUTRA.Add(item);
                }
                return(parameters);
            }
예제 #4
0
 public BandInfoEUTRA Decode(BitArrayInputStream input)
 {
     BandInfoEUTRA oeutra = new BandInfoEUTRA();
     oeutra.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     oeutra.interFreqBandList = new List<InterFreqBandInfo>();
     int nBits = 6;
     int num3 = input.readBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         InterFreqBandInfo item = InterFreqBandInfo.PerDecoder.Instance.Decode(input);
         oeutra.interFreqBandList.Add(item);
     }
     if (stream.Read())
     {
         oeutra.interRAT_BandList = new List<InterRAT_BandInfo>();
         nBits = 6;
         int num5 = input.readBits(nBits) + 1;
         for (int j = 0; j < num5; j++)
         {
             InterRAT_BandInfo info2 = InterRAT_BandInfo.PerDecoder.Instance.Decode(input);
             oeutra.interRAT_BandList.Add(info2);
         }
     }
     return oeutra;
 }