From cacea2da59a3acd73f3161d819a10e0060762616 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 06 五月 2025 14:54:13 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/Common.h |  127 ++++++++++++++++++++++++++++++++++--------
 1 files changed, 103 insertions(+), 24 deletions(-)

diff --git a/SourceCode/Bond/Servo/Common.h b/SourceCode/Bond/Servo/Common.h
index 84bc43e..34d4258 100644
--- a/SourceCode/Bond/Servo/Common.h
+++ b/SourceCode/Bond/Servo/Common.h
@@ -128,33 +128,93 @@
 #define STEP_EQ_P4_CASSETTE_INUSE		_T("EQPort4CassetteInUse")
 #define STEP_EQ_P4_CASSETTE_UNLOAD_EADY	_T("EQPort4CassetteUnloadReady")
 #define STEP_EQ_P4_CASSETTE_BLOCKED		_T("EQPort4CassetteBlocked")
+#define STEP_EQ_P1_CASSETTE_CTRL_CMD	_T("EQPort1CassetteCtrlCmd")
+#define STEP_EQ_P2_CASSETTE_CTRL_CMD	_T("EQPort2CassetteCtrlCmd")
+#define STEP_EQ_P3_CASSETTE_CTRL_CMD	_T("EQPort3CassetteCtrlCmd")
+#define STEP_EQ_P4_CASSETTE_CTRL_CMD	_T("EQPort4CassetteCtrlCmd")
+#define STEP_EQ_CIM_MESSAGE_CONFIRM		_T("EQCimMessageConfirm")
+#define STEP_EQ_RECEIVED_JOB_UPS1		_T("EQJEReceivedJobUps1")
+#define STEP_EQ_RECEIVED_JOB_UPS2		_T("EQJEReceivedJobUps2")
+#define STEP_EQ_SENT_OUT_JOB_DOWNS1		_T("EQJESentOutJobDowns1")
+#define STEP_EQ_SENT_OUT_JOB_DOWNS2		_T("EQJESentOutJobDowns2")
+#define STEP_EQ_VCR1_EVENT_REPORT		_T("EQVcr1EventReport")
+#define STEP_EQ_RURRENT_RECIPE_CHANGE	_T("EQCurrentRecipeChange")
+#define STEP_EQ_MASTER_RECIPE_LIST_REQ	_T("EQMasterRecipeListReq")
+#define STEP_EQ_MASTER_RECIPE_LIST		_T("EQMasterRecipeListReport")
 
 
 /* Step ID */
-#define STEP_ID_PORT1_CASSETTIE_EMPTY			0x418
-#define STEP_ID_PORT1_CASSETTIE_LOAD_READY		0x420
-#define STEP_ID_PORT1_CASSETTIE_LOADED			0x428
-#define STEP_ID_PORT1_CASSETTIE_INUSE			0x430
-#define STEP_ID_PORT1_CASSETTIE_UNLOAD_READY	0x438
-#define STEP_ID_PORT1_CASSETTIE_BLOCKED			0x440
-#define STEP_ID_PORT2_CASSETTIE_EMPTY			0x419
-#define STEP_ID_PORT2_CASSETTIE_LOAD_READY		0x421
-#define STEP_ID_PORT2_CASSETTIE_LOADED			0x429
-#define STEP_ID_PORT2_CASSETTIE_INUSE			0x431
-#define STEP_ID_PORT2_CASSETTIE_UNLOAD_READY	0x439
-#define STEP_ID_PORT2_CASSETTIE_BLOCKED			0x441
-#define STEP_ID_PORT3_CASSETTIE_EMPTY			0x41a
-#define STEP_ID_PORT3_CASSETTIE_LOAD_READY		0x422
-#define STEP_ID_PORT3_CASSETTIE_LOADED			0x42a
-#define STEP_ID_PORT3_CASSETTIE_INUSE			0x432
-#define STEP_ID_PORT3_CASSETTIE_UNLOAD_READY	0x43a
-#define STEP_ID_PORT3_CASSETTIE_BLOCKED			0x442
-#define STEP_ID_PORT4_CASSETTIE_EMPTY			0x41b
-#define STEP_ID_PORT4_CASSETTIE_LOAD_READY		0x423
-#define STEP_ID_PORT4_CASSETTIE_LOADED			0x42b
-#define STEP_ID_PORT4_CASSETTIE_INUSE			0x433
-#define STEP_ID_PORT4_CASSETTIE_UNLOAD_READY	0x43b
-#define STEP_ID_PORT4_CASSETTIE_BLOCKED			0x443
+#define STEP_ID_CIMMODE_CHANGED_CMD_REPLY		0x550
+#define STEP_ID_CIM_MSG_SET_CMD_REPLY			0x551
+#define STEP_ID_CIM_MSG_CLEAR_CMD_REPLY			0x552
+#define STEP_ID_DATETIME_SET_CMD_REPLY			0x553
+#define STEP_ID_VCR_ENABLE_CMD_REPLY			0x554
+#define STEP_ID_EQMODE_CHANGE_CMD_REPLY			0x555
+#define STEP_ID_MASTER_RECIPE_LIST_CMD_REPLY	0x556
+#define STEP_ID_EQMODE_CHANGED					0x560
+#define STEP_ID_EQSTATUS_CHANGED				0x561
+#define STEP_ID_EQALARM1						0x562
+#define STEP_ID_EQALARM2						0x563
+#define STEP_ID_EQALARM3						0x564
+#define STEP_ID_EQALARM4						0x565
+#define STEP_ID_EQALARM5						0x566
+#define STEP_ID_PROCESS_DATA_REPORT				0x567
+#define STEP_ID_CURRENT_RECIPE_CHANGE_REPORT	0x568
+#define STEP_ID_CIM_MSG_CONFIRM_REPORT			0x569
+#define STEP_ID_VCR1_EVENT_REPORT				0x56A
+#define STEP_ID_MASTER_RECIPE_LIST_REPORT		0x56B
+#define STEP_ID_RECIVE_JOB_UPS1					0x580
+#define STEP_ID_RECIVE_JOB_UPS2					0x581
+#define STEP_ID_SENT_OUT_JOB_DOWNS1				0x590
+#define STEP_ID_SENT_OUT_JOB_DOWNS2				0x591
+#define STEP_ID_PORT1_TYPE_CHANGE				0x600
+#define STEP_ID_PORT2_TYPE_CHANGE				0x601
+#define STEP_ID_PORT3_TYPE_CHANGE				0x602
+#define STEP_ID_PORT4_TYPE_CHANGE				0x603
+#define STEP_ID_PORT1_MODE_CHANGE				0x608
+#define STEP_ID_PORT2_MODE_CHANGE				0x609
+#define STEP_ID_PORT3_MODE_CHANGE				0x60A
+#define STEP_ID_PORT4_MODE_CHANGE				0x60B
+#define STEP_ID_PORT1_CASSETTE_TYPE_CHANGE		0x610
+#define STEP_ID_PORT2_CASSETTE_TYPE_CHANGE		0x611
+#define STEP_ID_PORT3_CASSETTE_TYPE_CHANGE		0x612
+#define STEP_ID_PORT4_CASSETTE_TYPE_CHANGE		0x613
+#define STEP_ID_PORT1_TRANSFER_MODE_CHANGE		0x618
+#define STEP_ID_PORT2_TRANSFER_MODE_CHANGE		0x619
+#define STEP_ID_PORT3_TRANSFER_MODE_CHANGE		0x61A
+#define STEP_ID_PORT4_TRANSFER_MODE_CHANGE		0x61B
+#define STEP_ID_PORT1_ENABLE_MODE_CHANGE		0x620
+#define STEP_ID_PORT2_ENABLE_MODE_CHANGE		0x621
+#define STEP_ID_PORT3_ENABLE_MODE_CHANGE		0x622
+#define STEP_ID_PORT4_ENABLE_MODE_CHANGE		0x623
+#define STEP_ID_PORT1_TYPE_AUTO_CHANGE			0x628
+#define STEP_ID_PORT2_TYPE_AUTO_CHANGE			0x629
+#define STEP_ID_PORT3_TYPE_AUTO_CHANGE			0x62A
+#define STEP_ID_PORT4_TYPE_AUTO_CHANGE			0x62B
+#define STEP_ID_PORT1_CASSETTIE_EMPTY			0x638
+#define STEP_ID_PORT1_CASSETTIE_LOAD_READY		0x640
+#define STEP_ID_PORT1_CASSETTIE_LOADED			0x648
+#define STEP_ID_PORT1_CASSETTIE_INUSE			0x650
+#define STEP_ID_PORT1_CASSETTIE_UNLOAD_READY	0x658
+#define STEP_ID_PORT1_CASSETTIE_BLOCKED			0x660
+#define STEP_ID_PORT2_CASSETTIE_EMPTY			0x639
+#define STEP_ID_PORT2_CASSETTIE_LOAD_READY		0x641
+#define STEP_ID_PORT2_CASSETTIE_LOADED			0x649
+#define STEP_ID_PORT2_CASSETTIE_INUSE			0x651
+#define STEP_ID_PORT2_CASSETTIE_UNLOAD_READY	0x659
+#define STEP_ID_PORT2_CASSETTIE_BLOCKED			0x661
+#define STEP_ID_PORT3_CASSETTIE_EMPTY			0x63a
+#define STEP_ID_PORT3_CASSETTIE_LOAD_READY		0x642
+#define STEP_ID_PORT3_CASSETTIE_LOADED			0x64a
+#define STEP_ID_PORT3_CASSETTIE_INUSE			0x652
+#define STEP_ID_PORT3_CASSETTIE_UNLOAD_READY	0x65a
+#define STEP_ID_PORT3_CASSETTIE_BLOCKED			0x662
+#define STEP_ID_PORT4_CASSETTIE_EMPTY			0x63b
+#define STEP_ID_PORT4_CASSETTIE_LOAD_READY		0x643
+#define STEP_ID_PORT4_CASSETTIE_LOADED			0x64b
+#define STEP_ID_PORT4_CASSETTIE_INUSE			0x653
+#define STEP_ID_PORT4_CASSETTIE_UNLOAD_READY	0x65b
+#define STEP_ID_PORT4_CASSETTIE_BLOCKED			0x663
 
 
 /* base alarm */
@@ -219,3 +279,22 @@
 #define CASSETTE_PROCCESS_COMPLETED		7
 
 
+/*
+	Master Recipe List Return Code Block	Description
+		1	OK : Recipe List Received Result is all ok
+		2	Continue : Equipment still has to send the master recipe list to EAS because EAS is not yet received all master recipe list.
+		3	Master Recipe list Count NG : Total Group Count is same as Current Group Count but it’s different with Total Master Recipe List Count.
+		4	Group Count NG : Total Group Count is different with Current Group Count but it’s same with Total Master Recipe Count.
+		5	Duplication Group Count NG : Current Group Count is duplicate with previous group count.Equipment has to send the next group count to EAS.
+		6	Order by Group Count NG : Group Count is not sent order by next group count to EAS.Group Count has to send by order the next group count
+*/
+#define MRLRC_CURRENT_RECIPE_COMPLETE		0
+#define MRLRC_OK							1
+#define MRLRC_NG							2
+#define MRLRC_CONTINUE						3
+#define MRLRC_MASTER_RECIPE_LIST_COUNT_NG	4
+#define MRLRC_GROUP_COUNT_NG				5
+#define MRLRC_DUPLICATION_GROUP_COUNT_NG	6
+#define ORDER_BY_GROUP_COUNT_NG				7
+
+

--
Gitblit v1.9.3