From 5d44c7f915d6448b227df282b321e7760690ef8f Mon Sep 17 00:00:00 2001 From: 5high <5high.net@gmail.com> Date: Sun, 10 Jan 2021 17:26:02 +0800 Subject: [PATCH] Update Xiaomi_Scale.py --- mi-scale/src/Xiaomi_Scale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mi-scale/src/Xiaomi_Scale.py b/mi-scale/src/Xiaomi_Scale.py index c4a8e2d..aab55a6 100644 --- a/mi-scale/src/Xiaomi_Scale.py +++ b/mi-scale/src/Xiaomi_Scale.py @@ -282,7 +282,7 @@ class ScanProcessor(): if hasImpedance: lib = Xiaomi_Scale_Body_Metrics.bodyMetrics(calcweight, height, age, sex, int(miimpedance)) - bodyscale = ['肥胖型', '超重型', '壮实型', '缺乏锻炼型', '平衡型', '平衡肌肉型', '偏瘦型', '平衡瘦型', '瘦肌肉型'] + bodyscale = ['Obese', 'Overweight', 'Thick-set', 'Lack-exerscise', 'Balanced', 'Balanced-muscular', 'Skinny', 'Balanced-skinny', 'Skinny-muscular'] message += ',"去脂体重":' + "{:.2f}".format(lib.getLBMCoefficient()) message += ',"体脂":' + "{:.2f}".format(lib.getFatPercentage()) message += ',"水分":' + "{:.2f}".format(lib.getWaterPercentage())