From b1f5b17a608d3d9c06ce216c7e1effc5edcc7b74 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 06 四月 2026 19:53:31 +0800
Subject: [PATCH] 更新机器人工作流逻辑、配置并添加电子表格
---
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Workflow/RobotSimpleCommandHandler.cs | 42 ++++++++++++++++++++----------------------
1 files changed, 20 insertions(+), 22 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Workflow/RobotSimpleCommandHandler.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Workflow/RobotSimpleCommandHandler.cs
index c8887de..0a17d62 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Workflow/RobotSimpleCommandHandler.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Workflow/RobotSimpleCommandHandler.cs
@@ -79,6 +79,26 @@
state.OperStatus = "Homed";
return true;
+ // 鏈哄櫒浜烘鍦ㄨ繍琛�
+ case "running":
+ state.OperStatus = "Running";
+ return true;
+
+ // 鏈哄櫒浜烘鍦ㄦ殏鍋�
+ case "pausing":
+ state.OperStatus = "Pausing";
+ return true;
+
+ // 鏈哄櫒浜烘鍦ㄩ鐑�
+ case "warming":
+ state.OperStatus = "Warming";
+ return true;
+
+ // 鏈哄櫒浜烘鍦ㄦ�ュ仠
+ case "emstoping":
+ state.OperStatus = "Emstoping";
+ return true;
+
// 鏈哄櫒浜烘鍦ㄥ彇璐�
case "picking":
state.CurrentAction = "Picking";
@@ -158,28 +178,6 @@
}
return false;
}
-
- // ==================== 杩愯鐘舵�佸懡浠わ紙缁級 ====================
-
- // 鏈哄櫒浜烘鍦ㄨ繍琛�
- case "running":
- state.OperStatus = "Running";
- return true;
-
- // 鏈哄櫒浜烘鍦ㄦ殏鍋�
- case "pausing":
- state.OperStatus = "Pausing";
- return true;
-
- // 鏈哄櫒浜烘鍦ㄩ鐑�
- case "warming":
- state.OperStatus = "Warming";
- return true;
-
- // 鏈哄櫒浜烘鍦ㄦ�ュ仠
- case "emstoping":
- state.OperStatus = "Emstoping";
- return true;
// ==================== 妯″紡鍒囨崲鍛戒护 ====================
--
Gitblit v1.9.3