From b847c06d8617efb2cbbad6f11b0344b779138e92 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 14 十月 2024 18:03:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/wjc' into feature/v2.7_迭代 --- HDL_ON/Entity/Function/Sensor.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/Function/Sensor.cs b/HDL_ON/Entity/Function/Sensor.cs index b86e111..c36ed6e 100644 --- a/HDL_ON/Entity/Function/Sensor.cs +++ b/HDL_ON/Entity/Function/Sensor.cs @@ -32,6 +32,12 @@ case SPK.SensorHumidity: nameId = StringId.Humidity; break; + case SPK.SensorHcho: + nameId = StringId.Formaldehyde; + break; + case SPK.SensorLight: + nameId = StringId.guangzhao; + break; } return nameId; } @@ -181,7 +187,7 @@ unit = "掳C"; break; case SPK.SensorTVOC: - unit = "PPB"; + unit = "mg/m鲁"; break; case SPK.SensorCO2: unit = "PPM"; -- Gitblit v1.8.0