From a8ce9111f9f907afd921609d1828744cead9bd52 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 25 四月 2025 09:40:37 +0800
Subject: [PATCH] 1.将CJobDataB修改为CJobDataA

---
 SourceCode/Bond/Servo/CJobDataA.cpp |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/SourceCode/Bond/Servo/CJobDataB.cpp b/SourceCode/Bond/Servo/CJobDataA.cpp
similarity index 82%
rename from SourceCode/Bond/Servo/CJobDataB.cpp
rename to SourceCode/Bond/Servo/CJobDataA.cpp
index 8373485..4c5e3e4 100644
--- a/SourceCode/Bond/Servo/CJobDataB.cpp
+++ b/SourceCode/Bond/Servo/CJobDataA.cpp
@@ -1,35 +1,35 @@
 #include "stdafx.h"
-#include "CJobDataB.h"
+#include "CJobDataA.h"
 #include "ToolUnits.h"
 
 
 namespace SERVO {
-	CJobDataB::CJobDataB()
+	CJobDataA::CJobDataA()
 	{
 
 	}
 
-	CJobDataB::~CJobDataB()
+	CJobDataA::~CJobDataA()
 	{
 
 	}
 
-	short CJobDataB::getPortNo()
+	short CJobDataA::getPortNo()
 	{
 		return m_nPortNo;
 	}
 
-	std::string& CJobDataB::getCarrierId()
+	std::string& CJobDataA::getCarrierId()
 	{
 		return m_strCarrierId;
 	}
 
-	std::string& CJobDataB::getPruductId()
+	std::string& CJobDataA::getPruductId()
 	{
 		return m_pruductId;
 	}
 
-	int CJobDataB::serialize(char* pszBuffer, int nBufferSize)
+	int CJobDataA::serialize(char* pszBuffer, int nBufferSize)
 	{
 		if (nBufferSize < 640) return -1;
 
@@ -64,7 +64,7 @@
 		return 320 * 2;
 	}
 
-	int CJobDataB::unserialize(char* pszBuffer, int nBufferSize)
+	int CJobDataA::unserialize(char* pszBuffer, int nBufferSize)
 	{
 		if (nBufferSize < 640) return -1;
 
@@ -100,12 +100,12 @@
 		return 320 * 2;
 	}
 
-	short CJobDataB::getCarrierState()
+	short CJobDataA::getCarrierState()
 	{
 		return m_nCarrierState;
 	}
 
-	std::string& CJobDataB::getCarrierStateDescription(std::string& strDescription)
+	std::string& CJobDataA::getCarrierStateDescription(std::string& strDescription)
 	{
 		static char* pszDescription[20] = {
 			"Bind",
@@ -140,17 +140,17 @@
 		return strDescription;
 	}
 
-	int CJobDataB::getSlotMapping()
+	int CJobDataA::getSlotMapping()
 	{
 		return m_nSlotMapping;
 	}
 
-	int CJobDataB::getSlotSelectedFlag()
+	int CJobDataA::getSlotSelectedFlag()
 	{
 		return m_nSlotSelectedFlag;
 	}
 
-	std::vector<std::string>& CJobDataB::getGlassIds()
+	std::vector<std::string>& CJobDataA::getGlassIds()
 	{
 		return m_glassIds;
 	}

--
Gitblit v1.9.3