From fe2a1e74780259605cd230e6f9c629c3dd7fdf15 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 10 四月 2026 20:19:06 +0800
Subject: [PATCH] feat: 添加消防任务支持并修复堆垛机状态处理
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandConfig.cs | 26 ++++++++++++++++++++++----
1 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandConfig.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandConfig.cs
index 0d0de4b..e68ecd7 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandConfig.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandConfig.cs
@@ -5,21 +5,39 @@
/// <summary>
/// 鍫嗗灈鏈哄懡浠ら厤缃�
/// </summary>
+ /// <remarks>
+ /// 瀹氫箟鍫嗗灈鏈哄懡浠ょ被鍨嬩笌宸烽亾鐨勬槧灏勫叧绯汇��
+ /// 鏍规嵁宸烽亾锛圧oadway锛夌殑涓嶅悓锛屽爢鍨涙満鍙兘浣跨敤涓嶅悓鐨勫懡浠ゆ牸寮忋��
+ /// 閰嶇疆鍙互閫氳繃 JSON 鏂囦欢鍔ㄦ�佸姞杞姐��
+ /// </remarks>
public class StackerCraneCommandConfig
{
/// <summary>
- /// Roadway 鍏抽敭瀛楀埌鍛戒护绫诲瀷鐨勬槧灏�
+ /// 宸烽亾鍏抽敭瀛楀埌鍛戒护绫诲瀷鐨勬槧灏勫瓧鍏�
/// </summary>
+ /// <remarks>
+ /// Key: 宸烽亾缂栫爜鐨勫叧閿瓧锛堝 HC銆丟W銆丆W锛�
+ /// Value: 鍛戒护绫诲瀷锛堝 Formation銆丼tandard锛�
+ ///
+ /// 鏄犲皠瑙勫垯锛�
+ /// - HC 寮�澶� -> Formation锛堟垚鍨嬪爢鍨涙満鍛戒护锛�
+ /// - GW 寮�澶� -> Standard锛堟爣鍑嗗爢鍨涙満鍛戒护锛�
+ /// - CW 寮�澶� -> Standard锛堟爣鍑嗗爢鍨涙満鍛戒护锛�
+ /// </remarks>
public Dictionary<string, string> RoadwayCommandMapping { get; set; } = new()
{
- { "HC", "Formation" },
- { "GW", "Standard" },
- { "CW", "Standard" }
+ { "HC", "Formation" }, // 鎴愬瀷鍫嗗灈鏈�
+ { "GW", "Standard" }, // 鏍囧噯鍫嗗灈鏈�
+ { "CW", "Standard" } // 鏍囧噯鍫嗗灈鏈�
};
/// <summary>
/// 榛樿鍛戒护绫诲瀷
/// </summary>
+ /// <remarks>
+ /// 褰撳贩閬撶紪鐮佷笉鍖归厤浠讳綍鏄犲皠瑙勫垯鏃朵娇鐢ㄧ殑榛樿鍛戒护绫诲瀷銆�
+ /// 榛樿涓� Standard锛堟爣鍑嗗懡浠ゆ牸寮忥級銆�
+ /// </remarks>
public string DefaultCommandType { get; set; } = "Standard";
}
}
--
Gitblit v1.9.3