示例#1
0
            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);
            }
示例#2
0
 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;
 }