From 963e6bffaaf6a62a1f764c6633cf6accbb1608c9 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 17 六月 2025 08:54:35 +0800
Subject: [PATCH] 1.两片玻璃贴合后一起搬运的逻辑问题再优化,同时修改Slot信息,贴合后的玻璃应该放置在同一Slot.

---
 SourceCode/Bond/Servo/ServoCommo.h |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoCommo.h b/SourceCode/Bond/Servo/ServoCommo.h
index e80ba90..aa02acc 100644
--- a/SourceCode/Bond/Servo/ServoCommo.h
+++ b/SourceCode/Bond/Servo/ServoCommo.h
@@ -110,11 +110,46 @@
 	enum class ROBOT_TASK_STATE {
 		Ready = 0,
 		Running,
+		Picking,
+		Placing,
+		Restoring,
 		Error,
 		Abort,
 		Completed
 	};
 
+	enum class ROBOT_STATUS {
+		Setup = 0,
+		Idle,
+		Run,
+		Pause,
+		Stop,
+		Moving,
+	};
+
+	enum class ROBOT_POSITION {
+		Port1 = 0,
+		Port2,
+		Port3,
+		Port4,
+		Aligner,
+		Fliper,
+		Bonder1,
+		Bonder2,
+		Bake,
+		Cooling,
+		Measurement
+	};
+
+	/* Indexer Monitoring Status */
+	/* Robot Monitoring Data */
+	typedef struct _ROBOT_MONITORING_DATA {
+		ROBOT_STATUS status;
+		ROBOT_POSITION position;
+		BOOL armState[2];
+	} ROBOT_MONITORING_DATA, RMDATA;
+
+
 	/* EQ Data changed code */
 #define EDCC_FETCHOUT_JOB				1000	/* 取片 */
 #define EDCC_STORED_JOB					1001	/* 放片 */

--
Gitblit v1.9.3