From d6fabead748c80e2dd5e2ec55b55e01daed1f3c3 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 09 九月 2025 11:37:50 +0800
Subject: [PATCH] 1.修改Bonder的SVData数据解释,其中一项压力有符号,增加一个加热剩余时间; 2.SVData解释偏移错误修复

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

diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h
index 21aaf34..e828b77 100644
--- a/SourceCode/Bond/Servo/CGlass.h
+++ b/SourceCode/Bond/Servo/CGlass.h
@@ -8,6 +8,7 @@
 #include "CJobDataS.h"
 #include "ServoCommo.h"
 #include "ProcessJob.h"
+#include "CParam.h"
 
 
 namespace SERVO {
@@ -32,6 +33,8 @@
 	public:
 		virtual std::string& getClassName();
 		virtual std::string toString();
+		short getCassetteSequenceNo() { return m_jobDataS.getCassetteSequenceNo(); }
+		short getJobSequenceNo() { return m_jobDataS.getJobSequenceNo(); }
 		MaterialsType getType();
 		void setType(MaterialsType type);
 		void setID(const char* pszID);
@@ -45,6 +48,8 @@
 		CPath* getPathWithEq(unsigned int nEqId, unsigned int nUnit);
 		CPath* getPath();
 		void addPath(unsigned int nEqId, unsigned int nUnit);
+		std::string getPathDescription();
+		std::string getParamsDescription();
 		void serialize(CArchive& ar);
 		void setJobDataS(CJobDataS* pJobDataS);
 		void updateJobDataS(CJobDataS* pJobDataS);
@@ -89,6 +94,10 @@
 		void markStart();
 		void markEnd();
 
+		// 工艺参数
+		void addParams(std::vector<CParam>& params);
+		std::vector<CParam>& getParams();
+
 	private:
 		MaterialsType m_type;
 		std::string m_strID;
@@ -100,6 +109,7 @@
 		int m_nOriginSlot;
 		BOOL m_bScheduledForProcessing;			/* 是否将加工处理 */
 		CProcessJob* m_pProcessJob;
+		std::vector<CParam> m_params;			// 工艺参数
 	};
 }
 

--
Gitblit v1.9.3