From 16fe8474c740e9f2a497854d4291c48ea7a62878 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 25 四月 2025 11:53:36 +0800
Subject: [PATCH] 1.增加CJobDataB, CJobDataC, CJobDataS

---
 SourceCode/Bond/Servo/CEqJobEventStep.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEqJobEventStep.cpp b/SourceCode/Bond/Servo/CEqJobEventStep.cpp
index 724f000..a0efb8b 100644
--- a/SourceCode/Bond/Servo/CEqJobEventStep.cpp
+++ b/SourceCode/Bond/Servo/CEqJobEventStep.cpp
@@ -6,7 +6,7 @@
 namespace SERVO {
 	CEqJobEventStep::CEqJobEventStep() : CReadStep()
 	{
-		m_nJobDataBDev = 0;
+		m_nJobDataADev = 0;
 	}
 
 	CEqJobEventStep::~CEqJobEventStep()
@@ -16,7 +16,7 @@
 
 	void CEqJobEventStep::setJobDataDev(int nDev)
 	{
-		m_nJobDataBDev = nDev;
+		m_nJobDataADev = nDev;
 	}
 
 	void CEqJobEventStep::getAttributeVector(CAttributeVector& attrubutes)
@@ -25,7 +25,7 @@
 
 		std::string strTemp;
 		attrubutes.addAttribute(new CAttribute("Dev",
-			("W" + CToolUnits::toHexString(m_nJobDataBDev, strTemp)).c_str(), ""));
+			("W" + CToolUnits::toHexString(m_nJobDataADev, strTemp)).c_str(), ""));
 		attrubutes.addAttribute(new CAttribute("PortNo",
 			std::to_string(m_jobDataA.getPortNo()).c_str(), ""));
 		attrubutes.addAttribute(new CAttribute("CarrierId",
@@ -51,7 +51,7 @@
 
 
 		char szBuffer[1024];
-		int nRet = m_pCclink->ReadData2(m_station, DeviceType::W, m_nJobDataBDev,
+		int nRet = m_pCclink->ReadData2(m_station, DeviceType::W, m_nJobDataADev,
 			640, szBuffer);
 		if (0 != nRet) {
 			return -1;

--
Gitblit v1.9.3