From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 06 七月 2021 09:39:03 +0800
Subject: [PATCH] 2021-07-06 1.更新
---
HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs | 45 ++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 44 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
index 6cf95ed..ecd149d 100644
--- a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
+++ b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
@@ -75,7 +75,9 @@
/// </summary>
public const string BusPcGetAppSids = "/user/onpro/custom/function/list/get";
-
+ /// <summary>
+ /// 鏈湴鎺у埗鍔熻兘鐘舵�佷富棰�
+ /// </summary>
public string ControlFunctionTopic
{
get
@@ -83,5 +85,46 @@
return $"/base/{Control.Ins.GatewayId}/thing/property/down";
}
}
+ /// <summary>
+ /// 鏈湴鎺у埗绾㈠璁惧鍔熻兘涓婚
+ /// </summary>
+ public string ControlIrFunctionTopic
+ {
+ get
+ {
+ return $"/base/${Control.Ins.GatewayId}/thing/property/down";
+ }
+ }
+
+ /// <summary>
+ /// 璇诲彇鍔熻兘鐘舵��
+ /// </summary>
+ public string ReadStatus
+ {
+ get
+ {
+ return $"/base/{Control.Ins.GatewayId}/thing/property/read";
+ }
+ }
+ /// <summary>
+ /// 缃戝叧涓婃姤璁惧鐘舵��
+ /// </summary>
+ public string GatewayUpStatus
+ {
+ get
+ {
+ return $"/base/{Control.Ins.GatewayId}/thing/property/up";
+ }
+ }
+ /// <summary>
+ /// 鍦烘櫙鎵ц
+ /// </summary>
+ public string ControlScene
+ {
+ get
+ {
+ return $"/user/{Control.Ins.GatewayId}/custom/scene/execute";
+ }
+ }
}
}
\ No newline at end of file
--
Gitblit v1.8.0