From b2f2494386c4629cf0e0f0a3740e7672919d53a2 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 06 一月 2021 17:09:55 +0800 Subject: [PATCH] 修改了彩灯的百分比计算 --- ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs index dfad756..5c61200 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/PMSensor.cs @@ -16,15 +16,14 @@ /// <summary> /// 褰撳墠娓╁害 /// </summary> - public int currentTemperature = 0; + public decimal currentTemperature = 0; /// <summary> /// 褰撳墠婀垮害 /// </summary> - public int currentHumidity = 0; + public decimal currentHumidity = 0; /// <summary> /// 褰撳墠PM2.5鍊� /// </summary> - [Newtonsoft.Json.JsonIgnore] public int currentPmData = 0; } } -- Gitblit v1.8.0