Esempio n. 1
0
            public NeighCellsPerBandclassCDMA2000 Decode(BitArrayInputStream input)
            {
                NeighCellsPerBandclassCDMA2000 scdma = new NeighCellsPerBandclassCDMA2000();

                scdma.InitDefaults();
                scdma.arfcn          = input.readBits(11);
                scdma.physCellIdList = new List <long>();
                int nBits = 4;
                int num3  = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    long item = input.readBits(9);
                    scdma.physCellIdList.Add(item);
                }
                return(scdma);
            }
Esempio n. 2
0
            public NeighCellCDMA2000 Decode(BitArrayInputStream input)
            {
                NeighCellCDMA2000 lcdma = new NeighCellCDMA2000();

                lcdma.InitDefaults();
                int nBits = (input.readBit() == 0) ? 5 : 5;

                lcdma.bandClass             = (BandclassCDMA2000)input.readBits(nBits);
                lcdma.neighCellsPerFreqList = new List <NeighCellsPerBandclassCDMA2000>();
                nBits = 4;
                int num3 = input.readBits(nBits) + 1;

                for (int i = 0; i < num3; i++)
                {
                    NeighCellsPerBandclassCDMA2000 item = NeighCellsPerBandclassCDMA2000.PerDecoder.Instance.Decode(input);
                    lcdma.neighCellsPerFreqList.Add(item);
                }
                return(lcdma);
            }
Esempio n. 3
0
 public NeighCellsPerBandclassCDMA2000 Decode(BitArrayInputStream input)
 {
     NeighCellsPerBandclassCDMA2000 scdma = new NeighCellsPerBandclassCDMA2000();
     scdma.InitDefaults();
     scdma.arfcn = input.ReadBits(11);
     scdma.physCellIdList = new List<long>();
     int nBits = 4;
     int num3 = input.ReadBits(nBits) + 1;
     for (int i = 0; i < num3; i++)
     {
         long item = input.ReadBits(9);
         scdma.physCellIdList.Add(item);
     }
     return scdma;
 }