From 97e9c6896ffaedcc2c00fb4ea1bee6a5cdbc4a5d Mon Sep 17 00:00:00 2001 From: darker <mr.darker@163.com> Date: 星期五, 21 二月 2025 15:55:55 +0800 Subject: [PATCH] 1. 报警记录界面加载数据库的数据,并且实现过滤查找 --- SourceCode/Bond/Servo/CEquipment.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h index 765467c..731fcf9 100644 --- a/SourceCode/Bond/Servo/CEquipment.h +++ b/SourceCode/Bond/Servo/CEquipment.h @@ -43,6 +43,7 @@ public: virtual const char* getClassName() = 0; virtual void setListener(EquipmentListener listener); + void setCcLink(CCCLinkIEControl* pCcLink); void setID(int nID); int getID(); void setName(const char* pszName); @@ -55,6 +56,7 @@ MemoryBlock& getReadBitBlock(); void setWriteBitBlock(unsigned int start, unsigned int end); MemoryBlock& getWriteBitBlock(); + void getProperties(std::vector<std::pair<std::string, std::string>>& container); int addStep(unsigned int addr, CStep* pStep); CStep* getStep(unsigned int addr); virtual void init(); @@ -104,6 +106,7 @@ BOOL m_bVCREnable[VCR_MAX]; private: + CCCLinkIEControl* m_pCclink; std::map<unsigned int, CStep*> m_mapStep; }; } -- Gitblit v1.9.3