From 4e78c9c795dff269ebea37f4e7572d8c8b7d4a69 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 20 五月 2020 15:14:17 +0800
Subject: [PATCH] 请合并门锁最新代码【1、优化门锁常开模式推送和增加机械门锁开锁功能;2、优化面板调光目标】

---
 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