From d3c3d619a2fc92c8d5b2929031cf7e946d57b44a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 13 五月 2025 10:08:37 +0800
Subject: [PATCH] 1.合并后修复;
---
SourceCode/Bond/Servo/CJobDataS.h | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CJobDataS.h b/SourceCode/Bond/Servo/CJobDataS.h
index 757832a..3894db2 100644
--- a/SourceCode/Bond/Servo/CJobDataS.h
+++ b/SourceCode/Bond/Servo/CJobDataS.h
@@ -1,4 +1,5 @@
#pragma once
+#include "CAttributeVector.h"
namespace SERVO {
@@ -23,6 +24,30 @@
void setGlass1Id(const char* pszId);
std::string& getGlass2Id();
void setGlass2Id(const char* pszId);
+ int getJobType();
+ void setJobType(int type);
+ int getMaterialsType();
+ void setMaterialsType(int type);
+ int getProductType();
+ void setProductType(int type);
+ int getDummyType();
+ void setDummyType(int type);
+ int getSkipFlag();
+ void setSkipFlag(int flag);
+ int getProcessFlag();
+ void setProcessFlag(int flag);
+ int getProcessResonCode();
+ void setProcessResonCode(int code);
+ int getLastGlassFlag();
+ void setLastGlassFlag(int flag);
+ int getFirstGlassFlag();
+ void setFirstGlassFlag(int flag);
+ int getQTime(int index);
+ void setQTime(int index, int time);
+ int getQTimeOverFlag();
+ void setQTimeOverFlag(int flag);
+ int getMasterRecipe();
+ void setMasterRecipe(int recipe);
std::string& getProductRecipeId();
void setProductRecipeId(const char* pszId);
std::string& getPCode();
@@ -43,6 +68,10 @@
void setTargetPortNo(int no);
int getTargetSlotNo();
void setTargetSlotNo(int no);
+ int serialize(char* pszBuffer, int nBufferSize);
+ int unserialize(const char* pszBuffer, int nBufferSize);
+ void getAttributeVector(CAttributeVector& attrubutes, int beginWeight);
+
private:
int m_nCassetteSequenceNo;
@@ -74,6 +103,9 @@
int m_nSourceSlotNo;
int m_nTargetPortNo;
int m_nTargetSlotNo;
+
+ private:
+ char* m_pRawData;
};
}
--
Gitblit v1.9.3