public MobilityStateParameters Decode(BitArrayInputStream input) { MobilityStateParameters parameters = new MobilityStateParameters(); parameters.InitDefaults(); int nBits = 3; parameters.t_Evaluation = (t_Evaluation_Enum)input.ReadBits(nBits); nBits = 3; parameters.t_HystNormal = (t_HystNormal_Enum)input.ReadBits(nBits); parameters.n_CellChangeMedium = input.ReadBits(4) + 1; parameters.n_CellChangeHigh = input.ReadBits(4) + 1; return(parameters); }
public MobilityStateParameters Decode(BitArrayInputStream input) { MobilityStateParameters parameters = new MobilityStateParameters(); parameters.InitDefaults(); int nBits = 3; parameters.t_Evaluation = (t_Evaluation_Enum)input.ReadBits(nBits); nBits = 3; parameters.t_HystNormal = (t_HystNormal_Enum)input.ReadBits(nBits); parameters.n_CellChangeMedium = input.ReadBits(4) + 1; parameters.n_CellChangeHigh = input.ReadBits(4) + 1; return parameters; }