From ef0c6b76b06590b38f6e87d1e4efb35b81374502 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期一, 25 五月 2020 09:49:02 +0800 Subject: [PATCH] 请合并代码,优化逻辑执行提示和撤销门锁定时功能。 --- ZigbeeApp20200519/Shared/Phone/ZigBee/Device/ZbGateway.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp20200519/Shared/Phone/ZigBee/Device/ZbGateway.cs b/ZigbeeApp20200519/Shared/Phone/ZigBee/Device/ZbGateway.cs old mode 100755 new mode 100644 index f8b36df..01c654c --- a/ZigbeeApp20200519/Shared/Phone/ZigBee/Device/ZbGateway.cs +++ b/ZigbeeApp20200519/Shared/Phone/ZigBee/Device/ZbGateway.cs @@ -2758,8 +2758,8 @@ .WithTcpServer(domain, int.Parse(port)) .WithCredentials(connEmqUserName, connEmqPwd) .WithKeepAlivePeriod(TimeSpan.FromSeconds(20)) - .WithCleanSession() - //.WithCommunicationTimeout(TimeSpan.FromSeconds(10)) + .WithCleanSession() + //.WithCommunicationTimeout(TimeSpan.FromSeconds(10)) .Build(); await DisConnectRemoteMqttClient("StartRemoteMqtt"); await RemoteMqttClient.ConnectAsync(options, CancellationToken.None); @@ -3230,6 +3230,7 @@ UpdateDeviceInfo(tempDevice, "DeviceStatusReport"); } #endregion + #region 闂ㄩ攣鎿嶄綔浜嬩欢閫氱煡 else if (topic == gatewayID + "/" + "DoorLock/DoorLockOperatingEventNotificationCommand") { @@ -3253,6 +3254,7 @@ } } #endregion + #region 闂ㄩ攣缂栫▼浜嬩欢閫氱煡 else if (topic == gatewayID + "/" + "DoorLock/DoorLockProgrammingEventNotificationCommand") { -- Gitblit v1.8.0