From 9a0b765c583bd69929de3a7495138b3e878e4543 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 05 九月 2023 16:14:27 +0800 Subject: [PATCH] 0-10v更新,网关在线状态更新 --- HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs index b4c7484..46b3fd4 100644 --- a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs +++ b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs @@ -90,6 +90,17 @@ } } /// <summary> + /// 鏈湴鎺у埗缇ゆ帶涓婚 + /// </summary> + public string ControlGroupControlTopic + { + get + { + return $"/user/{Control.Ins.GatewayId}/custom/device/group/control/down"; + } + } + + /// <summary> /// 鏈湴鎺у埗绾㈠璁惧鍔熻兘涓婚 /// </summary> public string ControlIrFunctionTopic @@ -196,5 +207,25 @@ return $"/user/{Control.Ins.GatewayId}/custom/security/list/get"; } } + /// <summary> + /// 蹇冭烦鍖� + /// </summary> + public string HeartBeat + { + get + { + return $"/user/{Control.Ins.GatewayId}/custom/gateway/heartbeat"; + } + } + + #region 闂ㄩ攣 + public string OneKeyUnlock + { + get + { + return $"/base/{Control.Ins.GatewayId}/thing/service/doorRemoteOpen/down"; + } + } + #endregion } } \ No newline at end of file -- Gitblit v1.8.0