From 2ebccf831b56d30089924f2eefa2d790e2b8f3fc Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 07 八月 2025 09:20:21 +0800
Subject: [PATCH] 1.为CVariable增加值的设置和获取 2.当发生Port状态改变为InUse时,此时也刚好获取到CarrierID,上报S6F11_CarrierID_Readed

---
 SourceCode/Bond/Servo/CPath.h |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/SourceCode/Bond/Servo/CPath.h b/SourceCode/Bond/Servo/CPath.h
index b9dcf5f..2c96c49 100644
--- a/SourceCode/Bond/Servo/CPath.h
+++ b/SourceCode/Bond/Servo/CPath.h
@@ -1,4 +1,5 @@
 #pragma once
+#include "ServoCommo.h"
 
 
 namespace SERVO {
@@ -6,8 +7,8 @@
 	{
 	public:
 		CPath();
-		CPath(unsigned int nSiteId);
-		~CPath();
+		CPath(unsigned int nEqId, unsigned int nUnit);
+		virtual ~CPath();
 
 	public:
 		void getDescription(std::string& strOut);
@@ -17,15 +18,23 @@
 		void addPath(CPath* pPath);
 		CPath* getTailPath();
 		CPath* getHeadPath();
-		unsigned int getSiteID();
+		unsigned int getEqID();
+		unsigned int getUnit();
 		ULONGLONG getInTime();
 		void setOutTime(ULONGLONG time);
 		ULONGLONG getOutTime();
+		void processEnd();
+		BOOL isProcessEnd();
+		void setInspResult(InspResult result);
+		InspResult getInspResult();
 
 	private:	
-		unsigned int m_nSiteID;
+		unsigned int m_nEqID;
+		unsigned int m_nUnit;
 		ULONGLONG m_timeIn;
 		ULONGLONG m_timeOut;
+		BOOL m_bProcessed;
+		InspResult m_inspResult;
 		CPath* m_pPrev;
 		CPath* m_pNext;
 	};

--
Gitblit v1.9.3