From 5727cf0b9b54da0a191dd1e23cb5abf21320fbff Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 25 十一月 2019 10:34:17 +0800
Subject: [PATCH] IOS使用新的项目名称

---
 ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs
index fb5ce73..93be6f7 100644
--- a/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs
@@ -3456,7 +3456,7 @@
         /// <summary>
         /// 杩滅▼鍙戦�佹暟鎹牸寮�
         /// </summary>
-        async System.Threading.Tasks.Task SendRemoteMsg(string topicName, byte[] message, MQTTnet.Core.Protocol.MqttQualityOfServiceLevel qosLevel = MQTTnet.Core.Protocol.MqttQualityOfServiceLevel.ExactlyOnce, bool retain = false)
+        async System.Threading.Tasks.Task SendRemoteMsg(string topicName, byte[] message,  bool retain = false)
         {
             if (this.getGatewayBaseInfo?.gwID == null || !GateWayBaseInfomations.ContainsKey(this.getGatewayBaseInfo?.gwID))
             {
@@ -3498,7 +3498,7 @@
         /// <param name="message"></param>
         /// <param name="qosLevel"></param>
         /// <param name="retain"></param>
-        public async System.Threading.Tasks.Task Send(string topic, byte[] message, MQTTnet.Core.Protocol.MqttQualityOfServiceLevel qosLevel = MQTTnet.Core.Protocol.MqttQualityOfServiceLevel.ExactlyOnce, bool retain = false)
+        public async System.Threading.Tasks.Task Send(string topic, byte[] message, bool retain = false)
         {
             try
             {
@@ -3509,7 +3509,7 @@
 
                 if (IsRemote)
                 {
-                    await SendRemoteMsg(topic, message, qosLevel, retain);
+                    await SendRemoteMsg(topic, message, retain);
                     DebugPrintLog($"杩滅▼鈥斺�斿彂閫佸埌缃戝叧鐨勪富棰�:{topic}_鍙戦�佸埌缃戝叧鐨勬暟鎹�:{System.Text.Encoding.UTF8.GetString(message)}_褰撳墠缃戝叧{CurrentGateWayId}");//{System.DateTime.Now.ToString()}");// DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss:fff")
                 }
                 else
@@ -3548,13 +3548,13 @@
         /// <param name="message"></param>
         /// <param name="qosLevel"></param>
         /// <param name="retain"></param>
-        public async System.Threading.Tasks.Task Send(string topic, string message, MQTTnet.Core.Protocol.MqttQualityOfServiceLevel qosLevel = MQTTnet.Core.Protocol.MqttQualityOfServiceLevel.ExactlyOnce, bool retain = false)
+        public async System.Threading.Tasks.Task Send(string topic, string message,  bool retain = false)
         {
             if (string.IsNullOrEmpty(message))
             {
                 return;
             }
-            await Send(topic, System.Text.Encoding.UTF8.GetBytes(message), qosLevel, retain);
+            await Send(topic, System.Text.Encoding.UTF8.GetBytes(message), retain);
         }
 
 

--
Gitblit v1.8.0