From 1293fea19c6a2b558986856e301d5218c1979692 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 27 十一月 2020 14:08:43 +0800
Subject: [PATCH] Revert "20201127 接受bus数据修改完成,搜索网关、一端口修改完成"

---
 HDL_ON/DAL/DriverLayer/Control_TcpClient.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/Control_TcpClient.cs b/HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
index abcc061..01f3832 100644
--- a/HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
+++ b/HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
@@ -7,6 +7,10 @@
 {
     public class Control_TcpClient
     {
+        /// <summary>
+        /// 閫氳ID
+        /// </summary>
+        public const int msg_id = 1;
 
         //澹版槑IP锛岀鍙o紝鍜屼竴涓敤鏉ヨ繛鎺ョ殑Socket
         public string _ip;
@@ -123,7 +127,18 @@
 
             }
         }
+        #region A鍗忚
+        /// <summary>
+        /// 鍙戦�丄鍗忚鏁版嵁
+        /// </summary>
+        /// <param name="topic"></param>
+        public void SendData(string topic)
+        {
+            string topicString = "Topic:" + topic + "/r/n";
+            string lenghtString = "Length:" + "/r/n" + "/r/n";
+        }
 
+        #endregion
 
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0