From 73a9951bb6a5919ec481fa6fef37d5aa338b31db Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 20 四月 2026 10:03:15 +0800
Subject: [PATCH] 1
---
项目代码/WIDESEA_WCSServer/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs | 308 ++++++++-------------------------------------------
1 files changed, 48 insertions(+), 260 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs"
index 14b852e..39cefe1 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WCSServer/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs"
@@ -7,315 +7,103 @@
namespace WIDESEAWCS_Common.TaskEnum
{
- public enum TaskInStatusEnum
- {
- /// <summary>
- /// 鏂板缓鍏ュ簱浠诲姟
- /// </summary>
- [Description("鏂板缓鍏ュ簱浠诲姟")]
- InNew = 200,
-
- /// <summary>
- /// AGV鍏ュ簱鎵ц涓�
- /// </summary>
- [Description("AGV鍏ュ簱鎵ц涓�")]
- AGV_InExecuting = 210,
-
- /// <summary>
- /// AGV鍏ュ簱瀹屾垚
- /// </summary>
- [Description("AGV鎼繍瀹屾垚")]
- AGV_InFinish = 215,
-
- /// <summary>
- /// 杈撻�佺嚎鍏ュ簱鎵ц涓�
- /// </summary>
- [Description("杈撻�佺嚎鍏ュ簱鎵ц涓�")]
- Line_InExecuting = 220,
-
- /// <summary>
- /// 杈撻�佺嚎鍏ュ簱瀹屾垚
- /// </summary>
- [Description("杈撻�佺嚎鍏ュ簱瀹屾垚")]
- Line_InFinish = 225,
-
- /// <summary>
- /// 鍫嗗灈鏈哄叆搴撴墽琛屼腑
- /// </summary>
- [Description("鍫嗗灈鏈哄叆搴撴墽琛屼腑")]
- SC_InExecuting = 230,
-
- /// <summary>
- /// 鍫嗗灈鏈哄叆搴撳畬鎴�
- /// </summary>
- [Description("鍫嗗灈鏈哄叆搴撳畬鎴�")]
- SC_InFinish = 235,
-
- /// <summary>
- /// 鍏ュ簱浠诲姟瀹屾垚
- /// </summary>
- [Description("鍏ュ簱浠诲姟瀹屾垚")]
- InFinish = 290,
-
- /// <summary>
- /// 鍏ュ簱浠诲姟鎸傝捣
- /// </summary>
- [Description("鍏ュ簱浠诲姟鎸傝捣")]
- InPending = 297,
-
- /// <summary>
- /// 鍏ュ簱浠诲姟鍙栨秷
- /// </summary>
- [Description("鍏ュ簱浠诲姟鍙栨秷")]
- InCancel = 298,
-
- /// <summary>
- /// 鍏ュ簱浠诲姟寮傚父
- /// </summary>
- [Description("鍏ュ簱浠诲姟寮傚父")]
- InException = 299,
- }
-
- public enum TaskOutStatusEnum
- {
- /// <summary>
- /// 鏂板缓鍑哄簱浠诲姟
- /// </summary>
- [Description("鏂板缓鍑哄簱浠诲姟")]
- OutNew = 100,
-
- /// <summary>
- /// 鍫嗗灈鏈哄嚭搴撴墽琛屼腑
- /// </summary>
- [Description("鍫嗗灈鏈哄嚭搴撴墽琛屼腑")]
- SC_OutExecuting = 110,
-
- /// <summary>
- /// 鍫嗗灈鏈哄嚭搴撳畬鎴�
- /// </summary>
- [Description("鍫嗗灈鏈哄嚭搴撳畬鎴�")]
- SC_OutFinish = 115,
-
- /// <summary>
- /// 杈撻�佺嚎鍑哄簱鎵ц涓�
- /// </summary>
- [Description("杈撻�佺嚎鍑哄簱鎵ц涓�")]
- Line_OutExecuting = 120,
-
- /// <summary>
- /// 杈撻�佺嚎鍑哄簱瀹屾垚
- /// </summary>
- [Description("杈撻�佺嚎鍑哄簱瀹屾垚")]
- Line_OutFinish = 125,
-
-
- /// <summary>
- /// AGV鍑哄簱鎵ц涓�
- /// </summary>
- [Description("AGV鍑哄簱鎵ц涓�")]
- AGV_OutExecuting = 130,
-
- /// <summary>
- /// AGV鍑哄簱瀹屾垚
- /// </summary>
- [Description("AGV鎼繍瀹屾垚")]
- AGV_OutFinish = 135,
-
- /// <summary>
- /// 鍑哄簱浠诲姟瀹屾垚
- /// </summary>
- [Description("鍑哄簱浠诲姟瀹屾垚")]
- OutFinish = 190,
-
- /// <summary>
- /// 鍑哄簱浠诲姟鎸傝捣
- /// </summary>
- [Description("鍑哄簱浠诲姟鎸傝捣")]
- OutPending = 197,
-
- /// <summary>
- /// 鍑哄簱浠诲姟鍙栨秷
- /// </summary>
- [Description("鍑哄簱浠诲姟鍙栨秷")]
- OutCancel = 198,
-
- /// <summary>
- /// 鍑哄簱浠诲姟寮傚父
- /// </summary>
- [Description("鍑哄簱浠诲姟寮傚父")]
- OutException = 199,
- }
- public enum TaskOtherStateEnum
- {
-
- }
- public enum TaskRelocationStatusEnum
- {
- /// <summary>
- /// 鏂板缓绉诲簱浠诲姟
- /// </summary>
- [Description("鏂板缓绉诲簱浠诲姟")]
- RelocationNew = 300,
-
- /// <summary>
- /// 鍫嗗灈鏈虹Щ搴撴墽琛屼腑
- /// </summary>
- [Description("鍫嗗灈鏈虹Щ搴撴墽琛屼腑")]
- SC_RelocationExecuting = 310,
-
- /// <summary>
- /// 鍫嗗灈鏈虹Щ搴撳畬鎴�
- /// </summary>
- [Description("鍫嗗灈鏈虹Щ搴撳畬鎴�")]
- SC_RelocationFinish = 315,
-
- /// <summary>
- /// 鏂板缓AGV绉诲簱浠诲姟
- /// </summary>
- [Description("鏂板缓AGV绉诲簱浠诲姟")]
- RelocationNewAGV = 320,
-
- /// <summary>
- /// AGV绉诲簱鎵ц涓�
- /// </summary>
- [Description("AGV绉诲簱鎵ц涓�")]
- AGV_RelocationExecuting = 325,
-
- /// <summary>
- /// AGV绉诲簱瀹屾垚
- /// </summary>
- [Description("AGV绉诲簱瀹屾垚")]
- AGV_RelocationFinish = 330,
-
- /// <summary>
- /// 绉诲簱浠诲姟瀹屾垚
- /// </summary>
- [Description("绉诲簱浠诲姟瀹屾垚")]
- RelocationFinish = 390,
-
- /// <summary>
- /// 绉诲簱浠诲姟鎸傝捣
- /// </summary>
- [Description("绉诲簱浠诲姟鎸傝捣")]
- RelocationPending = 397,
-
- /// <summary>
- /// 绉诲簱浠诲姟鍙栨秷
- /// </summary>
- [Description("绉诲簱浠诲姟鍙栨秷")]
- RelocationCancel = 398,
-
- /// <summary>
- /// 绉诲簱浠诲姟寮傚父
- /// </summary>
- [Description("绉诲簱浠诲姟寮傚父")]
- RelocationException = 399,
- }
-
public enum TaskAGVCarryStatusEnum
{
/// <summary>
/// 鏂板缓AGV鎼繍浠诲姟
/// </summary>
[Description("鏂板缓AGV鎼繍浠诲姟")]
- CarryNew = 400,
+ AGV_CarryNew = 400,
/// <summary>
/// AGV鎼繍鎵ц涓�
/// </summary>
[Description("AGV鎼繍鎵ц涓�")]
- AGV_CarryExecuting = 410,
+ AGV_CarryExecuting = 405,
+
+ /// <summary>
+ /// AGV鍙栬揣瀹屾垚
+ /// </summary>
+ [Description("AGV鎼繍鍙栬揣瀹屾垚")]
+ AGV_CarryTakeFinish = 410,
/// <summary>
/// AGV鎼繍瀹屾垚
/// </summary>
- [Description("AGV鎼繍瀹屾垚")]
- AGV_CarryFinish = 415,
-
+ [Description("AGV鎼繍鏀捐揣瀹屾垚")]
+ AGV_CarryReleaseFinish = 415,
+
/// <summary>
/// AGV鎼繍浠诲姟瀹屾垚
/// </summary>
[Description("AGV鎼繍浠诲姟瀹屾垚")]
- CarryFinish = 490,
+ AGV_CarryFinish = 490,
/// <summary>
/// AGV鎼繍浠诲姟鎸傝捣
/// </summary>
[Description("AGV鎼繍浠诲姟鎸傝捣")]
- CarryPending = 497,
+ AGV_CarryPending = 497,
/// <summary>
/// AGV鎼繍浠诲姟鍙栨秷
/// </summary>
[Description("AGV鎼繍浠诲姟鍙栨秷")]
- CarryCancel = 498,
+ AGV_CarryCancel = 498,
/// <summary>
/// AGV鎼繍浠诲姟寮傚父
/// </summary>
[Description("AGV鎼繍浠诲姟寮傚父")]
- CarryException = 499,
+ AGV_CarryException = 499,
}
- public enum TaskAcrossFloorStatusEnum
+
+ /// <summary>
+ ///浣滀笟褰撳墠鐘舵��<br/>
+ ///寮�濮嬬Щ鍔細MOVE_BEGIN<br/>
+ ///鏂� 绠� 鍙� 鏂� 瀹� 鎴�:PICKER_RECEIVE<br/>
+ ///鏂� 绠� 涓� 鏂� 瀹� 鎴�:PICKER_SEND<br/>
+ ///绛夊緟鏀捐锛歐AITFEEDBACK<br/>
+ ///浠诲姟瀹屾垚锛欳OMPLETED<br/>
+ ///浠诲姟鍙栨秷瀹屾垚锛欳ANCELED<br/>
+ ///鍛婅锛歐ARNING<br/>
+ /// </summary>
+ public enum AGVStatusEnum
{
/// <summary>
- /// 鏂板缓璺ㄦゼ灞備换鍔�
+ /// 寮�濮嬬Щ鍔�
/// </summary>
- [Description("鏂板缓璺ㄦゼ灞備换鍔�")]
- CarryNew = 500,
-
+ [Description("寮�濮嬬Щ鍔�")]
+ MOVE_BEGIN,
/// <summary>
- /// 璺ㄦゼ灞傛惉杩�1
+ /// 鏂� 绠� 鍙� 鏂� 瀹� 鎴�
/// </summary>
- [Description("璺ㄦゼ灞傛惉杩�1")]
- FirstCarry = 510,
-
+ [Description("鏂� 绠� 鍙� 鏂� 瀹� 鎴�")]
+ PICKER_RECEIVE,
/// <summary>
- /// 涓�妤兼惉杩愬畬鎴�
+ /// 鏂� 绠� 涓� 鏂� 瀹� 鎴�
/// </summary>
- [Description("璺ㄦゼ灞傛惉杩�1瀹屾垚")]
- FirstCarryFinish = 515,
-
+ [Description("鏂� 绠� 涓� 鏂� 瀹� 鎴�")]
+ PICKER_SEND,
/// <summary>
- /// 璺ㄦゼ灞傛惉杩�2
+ /// 浠诲姟瀹屾垚
/// </summary>
- [Description("璺ㄦゼ灞傛惉杩�2")]
- SecondCarry = 520,
-
+ [Description("浠诲姟瀹屾垚")]
+ COMPLETED,
/// <summary>
- /// 璺ㄦゼ灞傜粓鐐规墽琛�
+ /// 绛夊緟鏀捐
/// </summary>
- [Description("璺ㄦゼ灞傜粓鐐规墽琛�")]
- EndAddressExecuting = 525,
-
+ [Description("绛夊緟鏀捐")]
+ WAITFEEDBACK,
/// <summary>
- /// 璺ㄦゼ灞傛惉杩�2瀹屾垚
+ /// 浠诲姟鍙栨秷瀹屾垚
/// </summary>
- [Description("璺ㄦゼ灞傛惉杩�2瀹屾垚")]
- SecondCarryFinish = 530,
-
+ [Description("浠诲姟鍙栨秷瀹屾垚")]
+ CANCELED,
/// <summary>
- /// 璺ㄦゼ灞備换鍔″畬鎴�
+ /// 鍛婅
/// </summary>
- [Description("璺ㄦゼ灞備换鍔″畬鎴�")]
- CarryFinish = 590,
-
- /// <summary>
- /// 璺ㄦゼ灞備换鍔℃寕璧�
- /// </summary>
- [Description("璺ㄦゼ灞備换鍔℃寕璧�")]
- CarryPending = 597,
-
- /// <summary>
- /// 璺ㄦゼ灞備换鍔″彇娑�
- /// </summary>
- [Description("璺ㄦゼ灞備换鍔″彇娑�")]
- CarryCancel = 598,
-
- /// <summary>
- /// AGV鎼繍浠诲姟寮傚父
- /// </summary>
- [Description("AGV鎼繍浠诲姟寮傚父")]
- CarryException = 599,
+ [Description("鍛婅")]
+ WARNING,
}
}
--
Gitblit v1.9.3