From cacea2da59a3acd73f3161d819a10e0060762616 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 06 五月 2025 14:54:13 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang
---
SourceCode/Bond/Servo/CJobDataS.cpp | 330 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 330 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CJobDataS.cpp b/SourceCode/Bond/Servo/CJobDataS.cpp
new file mode 100644
index 0000000..f474931
--- /dev/null
+++ b/SourceCode/Bond/Servo/CJobDataS.cpp
@@ -0,0 +1,330 @@
+#include "stdafx.h"
+#include "CJobDataS.h"
+
+
+namespace SERVO {
+ CJobDataS::CJobDataS()
+ {
+ m_nCassetteSequenceNo = 0;
+ m_nJobSequenceNo = 0;
+ m_nJobType = 0;
+ m_nMaterialsType = 0;
+ m_nProductType = 0;
+ m_nDummyType = 0;
+ m_nSkipFlag = 0;
+ m_nProcessFlag = 0;
+ m_nProcessResonCode = 0;
+ m_nLastGlassFlag = 0;
+ m_nFirstGlassFlag = 0;
+ m_nQTime[3] = {0};
+ m_nQTimeOverFlag = 0;
+ m_nMasterRecipe = 0;
+ m_nMode = 0;
+ m_nSlotUnitSelectFlag = 0;
+ m_nSourcePortNo = 0;
+ m_nSourceSlotNo = 0;
+ m_nTargetPortNo = 0;
+ m_nTargetSlotNo = 0;
+ }
+
+ CJobDataS::~CJobDataS()
+ {
+
+ }
+
+ int CJobDataS::getCassetteSequenceNo()
+ {
+ return m_nCassetteSequenceNo;
+ }
+
+ void CJobDataS::setCassetteSequenceNo(int no)
+ {
+ m_nCassetteSequenceNo = no;
+ }
+
+ int CJobDataS::getJobSequenceNo()
+ {
+ return m_nJobSequenceNo;
+ }
+
+ void CJobDataS::setJobSequenceNo(int no)
+ {
+ m_nJobSequenceNo = no;
+ }
+
+ std::string& CJobDataS::getLotId()
+ {
+ return m_strLotId;
+ }
+
+ void CJobDataS::setLotId(const char* pszId)
+ {
+ m_strLotId = pszId;
+ }
+
+ std::string& CJobDataS::getProductId()
+ {
+ return m_strProductId;
+ }
+
+ void CJobDataS::setProductId(const char* pszId)
+ {
+ m_strProductId = pszId;
+ }
+
+ std::string& CJobDataS::getOperationId()
+ {
+ return m_strOperationId;
+ }
+
+ void CJobDataS::setOperationId(const char* pszId)
+ {
+ m_strOperationId = pszId;
+ }
+
+ std::string& CJobDataS::getGlass1Id()
+ {
+ return m_strGlass1Id;
+ }
+
+ void CJobDataS::setGlass1Id(const char* pszId)
+ {
+ m_strGlass1Id = pszId;
+ }
+
+ std::string& CJobDataS::getGlass2Id()
+ {
+ return m_strGlass1Id;
+ }
+
+ void CJobDataS::setGlass2Id(const char* pszId)
+ {
+ m_strGlass2Id = pszId;
+ }
+
+ int CJobDataS::getJobType()
+ {
+ return m_nJobType;
+ }
+
+ void CJobDataS::setJobType(int type)
+ {
+ m_nJobType = type;
+ }
+
+ int CJobDataS::getMaterialsType()
+ {
+ return m_nMaterialsType;
+ }
+
+ void CJobDataS::setMaterialsType(int type)
+ {
+ m_nMaterialsType = type;
+ }
+
+ int CJobDataS::getProductType()
+ {
+ return m_nProductType;
+ }
+
+ void CJobDataS::setProductType(int type)
+ {
+ m_nProductType = type;
+ }
+
+ int CJobDataS::getDummyType()
+ {
+ return m_nDummyType;
+ }
+
+ void CJobDataS::setDummyType(int type)
+ {
+ m_nDummyType = type;
+ }
+
+ int CJobDataS::getSkipFlag()
+ {
+ return m_nSkipFlag;
+ }
+
+ void CJobDataS::setSkipFlag(int flag)
+ {
+ m_nSkipFlag = flag;
+ }
+
+ int CJobDataS::getProcessFlag()
+ {
+ return m_nProcessFlag;
+ }
+
+ void CJobDataS::setProcessFlag(int flag)
+ {
+ m_nProcessFlag = flag;
+ }
+
+ int CJobDataS::getProcessResonCode()
+ {
+ return m_nProcessResonCode;
+ }
+
+ void CJobDataS::setProcessResonCode(int code)
+ {
+ m_nProcessResonCode = code;
+ }
+
+ int CJobDataS::getLastGlassFlag()
+ {
+ return m_nLastGlassFlag;
+ }
+
+ void CJobDataS::setLastGlassFlag(int flag)
+ {
+ m_nLastGlassFlag = flag;
+ }
+
+ int CJobDataS::getFirstGlassFlag()
+ {
+ return m_nFirstGlassFlag;
+ }
+
+ void CJobDataS::setFirstGlassFlag(int flag)
+ {
+ m_nFirstGlassFlag = flag;
+ }
+
+ int CJobDataS::getQTime(int index)
+ {
+ if (0 <= index && index <= 2) {
+ return m_nQTime[index];
+ }
+
+ return 0;
+ }
+
+ void CJobDataS::setQTime(int index, int time)
+ {
+ if (0 <= index && index <= 2) {
+ m_nQTime[index] = time;
+ }
+ }
+
+ int CJobDataS::getQTimeOverFlag()
+ {
+ return m_nQTimeOverFlag;
+ }
+
+ void CJobDataS::setQTimeOverFlag(int flag)
+ {
+ m_nQTimeOverFlag = flag;
+ }
+
+ int CJobDataS::getMasterRecipe()
+ {
+ return m_nMasterRecipe;
+ }
+
+ void CJobDataS::setMasterRecipe(int recipe)
+ {
+ m_nMasterRecipe = recipe;
+ }
+
+ std::string& CJobDataS::getProductRecipeId()
+ {
+ return m_strProductRecipeId;
+ }
+
+ void CJobDataS::setProductRecipeId(const char* pszId)
+ {
+ m_strProductRecipeId = pszId;
+ }
+
+ std::string& CJobDataS::getPCode()
+ {
+ return m_strPCode;
+ }
+
+ void CJobDataS::setPCode(const char* pszCode)
+ {
+ m_strPCode = pszCode;
+ }
+
+ std::string& CJobDataS::getUseType()
+ {
+ return m_strPCode;
+ }
+
+ void CJobDataS::setUseType(const char* pszType)
+ {
+ m_strPCode = pszType;
+ }
+
+ std::string& CJobDataS::getPanelMeasure()
+ {
+ return m_strPanelMeasure;
+ }
+
+ void CJobDataS::setPanelMeasure(const char* pszMeasure)
+ {
+ m_strPanelMeasure = pszMeasure;
+ }
+
+ int CJobDataS::getMode()
+ {
+ return m_nMode;
+ }
+
+ void CJobDataS::setMode(int mode)
+ {
+ m_nMode = mode;
+ }
+
+ int CJobDataS::getSlotUnitSelectFlag()
+ {
+ return m_nSlotUnitSelectFlag;
+ }
+
+ void CJobDataS::setSlotUnitSelectFlag(int flag)
+ {
+ m_nSlotUnitSelectFlag = flag;
+ }
+
+ int CJobDataS::getSourcePortNo()
+ {
+ return m_nSourcePortNo;
+ }
+
+ void CJobDataS::setSourcePortNo(int no)
+ {
+ m_nSourcePortNo = no;
+ }
+
+ int CJobDataS::getSourceSlotNo()
+ {
+ return m_nSourceSlotNo;
+ }
+
+ void CJobDataS::setSourceSlotNo(int no)
+ {
+ m_nSourceSlotNo = no;
+ }
+
+ int CJobDataS::getTargetPortNo()
+ {
+ return m_nTargetPortNo;
+ }
+
+ void CJobDataS::setTargetPortNo(int no)
+ {
+ m_nTargetPortNo = no;
+ }
+
+ int CJobDataS::getTargetSlotNo()
+ {
+ return m_nTargetSlotNo;
+ }
+
+ void CJobDataS::setTargetSlotNo(int no)
+ {
+ m_nTargetSlotNo = no;
+ }
+}
--
Gitblit v1.9.3