diff --git a/SlnMesnac.Business/ProdMgmtBusiness.cs b/SlnMesnac.Business/ProdMgmtBusiness.cs index 7d31560..b971438 100644 --- a/SlnMesnac.Business/ProdMgmtBusiness.cs +++ b/SlnMesnac.Business/ProdMgmtBusiness.cs @@ -166,6 +166,8 @@ namespace SlnMesnac.Business { //throw new ArgumentException($"PLC连接信息为空"); RefreshMessage($"PLC连接信息为空"); + Thread.Sleep(3000); + return; } MesProductPlan prodPlan = _mesProductPlanService.GetStartedProdPlan(out MesProductPlanDto productPlanDto); @@ -362,8 +364,8 @@ namespace SlnMesnac.Business plc.writeBoolByAddress(GetPlcAddressByConfigKey("设备投料"), false); debugConfig.LastTime = DateTime.Now.ToString(); - // TODO修改成传入本地计划查询出的mes计划,停止计划导致的滞留物料归属哪个订单计划对应更新 - PutInResutlHandle(prodPlan, result); + //在小包2楼绑定托盘时完成计划 + // PutInResutlHandle(prodPlan, result); // 完成本地计划 if(localPlan!= null)