From f2ec2ff2640e8f02507e6fa44cd1ba1487a303ea Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期五, 21 二月 2025 09:15:43 +0800 Subject: [PATCH] 1.定义派生于CStep的类CEqModeStep,用于处理设备模式改变的事件。 --- SourceCode/Bond/Servo/CEquipment.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h index 2a9bd53..a19fcca 100644 --- a/SourceCode/Bond/Servo/CEquipment.h +++ b/SourceCode/Bond/Servo/CEquipment.h @@ -1,7 +1,7 @@ #pragma once #include "Log.h" #include "CCLinkIEControl.h" -#include "CStep.h" +#include "CEqModeStep.h" #include <map> @@ -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); @@ -105,6 +106,7 @@ BOOL m_bVCREnable[VCR_MAX]; private: + CCCLinkIEControl* m_pCclink; std::map<unsigned int, CStep*> m_mapStep; }; } -- Gitblit v1.9.3