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