using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using YBDevice.Entity; using YBDevice.NApi.Application.UserInfo; namespace YBDevice.NApi { /// /// 体脂计算算法 /// public interface IBodyFatHelperService { /// /// 结果计算 /// /// 已计算的结果 /// UserMeasureModel CalcBodyFat(MeasureCalcDto model); /// /// 计算体脂 /// /// 体重,单位为kg /// 身高,单位为米 /// 年龄 /// 阻抗 /// 性别,1-男,2-女,0-未知 /// UserMeasureModel CalcBodyFat(double weight, double height, int age, int adc, int sex); /// /// 八电极计算体脂 /// /// 体重,单位为kg /// 身高,单位为米 /// 年龄 /// 性别,1-男,2-女,0-未知 /// 全身阻抗 /// 左脚阻抗 /// 左手阻抗 /// 右脚阻抗 /// 右手阻抗 Task CalcBody120FatAsync(decimal weight, decimal height, int age, int sex, decimal lefthand, decimal righthand, decimal leftfoot, decimal rightfoot, decimal body); /// /// bmi范围标准 /// /// /// /// List bmi_value(int sex, int age); /// /// 脂肪率/体脂率范围标准 /// /// /// /// List fa_r_value(int sex, int age); /// /// 脂肪重量标准范围 /// /// 性别 /// 年龄 /// 重量,kg /// List fat_w_value(int sex, int age, decimal weight); /// /// 肌肉率范围 /// /// /// /// List muscle_value(int sex, int age); /// /// 肌肉重量标准范围 /// /// 性别 /// 年龄 /// 重量,kg /// List muscleval_value(int sex, int age, decimal weight); /// /// 水份范围 /// /// /// /// List water_value(int sex, int age); /// /// 骨量范围 /// /// /// /// 体重 /// List bone_value(int sex, int age, decimal weight); /// /// 基础代谢范围 /// /// /// /// /// List kcal_value(int sex, int age, decimal weight); /// /// 内脂范围 /// /// /// /// List visceral_value(int sex, int age); /// /// 蛋白质范围 /// /// /// /// List protein_value(int sex, int age); /// /// 蛋白量标准范围 /// /// /// /// /// List proteinval_value(int sex, int age, decimal weight); /// /// 皮下脂肪范围 /// /// /// /// List sfr_value(int sex, int age); /// /// 肥胖等级 /// /// level=(体重-标准体重)/标准体重 /// string fatlevel(double level); /// /// 标准体重 /// /// /// /// double standweight(int height, int sex); } }