From d5c8d6545efe0ab2026a4127fde0fa2bad659ccd Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 06 八月 2025 14:45:52 +0800
Subject: [PATCH] 1.实现EAP中ProceedWithCarrier和CarrierRelease的功能模拟及测试;
---
SourceCode/Bond/Servo/CGlass.cpp | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CGlass.cpp b/SourceCode/Bond/Servo/CGlass.cpp
index 6d1a1ee..6c1b30f 100644
--- a/SourceCode/Bond/Servo/CGlass.cpp
+++ b/SourceCode/Bond/Servo/CGlass.cpp
@@ -10,6 +10,7 @@
m_pBuddy = nullptr;
m_nOriginPort = 0;
m_nOriginSlot = 0;
+ m_bScheduledForProcessing = FALSE;
}
CGlass::~CGlass()
@@ -80,6 +81,16 @@
slot = m_nOriginSlot;
}
+ BOOL CGlass::isScheduledForProcessing()
+ {
+ return m_bScheduledForProcessing;
+ }
+
+ void CGlass::setScheduledForProcessing(BOOL bProcessing)
+ {
+ m_bScheduledForProcessing = bProcessing;
+ }
+
CPath* CGlass::getPath()
{
return m_pPath;
@@ -119,6 +130,7 @@
WriteString(ar, m_strID);
ar << m_nOriginPort;
ar << m_nOriginSlot;
+ ar << m_bScheduledForProcessing;
ar << (ULONGLONG)m_pPath;
if (m_pPath != nullptr) {
m_pPath->serialize(ar);
@@ -141,6 +153,7 @@
ReadString(ar, m_strID);
ar >> m_nOriginPort;
ar >> m_nOriginSlot;
+ ar >> m_bScheduledForProcessing;
ar >> ullPath;
if (ullPath != 0) {
m_pPath = new CPath();
--
Gitblit v1.9.3