From c119b8ef36718a8ca24b719cdbff86913cbca129 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 09 九月 2025 17:59:23 +0800
Subject: [PATCH] 1.Glass数据库保存,查询,分页,关键字,时间段等功能;
---
SourceCode/Bond/Servo/CEquipment.cpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CEquipment.cpp b/SourceCode/Bond/Servo/CEquipment.cpp
index e9eee92..2cbf62f 100644
--- a/SourceCode/Bond/Servo/CEquipment.cpp
+++ b/SourceCode/Bond/Servo/CEquipment.cpp
@@ -1724,14 +1724,24 @@
vcrEventReport.getGlassId().c_str());
+ // 更新Glass的ID
+ CGlass* pGlass = getGlassWithCassette(vcrEventReport.getCassetteSequenceNo(),
+ vcrEventReport.getJobSequenceNo());
+ if (pGlass != nullptr) {
+ pGlass->setID(vcrEventReport.getGlassId().c_str());
+ }
+
+
// 缓存Attribute,用于调试时显示信息
unsigned int weight = 201;
CAttributeVector& attrubutes = pStep->attributeVector();
vcrEventReport.getAttributeVector(attrubutes, weight);
+
// 0426, 先固定返回1(OK)
((CReadStep*)pStep)->setReturnCode((short)VCR_Reply_Code::OK);
+
return 0;
}
--
Gitblit v1.9.3