From f56051fa3102feb35ea60650ebda80f49e62d025 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期二, 05 八月 2025 14:54:24 +0800 Subject: [PATCH] 1. SGMeasurement实现规划的地址 2. 优化读取位时输入的地址不是8的倍数的问题 3. 添加读写心跳的功能 --- SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h b/SourceCode/Bond/HSMSSDK/Include/ISECS2Item.h index 805d2f2..b3bfa28 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,6 @@ 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 ISECS2Item* addItem() = 0; }; -- Gitblit v1.9.3