From 5171d3f59b89389bf75293afd210cfa6de4ccff7 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 10 四月 2026 23:03:49 +0800
Subject: [PATCH] feat: 添加堆垛机相关常量类并重构代码使用常量

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs |   64 +++++++++++++++++++++++++------
 1 files changed, 51 insertions(+), 13 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs
index 7386496..5fc0f39 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs
@@ -1,4 +1,5 @@
 锘�#region << 鐗� 鏈� 娉� 閲� >>
+
 /*----------------------------------------------------------------
  * 鍛藉悕绌洪棿锛歐IDESEAWCS_QuartzJob
  * 鍒涘缓鑰咃細鑳$搴�
@@ -11,8 +12,9 @@
  * 淇敼鏃堕棿锛�
  * 鐗堟湰锛歏1.0.1
  * 淇敼璇存槑锛�
- * 
+ *
  *----------------------------------------------------------------*/
+
 #endregion << 鐗� 鏈� 娉� 閲� >>
 
 using System;
@@ -30,10 +32,10 @@
     public enum StackerCraneStatus
     {
         /// <summary>
-        /// 姝e父
+        /// 绌洪棽&鑱旀満
         /// </summary>
-        [Description("姝e父")]
-        Normal,
+        [Description("绌洪棽&鑱旀満")]
+        Normal = 1,
 
         /// <summary>
         /// 鏁呴殰
@@ -51,7 +53,7 @@
         /// 鏈煡
         /// </summary>
         [Description("鏈煡")]
-        Unkonw
+        Unknown
     }
 
     /// <summary>
@@ -63,7 +65,7 @@
         /// 缁翠慨/缁存姢/淇濆吇
         /// </summary>
         [Description("缁翠慨")]
-        Maintenance,
+        Maintenance = 2,
 
         /// <summary>
         /// 鎵嬪姩
@@ -87,7 +89,7 @@
         /// 鏈煡
         /// </summary>
         [Description("鏈煡")]
-        Unkonw
+        Unknown
     }
 
     /// <summary>
@@ -99,7 +101,19 @@
         /// 寰呮満
         /// </summary>
         [Description("寰呮満")]
-        Standby,
+        Standby = 1,
+
+        /// <summary>
+        /// 鎺ユ敹浠诲姟
+        /// </summary>
+        [Description("鎺ユ敹浠诲姟")]
+        AcceptTask,
+
+        /// <summary>
+        /// 鍙栬揣绉诲姩涓�
+        /// </summary>
+        [Description("鍙栬揣绉诲姩涓�")]
+        PickMove,
 
         /// <summary>
         /// 鍙栬揣涓�
@@ -108,10 +122,10 @@
         PickUp,
 
         /// <summary>
-        /// 鍙栬揣瀹屾垚
+        /// 鏀捐揣绉诲姩涓�
         /// </summary>
-        [Description("鍙栬揣瀹屾垚")]
-        PickUpCompleted,
+        [Description("鏀捐揣绉诲姩涓�")]
+        PutMove,
 
         /// <summary>
         /// 鏀捐揣涓�
@@ -141,6 +155,30 @@
         /// 鏈煡
         /// </summary>
         [Description("鏈煡")]
-        Unkonw
+        Unknown
     }
-}
+
+    /// <summary>
+    /// 浠诲姟瀹屾垚鐘舵�佹灇涓�
+    /// </summary>
+    public enum StackerCraneCompleted
+    {
+        /// <summary>
+        /// 鏈畬鎴�
+        /// </summary>
+        [Description("鏈畬鎴�")]
+        NotCompleted,
+
+        /// <summary>
+        /// 宸插畬鎴�
+        /// </summary>
+        [Description("宸插畬鎴�")]
+        Completed,
+
+        /// <summary>
+        /// 寮傚父瀹屾垚
+        /// </summary>
+        [Description("寮傚父瀹屾垚")]
+        AbnormalCompleted
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3