From 2f7c7a0621ee2e84c47ccd054889a71e8ce4fdd0 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期六, 18 四月 2026 22:08:14 +0800
Subject: [PATCH] feat(机械手任务): 实现换盘任务多阶段处理逻辑
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/RobotSocketState.cs | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/RobotSocketState.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/RobotSocketState.cs
index 6697b01..06c8d92 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/RobotSocketState.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/RobotSocketState.cs
@@ -181,5 +181,46 @@
/// 褰撴甯哥數鑺换鍔″畬鎴愬悗璁句负 true锛屾満鍣ㄤ汉浠庡亣鐢佃姱浣嶇疆琛ュ厖鐢佃姱鑷�48涓��
/// </remarks>
public bool IsInFakeBatteryMode { get; set; }
+
+ /// <summary>
+ /// 褰撳墠鎵规璧峰缂栧彿锛堢敤浜庨�掑璁$畻鍙栬揣/鏀捐揣缂栧彿锛�
+ /// </summary>
+ /// <remarks>
+ /// 鍦ㄦ壒娆℃ā寮忎笅锛屾瘡鎵瑰彇璐�/鏀捐揣鐨勮捣濮嬬紪鍙蜂粠1寮�濮嬮�掑銆�
+ /// 鐢ㄤ簬璁$畻 {start}-{end} 鏍煎紡涓殑 start 鍊笺��
+ /// </remarks>
+ public int CurrentBatchIndex { get; set; } = 1;
+
+ /// <summary>
+ /// 鎹㈢洏浠诲姟褰撳墠闃舵
+ /// </summary>
+ /// <remarks>
+ /// 闃舵瀹氫箟锛�
+ /// 0: 鏈紑濮�
+ /// 1: 鍙栨甯哥數鑺紙涓ゆ祦鍚戠浉鍚岋級
+ /// 2: 鏀炬甯哥數鑺埌鐩爣鎵樼洏锛堜袱娴佸悜鐩稿悓锛�
+ /// 3: 娴佸悜A锛氭甯稿彇瀹屸啋绌烘墭鐩樺洖搴撯啋鍙栧亣鐢佃姱浠�5鍙蜂綅 / 娴佸悜B锛氭甯稿彇瀹屸啋鍙栧亣鐢佃姱浠庢簮鍦板潃
+ /// 4: 娴佸悜A锛氭斁鍋囩數鑺埌鐩爣鎵樼洏 / 娴佸悜B锛氭斁鍋囩數鑺埌5鍙蜂綅
+ /// 5: 娴佸悜A锛氬亣鏀惧畬鈫抋llputfinished鍏ュ簱HCSC1 / 娴佸悜B锛氬亣鍙栧畬鈫掔┖鎵樼洏鍥炲簱HCSC1+缁勭洏鍏ュ簱GWSC1
+ /// </remarks>
+ public int ChangePalletPhase { get; set; }
+
+ /// <summary>
+ /// 鏄惁鎵爜NG
+ /// </summary>
+ /// <remarks>
+ /// 鎷夊甫绾夸笂鐢佃姱鎵爜鏄惁NG銆�
+ /// </remarks>
+ public bool IsScanNG { get; set; } = false;
+
+
+
+ /// <summary>
+ /// 鏄惁鐢佃姱鍒颁綅
+ /// </summary>
+ /// <remarks>
+ /// 鎷夊甫绾夸笂鐢佃姱鏄惁鍒颁綅銆�
+ /// </remarks>
+ public bool BatteryArrived { get; set; } = false;
}
}
--
Gitblit v1.9.3