using YBDevice.Entity; namespace YBDevice.Body.BodyFatHelper { /// /// 体脂计算算法 /// public interface IBodyFatHelperService { /// /// 结果计算 /// /// 已计算的结果 /// UserMeasureModel CalcBodyFat(MeasureCalcDto model); /// /// 2/4电极计算体脂 /// /// 体重,单位为kg /// 身高,单位为米 /// 年龄 /// 阻抗 /// 性别,1-男,2-女,0-未知 /// UserMeasureModel CalcBodyFat(double weight, double height, int age, int adc, GenderType sex); /// /// 品传2/4电极计算体脂 /// /// 体重,单位为kg /// 身高,单位为米 /// 年龄 /// 阻抗 /// 性别,1-男,2-女,0-未知 /// UserMeasureModel PCCalcBodyFat(double weight, double height, int age, int adc, GenderType sex); /// /// 八电极计算体脂 /// /// 体重,单位为kg /// 身高,单位为米 /// 年龄 /// 性别,1-男,2-女,0-未知 /// 全身阻抗 /// 左脚阻抗 /// 左手阻抗 /// 右脚阻抗 /// 右手阻抗 Task CalcBody120FatAsync(decimal weight, decimal height, int age, GenderType sex, decimal lefthand, decimal righthand, decimal leftfoot, decimal rightfoot, decimal body); /// /// bmi范围标准 /// /// /// /// List bmi_value(GenderType sex, int age); /// /// 脂肪率/体脂率范围标准 /// /// /// /// List fa_r_value(GenderType sex, int age); /// /// 脂肪重量标准范围 /// /// 性别 /// 年龄 /// 重量,kg /// List fat_w_value(GenderType sex, int age, decimal weight); /// /// 肌肉率范围 /// /// /// /// List muscle_value(GenderType sex, int age); /// /// 肌肉重量标准范围 /// /// 性别 /// 年龄 /// 重量,kg /// List muscleval_value(GenderType sex, int age, decimal weight); /// /// 水份范围 /// /// /// /// List water_value(GenderType sex, int age); /// /// 骨量范围 /// /// /// /// 体重 /// List bone_value(GenderType sex, int age, decimal weight); /// /// 基础代谢范围 /// /// /// /// /// List kcal_value(GenderType sex, int age, decimal weight); /// /// 内脂范围 /// /// /// /// List visceral_value(GenderType sex, int age); /// /// 蛋白质范围 /// /// /// /// List protein_value(GenderType sex, int age); /// /// 蛋白量标准范围 /// /// /// /// /// List proteinval_value(GenderType sex, int age, decimal weight); /// /// 皮下脂肪范围 /// /// /// /// List sfr_value(GenderType sex, int age); /// /// 骨骼肌量范围 /// /// /// /// List skeletalmusclekg(GenderType sex, int age); /// /// 皮下脂肪量范围 /// /// /// /// /// List sfrval_value(GenderType sex, int age, decimal weight); /// /// 肥胖等级 /// /// level=(体重-标准体重)/标准体重 /// string fatlevel(double level); /// /// 标准体重 /// /// 身高,厘米 /// 性别,0-女,1-男 /// double standweight(int height, GenderType sex); /// /// BMI标准的范围 /// /// /// /// MeasureInfoItemValue bmi_stand(GenderType sex, int age); /// /// 肌肉量标准 /// /// /// /// /// MeasureInfoItemValue muscleval_stand(GenderType sex, int age, decimal weight); /// /// 脂肪重量标准 /// /// /// /// /// MeasureInfoItemValue fat_w_stand(GenderType sex, int age, decimal weight); /// /// 骨骼肌量标准 /// /// /// /// 骨骼肌值 /// List skeletalmusclekg_val(GenderType sex, int age, decimal val); /// /// BMI值计算 /// /// 身高,厘米 /// 体重,公斤 /// decimal CalcBMi(decimal height, decimal weight); /// /// 标准体重计算 /// /// 身高,厘米 /// 性别,1-男,2-女 /// decimal CalcStandWeight(decimal height, GenderType sex); /// /// 根据等级获取标准颜色 /// /// 等级标准 /// string GetLevelColor(string level); } }