From 1761bbd82d7c1251283e3baa9b519204e456b2f8 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 25 十一月 2020 16:50:55 +0800
Subject: [PATCH] 2020-11-25-1

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
index 627f6c9..6f1dfe2 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -88,7 +88,7 @@
         /// 鑾峰彇缃戝叧鎴块棿鍒楄〃
         /// </summary>
         /// <returns></returns>
-        public static List<HDL_ON.Entity.Room> GetGatewayRoomListG(string name)
+        public static List<HDL_ON.Entity.Room> GetGatewayRoomList(string name) 
         {
 
             List<Entity.Room> roomList = new List<Entity.Room>();
@@ -138,13 +138,13 @@
             return deviceLists;
         }
         /// <summary>
-        /// 鑾峰彇璁惧
+        /// 鑾峰彇褰撲釜璁惧
         /// </summary>
         /// <param name="sid">璁惧鍞竴鏍囪瘑</param>
         /// <returns></returns>
         public static HDL_ON.Entity.Function GetDevice(string sid)
         {
-            HDL_ON.Entity.Function device = new Entity.Function();
+            HDL_ON.Entity.Function device = new Entity.Function() { name= "Unknown",sid="璁惧涓嶅瓨鍦�"};
             List<HDL_ON.Entity.Function> deviceLists = GetGatewayDeviceList();
             foreach (var dev in deviceLists)
             {

--
Gitblit v1.8.0