From 19261d011387ec57d646decc945aadaf8913eeab Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 10 三月 2025 09:05:54 +0800
Subject: [PATCH] Merge branch 'clh'
---
SourceCode/Bond/Servo/CAttribute.cpp | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CAttribute.cpp b/SourceCode/Bond/Servo/CAttribute.cpp
new file mode 100644
index 0000000..468ebf2
--- /dev/null
+++ b/SourceCode/Bond/Servo/CAttribute.cpp
@@ -0,0 +1,36 @@
+#include "stdafx.h"
+#include "CAttribute.h"
+
+namespace SERVO {
+ CAttribute::CAttribute()
+ {
+
+ }
+
+ CAttribute::CAttribute(const char* pszName, const char* pszValue, const char* pszDescription)
+ {
+ m_strName = pszName;
+ m_strValue = pszValue;
+ m_strDescription = pszDescription;
+ }
+
+ CAttribute::~CAttribute()
+ {
+
+ }
+
+ std::string& CAttribute::getName()
+ {
+ return m_strName;
+ }
+
+ std::string& CAttribute::getValue()
+ {
+ return m_strValue;
+ }
+
+ std::string& CAttribute::getDescription()
+ {
+ return m_strDescription;
+ }
+}
--
Gitblit v1.9.3