From a7885a24a152a164d7e26b12098ab92a0e272f24 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 18 十一月 2021 13:13:31 +0800
Subject: [PATCH] Merge branch 'WJC' into wxr6
---
HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
index 3292d0a..b4c7484 100644
--- a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
+++ b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
@@ -120,6 +120,30 @@
return $"/base/{Control.Ins.GatewayId}/thing/property/up";
}
}
+
+ /// <summary>
+ /// 鑾峰彇缃戝叧鐨勫姛鑳藉垪琛�
+ /// </summary>
+ public string GetGatewayFunctionList
+ {
+ get
+ {
+ return $"/user/{Control.Ins.GatewayId}/custom/device/list/get";
+ }
+ }
+
+ /// <summary>
+ /// 缃戝叧涓婃姤璁惧鐘舵��
+ /// 鍘绘帀id瀵规瘮
+ /// </summary>
+ public string GatewayUpSortTopic
+ {
+ get
+ {
+ return "/thing/property/up";
+ }
+ }
+
/// <summary>
/// 鍦烘櫙鎵ц
/// </summary>
@@ -132,6 +156,17 @@
}
/// <summary>
+ /// 缃戝叧杩涘叆閰嶇綉妯″紡
+ /// </summary>
+ public string AuthGateway
+ {
+ get
+ {
+ return $"/user/{Control.Ins.GatewayId}/custom/device/auth_gateway";
+ }
+ }
+
+ /// <summary>
/// 瀹夐槻鎺у埗
/// </summary>
public string ControlSeurity
@@ -141,5 +176,25 @@
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