LAPTOP-SNT8I5JK\Boounion
2025-09-09 4d64ab743909caa1860253e6054da8d249aad814
1.VCR事件更新GlassID
已修改1个文件
10 ■■■■■ 文件已修改
SourceCode/Bond/Servo/CEquipment.cpp 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
    }