打标数据超范围报警

master
bestlqiang 4 years ago
parent 0e64f2f40b
commit 60229b39f1

@ -1075,10 +1075,20 @@ void CCommonFlowMgr::MoveToFirstArea()
//大幅面拼接打标(平台移动,振镜拼接,数据为obj 对象) (bSel ==true 的时候为选择打标) //大幅面拼接打标(平台移动,振镜拼接,数据为obj 对象) (bSel ==true 的时候为选择打标)
bool CCommonFlowMgr::MultipleAreaMark(CProduct &Product, bool bSel) bool CCommonFlowMgr::MultipleAreaMark(CProduct &Product, bool bSel)
{ {
gLogMgr->WriteDebugLog("Fuc---->MultipleAreaMark : bSel = " + Bool2Str(bSel)); gLogMgr->WriteDebugLog("Fuc---->MultipleAreaMa/rk : bSel = " + Bool2Str(bSel));
//搜集加工数据(这里比较耗费时间) //搜集加工数据(这里比较耗费时间)
try
{
gMarkAreaMgr->CollectWorkData(bSel, Product); gMarkAreaMgr->CollectWorkData(bSel, Product);
}
catch (CExceptionMsg msg)
{
AfxMessageBox(msg.GetMsgStr());
gServer->BroadCast("副机收集数据异常!Exception! ");
return false;
}
if (!gMarkAreaMgr->HasWorkData()) if (!gMarkAreaMgr->HasWorkData())
return false; return false;

Loading…
Cancel
Save