From 349f26accd28cd83356334239b11728ce50b7f95 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 14 五月 2025 18:10:21 +0800
Subject: [PATCH] 1.重新理顺Glass的流转,CJobDataB, CJobDataS在CEquipment的列表存储等;
---
SourceCode/Bond/Servo/CGlass.h | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h
index 38ecaf2..4fa6b33 100644
--- a/SourceCode/Bond/Servo/CGlass.h
+++ b/SourceCode/Bond/Servo/CGlass.h
@@ -9,6 +9,12 @@
namespace SERVO {
+ enum MaterialsType {
+ G1 = 0,
+ G2 = 1,
+ G1G2 = 2
+ };
+
class CGlass : public CContext
{
public:
@@ -18,16 +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