From 5efff0895ad06eb0c5f04df7efe67a22b358beb3 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 18 二月 2025 16:10:23 +0800
Subject: [PATCH] Merge branch 'liuyang' into clh

---
 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 044fcd8..3799c16 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -39,6 +39,8 @@
 	public:
 		virtual const char* getClassName() = 0;
 		virtual void setListener(EquipmentListener listener);
+		void setID(int nID);
+		int getID();
 		void setName(const char* pszName);
 		std::string& getName();
 		void setDescription(const char* pszDescription);
@@ -65,6 +67,7 @@
 
 	protected:
 		EquipmentListener m_listener;
+		int m_nID;
 		std::string m_strName;
 		std::string m_strDescription;
 		CRITICAL_SECTION m_criticalSection;

--
Gitblit v1.9.3