From fe1539643b86cebb50b44c59ae4b7809a165dc6c Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期四, 11 十二月 2025 15:13:08 +0800 Subject: [PATCH] 1.事件的新增和编辑; --- SourceCode/Bond/Servo/HsmsPassive.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/HsmsPassive.h b/SourceCode/Bond/Servo/HsmsPassive.h index 8106bc4..47f4f56 100644 --- a/SourceCode/Bond/Servo/HsmsPassive.h +++ b/SourceCode/Bond/Servo/HsmsPassive.h @@ -171,10 +171,13 @@ // 鍙栧緱CCollectionEvent鍒楄〃 std::vector<SERVO::CCollectionEvent*>& getCollectionEvents(); + unsigned int getMaxCollectionEventId() const; // 鍙栨秷/鍒犻櫎鎵�鏈塁ollectionEvent void clearAllCollectionEvent(); int deleteCollectionEvent(unsigned short CEID); + int addCollectionEvent(unsigned int CEID, const char* name, const char* desc, const std::vector<unsigned int>& rptids); + int updateCollectionEvent(unsigned int CEID, const char* name, const char* desc, const std::vector<unsigned int>& rptids); // 鍙栧緱CCollectionEvent SERVO::CCollectionEvent* getEvent(unsigned short CEID); -- Gitblit v1.9.3