From a715181089be0d31cd737a5367ffd02690b9d77f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 12 十一月 2020 13:36:01 +0800 Subject: [PATCH] 20201112 --- HDL_ON/DriverLayer/Control_TcpServer.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DriverLayer/Control_TcpServer.cs b/HDL_ON/DriverLayer/Control_TcpServer.cs index df81d4b..2208fde 100644 --- a/HDL_ON/DriverLayer/Control_TcpServer.cs +++ b/HDL_ON/DriverLayer/Control_TcpServer.cs @@ -173,6 +173,10 @@ } string tcpFunctionOidJsonString = ""; /// <summary> + /// 鑾峰彇鍒楄〃鏁版嵁鍥炶皟鏂规硶 + /// </summary> + public Action<string> GetListResponseAction; + /// <summary> /// 澶勭悊tcp鏁版嵁 /// </summary> void AnalysisTcpData(Socket socket, string tcpDataString) @@ -188,6 +192,10 @@ switch (tcpCommand) { + //鑾峰彇鏁版嵁杩斿洖 + case "get_list_response": + GetListResponseAction?.Invoke(tcpDataString); + break; /* case "search":// 閫傜敤浜庢悳绱� case "read":// 鐢ㄤ簬渚濇璇诲彇鐩稿叧绫诲瀷淇℃伅鐘舵�� -- Gitblit v1.8.0