From 31aa10eaae103c30e02d7dc6c71ff4e50de361b3 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期一, 12 五月 2025 15:28:32 +0800
Subject: [PATCH] 1. 修改报警的显示模式(包括日志,需要后期修复) 2. 添加Release模式编译
---
SourceCode/Bond/Servo/CJobDataS.cpp | 126 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 126 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CJobDataS.cpp b/SourceCode/Bond/Servo/CJobDataS.cpp
index cc07f63..f474931 100644
--- a/SourceCode/Bond/Servo/CJobDataS.cpp
+++ b/SourceCode/Bond/Servo/CJobDataS.cpp
@@ -102,6 +102,132 @@
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;
--
Gitblit v1.9.3