From d9e65f3f10d4be89b3deb65ca3e16ce557fb875d Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 02 十二月 2024 09:58:36 +0800
Subject: [PATCH] 1.合并
---
SourceCode/Bond/BondEq/Common.h | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/BondEq/Common.h b/SourceCode/Bond/BondEq/Common.h
index 0ef4e64..6cc098b 100644
--- a/SourceCode/Bond/BondEq/Common.h
+++ b/SourceCode/Bond/BondEq/Common.h
@@ -4,6 +4,9 @@
#define MC_TIME_SEPAR 1000
+#define UNIT1 _T("UNIT1")
+
+
/* Context Ret code */
#define CRC_ACK_REJECT -3
#define CRC_TIMEOUT -2
@@ -15,7 +18,6 @@
#define RX_CODE_TEST 0
#define RX_CODE_LOG 1000
#define RX_CODE_BONDER_STATE_CHANGED 1001
-#define RX_CODE_PASSIVE_STATUS_CHANGED 1002
#define RX_CODE_PLC1_CONNECTTD 1003
#define RX_CODE_PLC1_DISCONNECTTD 1004
#define RX_CODE_SELECT_EQ 1005
@@ -28,7 +30,8 @@
#define RX_CODE_ALARM_EVENT 1012
#define RX_CODE_EQSTATE_EVENT 1013
#define RX_CODE_EFEM_STATUS_CHANGED 1014
-#define RX_CODE_REMOTEEQ_STATE_CHANGED 1015
+#define RX_CODE_EQ_STATE_CHANGED 1015
+#define RX_CODE_SELECT_COMPONENT 1016
/* 广播代码 */
#define BC_CODE_DATA1_MATERIAL_RECEIVED 5000
@@ -87,3 +90,21 @@
/* 按钮id */
#define VIEW_TOOL_BTN_CLOSE 0x1016
+
+/* 单元数据 */
+typedef struct _UNITDATA1
+{
+ ULONG64 time;
+
+ /* 0:上腔体温度 */
+ /* 1:下腔体温度 */
+ /* 2~9:8个腔体监测温度 */
+ float temp[12];
+
+ /* 腔体真空 pa */
+ float vacuum;
+
+ /* 5个压力值 kg */
+ float pressure[5];
+} UNITDATA1;
+
--
Gitblit v1.9.3