From 436f0ab66f5eded4367e61edb46edcab57b5787b Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期四, 05 六月 2025 14:07:53 +0800 Subject: [PATCH] 1.Path增加Unit,因为BakeCooling比较特殊,它分为烧烤笔冷却,相当于两单元 --- SourceCode/Bond/Servo/CGlass.h | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h index 1235c8e..d2f4197 100644 --- a/SourceCode/Bond/Servo/CGlass.h +++ b/SourceCode/Bond/Servo/CGlass.h @@ -24,10 +24,9 @@ void setType(MaterialsType type); void setID(const char* pszID); std::string& getID(); - CPath* getPathWithSiteID(unsigned int nSiteId); + CPath* getPathWithEq(unsigned int nEqId, unsigned int nUnit); CPath* getPath(); - CPath* getPathWithSiteId(unsigned int nSiteId); - void addPath(unsigned int nSiteId); + void addPath(unsigned int nEqId, unsigned int nUnit); void serialize(CArchive& ar); void setJobDataB(CJobDataB* pJobDataB); CJobDataB* getJobDataB(); @@ -36,8 +35,8 @@ BOOL setBuddy(CGlass* pGlass); CGlass* getBuddy(); std::string& getBuddyId(); - void processEnd(unsigned int nSiteId); - BOOL isProcessed(unsigned int nSiteId); + void processEnd(unsigned int nEqId, unsigned int nUnit); + BOOL isProcessed(unsigned int nEqId, unsigned int nUnit); private: MaterialsType m_type; -- Gitblit v1.9.3