From 44360bc2cdeee16be72f9cc4bfb42e0ac26b5b44 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期一, 19 一月 2026 14:47:19 +0800
Subject: [PATCH] 1.修改优化

---
 SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h b/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h
index 805d2f2..09b9ed0 100644
--- a/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h
+++ b/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h
@@ -55,7 +55,7 @@
 	virtual bool getSubItemU1(int index, unsigned char& value) = 0;
 	virtual void reset() = 0;
 	virtual ISECS2Item* addItem(const char* pszText, const char* pszNote) = 0;
-	virtual ISECS2Item* addBinaryItem(BYTE bin, const char* pszNote) = 0;
+	virtual ISECS2Item* addBinaryItem(const char* pszData, unsigned int len, const char* pszNote) = 0;
 	virtual ISECS2Item* addBoolItem(bool boolValue, const char* pszNote) = 0;
 	virtual ISECS2Item* addI8Item(long long value, const char* pszNote) = 0;
 	virtual ISECS2Item* addI4Item(int value, const char* pszNote) = 0;
@@ -69,5 +69,7 @@
 	virtual ISECS2Item* addU1Item(unsigned char value, const char* pszNote) = 0;
 	virtual void setBinary(const char* pszData, unsigned int len, const char* pszNote) = 0;
 	virtual void setString(const char* pszText, const char* pszNote) = 0;
+	virtual void setU1(unsigned char value, const char* pszNote) = 0;
+	virtual void setBool(bool value, const char* pszNote) = 0;
 	virtual ISECS2Item* addItem() = 0;
 };

--
Gitblit v1.9.3