From 4d64ab743909caa1860253e6054da8d249aad814 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 09 九月 2025 10:04:20 +0800
Subject: [PATCH] 1.VCR事件更新GlassID
---
SourceCode/Bond/Servo/CPath.cpp | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CPath.cpp b/SourceCode/Bond/Servo/CPath.cpp
index 6f71f45..1731ee9 100644
--- a/SourceCode/Bond/Servo/CPath.cpp
+++ b/SourceCode/Bond/Servo/CPath.cpp
@@ -1,6 +1,7 @@
#include "stdafx.h"
#include "CPath.h"
#include "ToolUnits.h"
+#include "CServoUtilsTool.h"
namespace SERVO {
@@ -46,6 +47,11 @@
strOut = strOut + ">";
}
+ void CPath::getSimpleDescription(std::string& strOut)
+ {
+ strOut = CServoUtilsTool::getEqUnitName(m_nEqID, m_nUnit);
+ }
+
void CPath::serialize(CArchive& ar)
{
if (ar.IsStoring()) {
@@ -90,6 +96,11 @@
return m_nUnit;
}
+ void CPath::setInTime(ULONGLONG time)
+ {
+ m_timeIn = time;
+ }
+
ULONGLONG CPath::getInTime()
{
return m_timeIn;
--
Gitblit v1.9.3