wei
2020-11-27 1293fea19c6a2b558986856e301d5218c1979692
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,端口,和一个用来连接的Socket
        public string _ip;
@@ -123,7 +127,18 @@
            }
        }
        #region A协议
        /// <summary>
        /// 发送A协议数据
        /// </summary>
        /// <param name="topic"></param>
        public void SendData(string topic)
        {
            string topicString = "Topic:" + topic + "/r/n";
            string lenghtString = "Length:" + "/r/n" + "/r/n";
        }
        #endregion
    }
}