From b7392b564b8ab6d987e449a5b412273e8c89112c Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 15 五月 2025 11:09:43 +0800
Subject: [PATCH] 1.Bonder进料检测和限制;

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

diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h
index fe5a704..4fa6b33 100644
--- a/SourceCode/Bond/Servo/CGlass.h
+++ b/SourceCode/Bond/Servo/CGlass.h
@@ -1,9 +1,20 @@
 #pragma once
 #include "Context.h"
 #include <string>
+#include "CPath.h"
+#include "CJobDataA.h"
+#include "CJobDataB.h"
+#include "CJobDataC.h"
+#include "CJobDataS.h"
 
 
 namespace SERVO {
+	enum MaterialsType {
+		G1 = 0,
+		G2 = 1,
+		G1G2 = 2
+	};
+
 	class CGlass : public CContext
 	{
 	public:
@@ -13,12 +24,25 @@
 	public:
 		virtual std::string& getClassName();
 		virtual std::string toString();
+		MaterialsType getType();
+		void setType(MaterialsType type);
 		void setID(const char* pszID);
 		std::string& getID();
+		CPath* getPathWithSiteID(unsigned int nSiteId);
+		CPath* getPath();
+		void addPath(unsigned int nSiteId);
 		void serialize(CArchive& ar);
+		void setJobDataB(CJobDataB* pJobDataB);
+		CJobDataB* getJobDataB();
+		void setJobDataS(CJobDataS* pJobDataS);
+		CJobDataS* getJobDataS();
 
 	private:
+		MaterialsType m_type;
 		std::string m_strID;
+		CPath* m_pPath;
+		CJobDataB m_jobDataB;
+		CJobDataS m_jobDataS;
 	};
 }
 

--
Gitblit v1.9.3