From 33470790ac0069c7734fb1a5b8b07350950c6dfe Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 24 十一月 2020 15:51:31 +0800 Subject: [PATCH] 20201124,整理mqtt订阅 --- HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/A_Protocol_Common.cs b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs similarity index 95% rename from HDL_ON/Common/A_Protocol_Common.cs rename to HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs index 8bec7c9..5c29563 100644 --- a/HDL_ON/Common/A_Protocol_Common.cs +++ b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs @@ -44,8 +44,10 @@ /// 杞崲鎺ユ敹鍒扮殑鏁版嵁 /// </summary> /// <returns></returns> - public string[] ConvertReceiveData(byte[] bytes) + public string ConvertReceiveData(byte[] bytes) { + string receiveString = ""; + string topic = ""; int lenght = 0; @@ -81,7 +83,9 @@ } break; } + } + return receiveString; } } /// <summary> -- Gitblit v1.8.0