From a40848272e33822f72a7fe0310f079717bf73f23 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 18 十月 2024 16:21:39 +0800
Subject: [PATCH] 修复金茂科技系统,金茂光伏问题

---
 HDL_ON/Entity/Room.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/Room.cs b/HDL_ON/Entity/Room.cs
index 2606c6c..28a8ab6 100644
--- a/HDL_ON/Entity/Room.cs
+++ b/HDL_ON/Entity/Room.cs
@@ -285,7 +285,7 @@
                     }
                     catch (Exception ex)
                     {
-                        MainPage.Log($"鍔熻兘鏁版嵁鍒濆鍖栧け璐ワ細{ex.Message}");
+                        MainPage.Log("Error",$"鍔熻兘鏁版嵁鍒濆鍖栧け璐ワ細{ex.StackTrace}");
                     }
                 }
                 return rooms;
@@ -508,6 +508,7 @@
                 {
                     if (g.roomIds.Contains(roomId) && roomId != null)
                     {
+                        g.deviceId = g.userDeviceGroupControlId;
                         functions.Add(g);
                     }
                 }

--
Gitblit v1.8.0