From 2c69e642303e9f9c3b2e37194c4c6cdf7e1b3001 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期三, 29 四月 2026 17:26:33 +0800
Subject: [PATCH] 4-29
---
项目代码/WIDESEA_WCSServer/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs | 365 ++++++++++++++--------------------------------------
1 files changed, 99 insertions(+), 266 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..f02ab86 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,148 @@
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,
+
+ // 涓嬫柟鐘舵�佷负鑲栦郊鎵�鍐�
+ /// <summary>
+ /// 椤跺崌瀹屾垚
+ /// </summary>
+ [Description("椤跺崌瀹屾垚")]
+ AGV_UP_CONTAINER = 500,
+
+ /// <summary>
+ /// 鏀句笅瀹屾垚
+ /// </summary>
+ [Description("鏀句笅瀹屾垚")]
+ AGV_DOWN_CONTAINER = 501,
+
+ /// <summary>
+ /// 浠诲姟瀹屾垚
+ /// </summary>
+ [Description("浠诲姟瀹屾垚")]
+ AGV_COMPLETED = 502
}
- 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("寮�濮嬬Щ鍔�")]
+ // MOVE_BEGIN,
+ // /// <summary>
+ // /// 鏂� 绠� 鍙� 鏂� 瀹� 鎴�
+ // /// </summary>
+ // [Description("鏂� 绠� 鍙� 鏂� 瀹� 鎴�")]
+ // PICKER_RECEIVE,
+ // /// <summary>
+ // /// 鏂� 绠� 涓� 鏂� 瀹� 鎴�
+ // /// </summary>
+ // [Description("鏂� 绠� 涓� 鏂� 瀹� 鎴�")]
+ // PICKER_SEND,
+ // /// <summary>
+ // /// 浠诲姟瀹屾垚
+ // /// </summary>
+ // [Description("浠诲姟瀹屾垚")]
+ // COMPLETED,
+ // /// <summary>
+ // /// 绛夊緟鏀捐
+ // /// </summary>
+ // [Description("绛夊緟鏀捐")]
+ // WAITFEEDBACK,
+ // /// <summary>
+ // /// 浠诲姟鍙栨秷瀹屾垚
+ // /// </summary>
+ // [Description("浠诲姟鍙栨秷瀹屾垚")]
+ // CANCELED,
+ // /// <summary>
+ // /// 鍛婅
+ // /// </summary>
+ // [Description("鍛婅")]
+ // WARNING,
+ //}
+
+ /// <summary>
+ /// 椤� 鍗� 瀹� 鎴� 锛歎P_CONTAINER
+ /// 鏀� 涓� 瀹� 鎴� 锛欴OWN_CONTAINER
+ /// 浠诲姟瀹屾垚 锛� COMPLETED
+ /// </summary>
+ public enum AGVStatusEnum
{
/// <summary>
- /// 鏂板缓璺ㄦゼ灞備换鍔�
+ /// 椤跺崌瀹屾垚
/// </summary>
- [Description("鏂板缓璺ㄦゼ灞備换鍔�")]
- CarryNew = 500,
+ [Description("椤跺崌瀹屾垚")]
+ UP_CONTAINER,
/// <summary>
- /// 璺ㄦゼ灞傛惉杩�1
+ /// 鏀句笅瀹屾垚
/// </summary>
- [Description("璺ㄦゼ灞傛惉杩�1")]
- FirstCarry = 510,
+ [Description("鏀句笅瀹屾垚")]
+ DOWN_CONTAINER,
/// <summary>
- /// 涓�妤兼惉杩愬畬鎴�
+ /// 浠诲姟瀹屾垚
/// </summary>
- [Description("璺ㄦゼ灞傛惉杩�1瀹屾垚")]
- FirstCarryFinish = 515,
-
- /// <summary>
- /// 璺ㄦゼ灞傛惉杩�2
- /// </summary>
- [Description("璺ㄦゼ灞傛惉杩�2")]
- SecondCarry = 520,
-
- /// <summary>
- /// 璺ㄦゼ灞傜粓鐐规墽琛�
- /// </summary>
- [Description("璺ㄦゼ灞傜粓鐐规墽琛�")]
- EndAddressExecuting = 525,
-
- /// <summary>
- /// 璺ㄦゼ灞傛惉杩�2瀹屾垚
- /// </summary>
- [Description("璺ㄦゼ灞傛惉杩�2瀹屾垚")]
- SecondCarryFinish = 530,
-
- /// <summary>
- /// 璺ㄦゼ灞備换鍔″畬鎴�
- /// </summary>
- [Description("璺ㄦゼ灞備换鍔″畬鎴�")]
- CarryFinish = 590,
-
- /// <summary>
- /// 璺ㄦゼ灞備换鍔℃寕璧�
- /// </summary>
- [Description("璺ㄦゼ灞備换鍔℃寕璧�")]
- CarryPending = 597,
-
- /// <summary>
- /// 璺ㄦゼ灞備换鍔″彇娑�
- /// </summary>
- [Description("璺ㄦゼ灞備换鍔″彇娑�")]
- CarryCancel = 598,
-
- /// <summary>
- /// AGV鎼繍浠诲姟寮傚父
- /// </summary>
- [Description("AGV鎼繍浠诲姟寮傚父")]
- CarryException = 599,
+ [Description("浠诲姟瀹屾垚")]
+ COMPLETED,
}
}
--
Gitblit v1.9.3