From 1e3b60b32dfcc6abfc3719d027d263c26d19ff79 Mon Sep 17 00:00:00 2001 From: liuwf Date: Wed, 7 Aug 2024 18:56:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.Business/ProdMgmtBusiness.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)