chenluhua1980
2025-12-11 03493252ce77b27ff1c57bea22598ccf53e92ca3
1.VCR事件上报模拟测试通过。
已修改4个文件
6 ■■■■■ 文件已修改
SourceCode/Bond/Servo/Model.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/x64/Debug/CollectionEventList.txt 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/x64/Debug/ReportList.txt 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/x64/Debug/VariableList.txt 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SourceCode/Bond/Servo/Model.cpp
@@ -297,7 +297,7 @@
    masterListener.onEqVcrEventReport = [&](void* pMaster, SERVO::CEquipment* pEquipment, SERVO::CVcrEventReport* pReport) {
        LOGE("<CModel>onEqVcrEventReport.");
        if (pReport != nullptr) {
            m_hsmsPassive.setVariableValue("PanelStartID", pReport->getGlassId().c_str());
            m_hsmsPassive.setVariableValue("VCRPanelID", pReport->getGlassId().c_str());
            int nRet = m_hsmsPassive.requestEventReportSend_OCR_PanelID_Read_OK();
            if (nRet != ER_NOERROR) {
                LOGE("<CModel>requestEventReportSend_OCR_PanelID_Read_OK failed, ret=%d", nRet);
SourceCode/Bond/x64/Debug/CollectionEventList.txt
@@ -49,4 +49,4 @@
50008,Port_Unload_Ready,,(50008)
50009,Port_Load_Ready,,(50009)
50010,Port_Blocked,,(50010)
50011,TestEvent,TestEvent,测试一下,(50011)
50011,OCR_PanelID_Read_OK,扫码事件上报,(50012)
SourceCode/Bond/x64/Debug/ReportList.txt
@@ -27,3 +27,4 @@
50009,(5011)
50010,(5012)
50011,(5013)
50012,(5014)
SourceCode/Bond/x64/Debug/VariableList.txt
@@ -48,3 +48,4 @@
5011,LoadReadyPortId,U1,"Port ID"
5012,BlockedPortId,U1,"Port ID"
5013,TestVID,U1,测试添加变量55
5014,VCRPanelID,A20,Panel id,来自读码器