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 | 34 +++++++++++++++++++++++-----------
1 files changed, 23 insertions(+), 11 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 ba4c174..5fc0f39 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/StackerCrane/Enum/StackerCraneStatus.cs
@@ -32,10 +32,10 @@
public enum StackerCraneStatus
{
/// <summary>
- /// 姝e父
+ /// 绌洪棽&鑱旀満
/// </summary>
- [Description("姝e父")]
- Normal,
+ [Description("绌洪棽&鑱旀満")]
+ Normal = 1,
/// <summary>
/// 鏁呴殰
@@ -53,7 +53,7 @@
/// 鏈煡
/// </summary>
[Description("鏈煡")]
- Unkonw
+ Unknown
}
/// <summary>
@@ -65,7 +65,7 @@
/// 缁翠慨/缁存姢/淇濆吇
/// </summary>
[Description("缁翠慨")]
- Maintenance,
+ Maintenance = 2,
/// <summary>
/// 鎵嬪姩
@@ -89,7 +89,7 @@
/// 鏈煡
/// </summary>
[Description("鏈煡")]
- Unkonw
+ Unknown
}
/// <summary>
@@ -101,7 +101,19 @@
/// 寰呮満
/// </summary>
[Description("寰呮満")]
- Standby,
+ Standby = 1,
+
+ /// <summary>
+ /// 鎺ユ敹浠诲姟
+ /// </summary>
+ [Description("鎺ユ敹浠诲姟")]
+ AcceptTask,
+
+ /// <summary>
+ /// 鍙栬揣绉诲姩涓�
+ /// </summary>
+ [Description("鍙栬揣绉诲姩涓�")]
+ PickMove,
/// <summary>
/// 鍙栬揣涓�
@@ -110,10 +122,10 @@
PickUp,
/// <summary>
- /// 鍙栬揣瀹屾垚
+ /// 鏀捐揣绉诲姩涓�
/// </summary>
- [Description("鍙栬揣瀹屾垚")]
- PickUpCompleted,
+ [Description("鏀捐揣绉诲姩涓�")]
+ PutMove,
/// <summary>
/// 鏀捐揣涓�
@@ -143,7 +155,7 @@
/// 鏈煡
/// </summary>
[Description("鏈煡")]
- Unkonw
+ Unknown
}
/// <summary>
--
Gitblit v1.9.3