wxr
2020-11-23 d4160d80c79245c1d7d0cd450ba48cb7850e411d
HDL_ON/DAL/DriverLayer/Control_TcpClient.cs
File was renamed from HDL_ON/DriverLayer/Control_TcpClient.cs
@@ -7,6 +7,11 @@
{
    public class Control_TcpClient
    {
        /// <summary>
        /// 通讯ID
        /// </summary>
        public const int msg_id = 1;
        //声明IP,端口,和一个用来连接的Socket
        public string _ip;
@@ -119,8 +124,21 @@
                //    MainPage.Log($"接收服务端数据:{tcpDataString}");
                //}
            }
        }
        #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
    }
}