From 8e42d0c1b7ae36cff2e7c69999117911a4b6f300 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 26 三月 2026 17:31:06 +0800
Subject: [PATCH] feat(WCS): 完善 WIDESEAWCS_Tasks 模块代码注释
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs
index d7fd293..7a2731a 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs
@@ -3,11 +3,18 @@
namespace WIDESEAWCS_Tasks.Workflow.Abstractions
{
/// <summary>
- /// 机器人消息路由入口。用于承接 TcpSocketServer 的消息事件。
+ /// 鏈哄櫒浜烘秷鎭矾鐢辨帴鍙� - 璐熻矗鎺ユ敹鏉ヨ嚜 TcpSocketServer 鐨勬秷鎭苟鍒嗗彂缁欏悎閫傜殑澶勭悊鍣�
/// </summary>
public interface IRobotMessageRouter
{
+ /// <summary>
+ /// 澶勭悊鎺ユ敹鍒扮殑娑堟伅
+ /// </summary>
+ /// <param name="message">鍘熷娑堟伅瀛楃涓�</param>
+ /// <param name="isJson">娑堟伅鏄惁涓� JSON 鏍煎紡</param>
+ /// <param name="client">TCP 瀹㈡埛绔繛鎺�</param>
+ /// <param name="state">鏈哄櫒浜哄綋鍓嶇姸鎬�</param>
+ /// <returns>鍝嶅簲娑堟伅锛屽鏋滄棤闇�鍥炲鍒欒繑鍥� null</returns>
Task<string?> HandleMessageReceivedAsync(string message, bool isJson, TcpClient client, RobotSocketState state);
}
}
-
--
Gitblit v1.9.3