예제 #1
0
            public VisitedCellInfo_r12 Decode(BitArrayInputStream input)
            {
                VisitedCellInfo_r12 _r = new VisitedCellInfo_r12();

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

                if (stream.Read())
                {
                    _r.visitedCellId_r12 = visitedCellId_r12_Type.PerDecoder.Instance.Decode(input);
                }
                _r.timeSpent_r12 = input.readBits(12);
                return(_r);
            }
예제 #2
0
            public UEInformationResponse_v12xy_IEs Decode(BitArrayInputStream input)
            {
                UEInformationResponse_v12xy_IEs es = new UEInformationResponse_v12xy_IEs();

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

                if (stream.Read())
                {
                    es.mobilityHistoryReport_r12 = new List <VisitedCellInfo_r12>();
                    const int nBits = 4;
                    int       num3  = input.readBits(nBits) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        VisitedCellInfo_r12 item = VisitedCellInfo_r12.PerDecoder.Instance.Decode(input);
                        es.mobilityHistoryReport_r12.Add(item);
                    }
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
예제 #3
0
파일: CellInfo.cs 프로젝트: ouyh18/LteTools
 public VisitedCellInfo_r12 Decode(BitArrayInputStream input)
 {
     VisitedCellInfo_r12 _r = new VisitedCellInfo_r12();
     _r.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     if (stream.Read())
     {
         _r.visitedCellId_r12 = visitedCellId_r12_Type.PerDecoder.Instance.Decode(input);
     }
     _r.timeSpent_r12 = input.readBits(12);
     return _r;
 }