From 9ed4d6675aa1f0abe20e3f84e92f5ac2da8ab4f4 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 12 十二月 2020 20:02:00 +0800
Subject: [PATCH] 20201212-4

---
 HDL_ON/DAL/DriverLayer/Control.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs
index 5f3c63b..96a1719 100644
--- a/HDL_ON/DAL/DriverLayer/Control.cs
+++ b/HDL_ON/DAL/DriverLayer/Control.cs
@@ -85,7 +85,7 @@
         /// <summary>
         /// 缃戝叧閫氳ID
         /// </summary>
-        public string GatewayId;
+        public string GatewayId ="";
 
         bool _isRemote = false;
         /// <summary>
@@ -279,6 +279,12 @@
             }
         }
 
+        public void SendApiReadCommand(List<string> functionIds)
+        {
+            var pm = new DAL.Server.HttpServerRequest();
+            var pack = pm.RefreshDeviceStatus(functionIds);
+        }
+
         /// <summary>
         /// 鍙戦�佽鍙栧懡浠�
         /// 鑷姩鍒ゆ柇鏄惁涓篈鍗忚璁惧
@@ -453,7 +459,7 @@
             var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<AlinkFunctionStatusObj>(revString);
             if (temp != null)
             {
-                var allLocalFuntion = FunctionList.List.GetAllDeviceFunctionList();
+                var allLocalFuntion = FunctionList.List.GetDeviceFunctionList();
                 foreach (var updateTemp in temp.objects)
                 {
                     try

--
Gitblit v1.8.0