From 8dabf6b3c19e2191f45b3d05530ecacc06371e10 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 22 十二月 2020 22:01:56 +0800
Subject: [PATCH] 2020-12-22 1.成员分享数据增加场景分享。2.分享房间的操作去掉,改为由云端处理。3.查询分享,去掉指定设备查询,不传参数指定查询全部。
---
HDL_ON/Entity/Function/Sensor.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/Entity/Function/Sensor.cs b/HDL_ON/Entity/Function/Sensor.cs
index 3244716..0141474 100644
--- a/HDL_ON/Entity/Function/Sensor.cs
+++ b/HDL_ON/Entity/Function/Sensor.cs
@@ -62,7 +62,7 @@
};
trait_values.curValue = trait_values.min;
}
-#if DEBUG
+#if DEBUG1
//if ( Convert.ToInt32(trait_values.value) == 0)
{
double level = 1;
@@ -90,6 +90,8 @@
#endif
}
+ if (trait_values.curValue.ToString() == "{}")
+ trait_values.curValue = 0;
return Convert.ToDouble(trait_values.curValue);
}
set
--
Gitblit v1.8.0