public visitedCellId_r12_Type Decode(BitArrayInputStream input) { visitedCellId_r12_Type type = new visitedCellId_r12_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.cellGlobalId_r12 = CellGlobalIdEUTRA.PerDecoder.Instance.Decode(input); return(type); case 1: type.pci_arfcn_r12 = pci_arfcn_r12_Type.PerDecoder.Instance.Decode(input); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public visitedCellId_r12_Type Decode(BitArrayInputStream input) { visitedCellId_r12_Type type = new visitedCellId_r12_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.cellGlobalId_r12 = CellGlobalIdEUTRA.PerDecoder.Instance.Decode(input); return type; case 1: type.pci_arfcn_r12 = pci_arfcn_r12_Type.PerDecoder.Instance.Decode(input); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }