protected override void ProcessConfig(CellReselectionParametersCDMA2000_r11 config, BitArrayInputStream input) { BitMaskStream stream = new BitMaskStream(input, 1); config.bandClassList = new List <BandClassInfoCDMA2000>(); int nBits = 5; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { BandClassInfoCDMA2000 item = BandClassInfoCDMA2000.PerDecoder.Instance.Decode(input); config.bandClassList.Add(item); } config.neighCellList_r11 = new List <NeighCellCDMA2000_r11>(); nBits = 4; int num5 = input.ReadBits(nBits) + 1; for (int j = 0; j < num5; j++) { NeighCellCDMA2000_r11 _r2 = NeighCellCDMA2000_r11.PerDecoder.Instance.Decode(input); config.neighCellList_r11.Add(_r2); } config.t_ReselectionCDMA2000 = input.ReadBits(3); if (stream.Read()) { config.t_ReselectionCDMA2000_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input); } }
public CellReselectionParametersCDMA2000_r11 Decode(BitArrayInputStream input) { CellReselectionParametersCDMA2000_r11 _r = new CellReselectionParametersCDMA2000_r11(); _r.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); _r.bandClassList = new List <BandClassInfoCDMA2000>(); int nBits = 5; int num3 = input.readBits(nBits) + 1; for (int i = 0; i < num3; i++) { BandClassInfoCDMA2000 item = BandClassInfoCDMA2000.PerDecoder.Instance.Decode(input); _r.bandClassList.Add(item); } _r.neighCellList_r11 = new List <NeighCellCDMA2000_r11>(); nBits = 4; int num5 = input.readBits(nBits) + 1; for (int j = 0; j < num5; j++) { NeighCellCDMA2000_r11 _r2 = NeighCellCDMA2000_r11.PerDecoder.Instance.Decode(input); _r.neighCellList_r11.Add(_r2); } _r.t_ReselectionCDMA2000 = input.readBits(3); if (stream.Read()) { _r.t_ReselectionCDMA2000_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input); } return(_r); }
public BandClassInfoCDMA2000 Decode(BitArrayInputStream input) { BandClassInfoCDMA2000 ocdma = new BandClassInfoCDMA2000(); ocdma.InitDefaults(); BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); int nBits = (input.readBit() == 0) ? 5 : 5; ocdma.bandClass = (BandclassCDMA2000)input.readBits(nBits); if (stream.Read()) { ocdma.cellReselectionPriority = input.readBits(3); } ocdma.threshX_High = input.readBits(6); ocdma.threshX_Low = input.readBits(6); return ocdma; }
public BandClassInfoCDMA2000 Decode(BitArrayInputStream input) { BandClassInfoCDMA2000 ocdma = new BandClassInfoCDMA2000(); ocdma.InitDefaults(); BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1); int nBits = (input.readBit() == 0) ? 5 : 5; ocdma.bandClass = (BandclassCDMA2000)input.readBits(nBits); if (stream.Read()) { ocdma.cellReselectionPriority = input.readBits(3); } ocdma.threshX_High = input.readBits(6); ocdma.threshX_Low = input.readBits(6); return(ocdma); }