From 8f0460c03589056aec7643c8ef625a207ae49f4d Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 18 二月 2025 16:07:36 +0800
Subject: [PATCH] 1.添加Cim State

---
 SourceCode/Bond/Servo/CEquipment.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h
index 37d8e2b..044fcd8 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -10,6 +10,7 @@
 	typedef struct _EquipmentListener
 	{
 		ONALIVE				onAlive;
+		ONALIVE				onCimStateChanged;
 	} EquipmentListener;
 
 	// Memory Block 结构体定义
@@ -54,7 +55,7 @@
 		virtual void serialize(CArchive& ar);
 		virtual void onReceiveLBData(const char* pszData, size_t size);
 		BOOL isAlive();
-
+	
 	private:
 		BOOL isBitOn(const char* pszData, size_t size, int index);
 
@@ -70,7 +71,10 @@
 		StationIdentifier m_station;
 		MemoryBlock m_blockReadBit;
 		MemoryBlock m_blockWriteBit;
+
+	private:
 		ALIVE m_alive;
+		BOOL m_bCimState;			// ON/OFF
 	};
 }
 

--
Gitblit v1.9.3