From 4f2dbd1f6a1ec2d9c3c39b4a37b0b7c9ddece4aa Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 23 九月 2021 15:24:01 +0800
Subject: [PATCH] 主页刷新优化

---
 HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
index 92c99dd..2201612 100644
--- a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
+++ b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
@@ -59,6 +59,10 @@
         /// </summary>
         public const string SearchLoaclGatewayReply = "/user/all/custom/gateway/search_reply";
         /// <summary>
+        /// 缃戝叧骞挎挱鏁版嵁
+        /// </summary>
+        public const string GatewayBroadcast = "/user/all/custom/gateway/broadcast";
+        /// <summary>
         /// 璋冭瘯杞欢涓婁紶oid鍒楄〃
         /// </summary>
         public const string AddDeviceOids = "/user/onpro/custom/device/add";
@@ -86,6 +90,17 @@
             }
         }
         /// <summary>
+        /// 鏈湴鎺у埗绾㈠璁惧鍔熻兘涓婚
+        /// </summary>
+        public string ControlIrFunctionTopic
+        {
+            get
+            {
+                return $"/base/${Control.Ins.GatewayId}/thing/property/down";
+            }
+        }
+
+        /// <summary>
         /// 璇诲彇鍔熻兘鐘舵��
         /// </summary>
         public string ReadStatus
@@ -105,5 +120,46 @@
                 return $"/base/{Control.Ins.GatewayId}/thing/property/up";
             }
         }
+        /// <summary>
+        /// 鍦烘櫙鎵ц
+        /// </summary>
+        public string ControlScene
+        {
+            get
+            {
+                return $"/user/{Control.Ins.GatewayId}/custom/scene/execute";
+            }
+        }
+
+        /// <summary>
+        /// 瀹夐槻鎺у埗
+        /// </summary>
+        public string ControlSeurity
+        {
+            get
+            {
+                return $"/user/{Control.Ins.GatewayId}/custom/security/status/set";
+            }
+        }
+        /// <summary>
+        /// 瀹夐槻鐘舵�佹洿鏂�
+        /// </summary>
+        public string SecurityStatusUp
+        {
+            get
+            {
+                return $"/user/{Control.Ins.GatewayId}/custom/security/status/up";
+            }///user/1413055228417130497/custom/security/status/up
+        }
+        /// <summary>
+        /// 璇诲彇瀹夐槻鐘舵�佷俊鎭�
+        /// </summary>
+        public string ReadSecurityStatus
+        {
+            get
+            {
+                return $"/user/{Control.Ins.GatewayId}/custom/security/list/get";
+            }
+        }
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0