From 5907cf5775de374722d62648413fd46ca71cc396 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 17 一月 2025 10:34:19 +0800
Subject: [PATCH] 1.reply系列函数,修改为统一参数IMessage; 2.增加U2数据类型支持;

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

diff --git a/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h b/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h
index 638b3b3..b8603f3 100644
--- a/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h
+++ b/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h
@@ -29,17 +29,20 @@
 	virtual bool getBinary(BYTE& bin) = 0;
 	virtual bool getBool(bool& boolValue) = 0;
 	virtual bool getU4(unsigned int& value) = 0;
+	virtual bool getU2(unsigned short& value) = 0;
 	virtual int getSubItemSize() = 0;
 	virtual ISECS2Item* getSubItem(int index) = 0;
 	virtual bool getSubItemString(int index, char*& pszText) = 0;
 	virtual bool getSubItemBinary(int index, BYTE& bin) = 0;
 	virtual bool getSubItemBool(int index, bool& boolValue) = 0;
 	virtual bool getSubItemU4(int index, unsigned int& value) = 0;
+	virtual bool getSubItemU2(int index, unsigned short& 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* addBoolItem(bool boolValue, const char* pszNote) = 0;
 	virtual ISECS2Item* addU4Item(unsigned int value, const char* pszNote) = 0;
+	virtual ISECS2Item* addU2Item(unsigned short value, const char* pszNote) = 0;
 	virtual void setBinary(BYTE bin, const char* pszNote) = 0;
 	virtual ISECS2Item* addItem() = 0;
 };

--
Gitblit v1.9.3