From e6a26ee148587327478d9a82624a820c907b6e16 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 04 十一月 2020 14:58:15 +0800
Subject: [PATCH] 20201104
---
HDL_ON/Common/MqttCommon.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/HDL_ON/Common/MqttCommon.cs b/HDL_ON/Common/MqttCommon.cs
index f34edaf..3a94096 100644
--- a/HDL_ON/Common/MqttCommon.cs
+++ b/HDL_ON/Common/MqttCommon.cs
@@ -310,14 +310,14 @@
// //Utlis.WriteLine ("鍥炲Topic={0}", topic);
// //if (topic == $"/BusGateWayToClient/{MqttInfoConfig.Instance.CurRemoteMACInfo.clientId}/Push/NotifySqueeze") {
-// // var mMes = CommonPage.MyEncodingUTF8.GetString (e.ApplicationMessage.Payload);
+// // var mMes = System.Text.Encoding.UTF8.GetString (e.ApplicationMessage.Payload);
// // //鏀跺埌鎸や笅绾夸富棰�
// // ReceiveNotifySqueezeAsync (mMes);
// //} else
// if (topic == $"/BusGateWayToClient/{MainPage.LoginUser.ID}" + PushNotifySqueeze)
// {
-// var mMes = CommonPage.MyEncodingUTF8.GetString(e.ApplicationMessage.Payload);
+// var mMes = System.Text.Encoding.UTF8.GetString(e.ApplicationMessage.Payload);
// //鏂版尋涓嬬嚎涓婚鏂规 鏀跺埌鎸や笅绾夸富棰�
// ReceiveNotifySqueezeAsync(mMes);
// }
@@ -333,7 +333,7 @@
// else if (topic == $"/BusGateWayToClient/{MqttInfoConfig.Instance.CurRemoteMACInfo.macMark}/Common/CheckGateway")
// {
-// var ss = CommonPage.MyEncodingUTF8.GetString(e.ApplicationMessage.Payload);
+// var ss = System.Text.Encoding.UTF8.GetString(e.ApplicationMessage.Payload);
// ReceiveCheckGateway(ss);
// }
// else
@@ -946,7 +946,7 @@
// break;
// case 4://鍙戝竷鏂版柟妗堢殑鎸や笅绾夸富棰�
// topicName = $"/BusGateWayToClient/{MainPage.LoginUser.ID}" + PushNotifySqueeze;
-// //message = CommonPage.MyEncodingUTF8.GetBytes (PushSignStr);
+// //message = System.Text.Encoding.UTF8.GetBytes (PushSignStr);
// await RemoteMqttClient.PublishAsync(new MqttApplicationMessage { Topic = topicName, Payload = message, Retain = false, QualityOfServiceLevel = MQTTnet.Protocol.MqttQualityOfServiceLevel.AtMostOnce });
// break;
// }
--
Gitblit v1.8.0