From f288ccc545f8cc32bc922c96dfb3cab9a1f92ec6 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 20 四月 2026 00:49:55 +0800
Subject: [PATCH] feat: 初始化WMS前端项目并实现基础功能
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs | 12 ++++++++++--
1 files changed, 10 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..d5fe523 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Abstractions/IRobotMessageRouter.cs
@@ -1,13 +1,21 @@
using System.Net.Sockets;
+using WIDESEAWCS_Model.Models;
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