From 956cb65690500f099be756accc346f3c8d56be99 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 20 一月 2025 16:50:54 +0800
Subject: [PATCH] 1.SECS,实现S2F15(Equipment Constant Send)的回复,目前仅打印显示数据,待机器端确认相关逻辑后再保存和设置机器数据。 2.修改和完善S2F13,与S2F15靠拢,并使用相同的数据结构和回调函数到应用层;

---
 SourceCode/Bond/BondEq/Component.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/BondEq/Component.h b/SourceCode/Bond/BondEq/Component.h
index 46e43c3..8b239a3 100644
--- a/SourceCode/Bond/BondEq/Component.h
+++ b/SourceCode/Bond/BondEq/Component.h
@@ -38,9 +38,11 @@
 	int WriteData(MC::SOFT_COMPONENT softComponent, unsigned int addr,
 		const char* pszData, unsigned int length, ONWRITE funOnWrite);
 
-protected:
+public:
 	inline void Lock() { EnterCriticalSection(&m_criticalSection); }
 	inline void Unlock() { LeaveCriticalSection(&m_criticalSection); }
+
+protected:
 	void SendBroadcast(CIntent* pIntent);
 
 protected:

--
Gitblit v1.9.3