C# Class CarbonFitness.BusinessLogic.CalorieCalculator

Inheritance: ICalorieCalculator
Mostrar archivo Open project: yodiz/CarbonFitness Class Usage Examples

Public Methods

Method Description
GetAgeFactor ( int age ) : decimal
GetBMR ( decimal weight, decimal height, int age, GenderType gender ) : decimal
GetDailyCalorieNeed ( decimal weight, decimal height, int age, GenderType gender, ActivityLevelType activityLevel ) : decimal
GetEnergyFactor ( ActivityLevelType activityLevelType ) : decimal
GetHeightFactor ( decimal height ) : decimal
GetWeightFactor ( decimal weight ) : decimal

Method Details

GetAgeFactor() public method

public GetAgeFactor ( int age ) : decimal
age int
return decimal

GetBMR() public method

public GetBMR ( decimal weight, decimal height, int age, GenderType gender ) : decimal
weight decimal
height decimal
age int
gender CarbonFitness.Data.Model.GenderType
return decimal

GetDailyCalorieNeed() public method

public GetDailyCalorieNeed ( decimal weight, decimal height, int age, GenderType gender, ActivityLevelType activityLevel ) : decimal
weight decimal
height decimal
age int
gender CarbonFitness.Data.Model.GenderType
activityLevel CarbonFitness.Data.Model.ActivityLevelType
return decimal

GetEnergyFactor() public method

public GetEnergyFactor ( ActivityLevelType activityLevelType ) : decimal
activityLevelType CarbonFitness.Data.Model.ActivityLevelType
return decimal

GetHeightFactor() public method

public GetHeightFactor ( decimal height ) : decimal
height decimal
return decimal

GetWeightFactor() public method

public GetWeightFactor ( decimal weight ) : decimal
weight decimal
return decimal