From a40db3104e6d5d8a5d146ad808e5bb1ad6c8cb07 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 20 十一月 2020 17:53:22 +0800
Subject: [PATCH] 20201120

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

diff --git a/HDL_ON/DriverLayer/Control_TcpClient.cs b/HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
similarity index 90%
rename from HDL_ON/DriverLayer/Control_TcpClient.cs
rename to HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
index f3ad0a0..6416b30 100644
--- a/HDL_ON/DriverLayer/Control_TcpClient.cs
+++ b/HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
@@ -7,6 +7,11 @@
 {
     public class Control_TcpClient
     {
+        /// <summary>
+        /// 閫氳ID
+        /// </summary>
+        public const int msg_id = 1;
+
         //澹版槑IP锛岀鍙o紝鍜屼竴涓敤鏉ヨ繛鎺ョ殑Socket
         public string _ip;
 
@@ -122,5 +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