From 0de0a72329a77fbf20bc299c542e435a6d47256b Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 21 六月 2025 17:12:01 +0800
Subject: [PATCH] Merge branch 'liuyang' into clh

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

diff --git a/SourceCode/Bond/Servo/ServoCommo.h b/SourceCode/Bond/Servo/ServoCommo.h
index c8b3ae1..1e63c8e 100644
--- a/SourceCode/Bond/Servo/ServoCommo.h
+++ b/SourceCode/Bond/Servo/ServoCommo.h
@@ -1,5 +1,6 @@
 #pragma once
-
+#include <string>
+#include <vector>
 
 namespace SERVO {
 #define BLOCK_BUFFER_MAX			1024
@@ -165,6 +166,22 @@
 		Error
 	};
 
+	/* Port Status */
+	struct SlotConfig {
+		int nSlotID = 0;
+		bool isEnabled = false;
+	};
+
+	struct PortConfig {
+		int nMaterialType;			   // 物料类型,1: G1, 2: G2, 3: G1+G2
+		std::string strPortName;       // 例如 "Port 1"
+		std::string strRecipe;         // 例如 "P1001"
+		std::string strLotID;
+		std::string strProductID;
+		std::string strOperationID;
+		std::vector<SlotConfig> vecSlot;
+	};
+
 	/* EQ Data changed code */
 #define EDCC_FETCHOUT_JOB				1000	/* 取片 */
 #define EDCC_STORED_JOB					1001	/* 放片 */

--
Gitblit v1.9.3