From 8e8155ee4ab7f9990ae42bc3d1306c537bacf487 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期三, 21 七月 2021 13:40:27 +0800
Subject: [PATCH] 优化了萤石功能,增加了对讲权限

---
 HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
index f85bcf3..82c5530 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -43,7 +43,7 @@
                                 name = enviTemp.name,
                                 sid = enviTemp.sid,
                                 deviceId = enviTemp.deviceId,
-                                attributes = new List<FunctionAttributes> { new FunctionAttributes { key = "value", value = tempAttr.value } },
+                                attributes = new List<FunctionAttributes> { new FunctionAttributes { key = "value", state = tempAttr.state, curValue = tempAttr.curValue } },
                             };
                             humiSensorList.Add(newTemp);
                         }
@@ -65,7 +65,7 @@
         }
 
         /// <summary>
-        /// 鏇存柊瀹ゅ唴浼犳劅鍣ㄦ暟鎹�-鏅氱偣
+        /// 鏇存柊瀹ゅ唴浼犳劅鍣ㄦ暟鎹�
         /// </summary>
         public static void LoadEvent_RefreshEnvirIndoorTemp()
         { 
@@ -85,7 +85,7 @@
                                 name = enviTemp.name,
                                 sid = enviTemp.sid,
                                 deviceId = enviTemp.deviceId,
-                                attributes = new List<FunctionAttributes> { new FunctionAttributes { key = "value", value = tempAttr.value } },
+                                attributes = new List<FunctionAttributes> { new FunctionAttributes { key = "value", state = tempAttr.state, curValue = tempAttr.curValue } },
                             };
                             tempSensorList.Add(newTemp);
                         }

--
Gitblit v1.8.0