From 03dc81df7fe0ea0e754abcc5af3d329527428853 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期五, 09 一月 2026 20:06:45 +0800
Subject: [PATCH] 1.工节数据上报。
---
SourceCode/Bond/Servo/CParam.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/Servo/CParam.cpp b/SourceCode/Bond/Servo/CParam.cpp
index 57a8f0c..9162b12 100644
--- a/SourceCode/Bond/Servo/CParam.cpp
+++ b/SourceCode/Bond/Servo/CParam.cpp
@@ -53,7 +53,7 @@
return m_nValueType;
}
-int CParam::getIntValue()
+int CParam::getIntValue() const
{
return m_nValue;
}
@@ -63,7 +63,7 @@
m_nValue = value;
}
-double CParam::getDoubleValue()
+double CParam::getDoubleValue() const
{
if(m_nValueType == PVT_DOUBLE)
return m_fValue;
--
Gitblit v1.9.3