From 9d3e2ee8831bdd443bce96590fc023b8af5c790a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 25 三月 2025 16:51:02 +0800
Subject: [PATCH] 1.为Glass增加移动路线记录,便于物料生产追踪,数据保存分析等;

---
 SourceCode/Bond/Servo/CGlass.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h
index fe5a704..e19a9a6 100644
--- a/SourceCode/Bond/Servo/CGlass.h
+++ b/SourceCode/Bond/Servo/CGlass.h
@@ -1,6 +1,7 @@
 #pragma once
 #include "Context.h"
 #include <string>
+#include "CPath.h"
 
 
 namespace SERVO {
@@ -15,10 +16,14 @@
 		virtual std::string toString();
 		void setID(const char* pszID);
 		std::string& getID();
+		CPath* getPathWithSiteID(unsigned int nSiteId);
+		CPath* getPath();
+		void addPath(unsigned int nSiteId);
 		void serialize(CArchive& ar);
 
 	private:
 		std::string m_strID;
+		CPath* m_pPath;
 	};
 }
 

--
Gitblit v1.9.3