public PowerRampingParameters Decode(BitArrayInputStream input) { PowerRampingParameters parameters = new PowerRampingParameters(); parameters.InitDefaults(); int nBits = 2; parameters.powerRampingStep = (powerRampingStep_Enum)input.readBits(nBits); nBits = 4; parameters.preambleInitialReceivedTargetPower = (preambleInitialReceivedTargetPower_Enum)input.readBits(nBits); return parameters; }
public PowerRampingParameters Decode(BitArrayInputStream input) { PowerRampingParameters parameters = new PowerRampingParameters(); parameters.InitDefaults(); int nBits = 2; parameters.powerRampingStep = (powerRampingStep_Enum)input.ReadBits(nBits); nBits = 4; parameters.preambleInitialReceivedTargetPower = (preambleInitialReceivedTargetPower_Enum)input.ReadBits(nBits); return(parameters); }