From 78b99e5348592a29ca1393a5e13db619cc4eba56 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期四, 26 十二月 2024 23:40:56 +0800 Subject: [PATCH] 入壳设备增加 --- wcs-server-hbf/WIDESEA_WCS/SchedulerExecute/AGV/AgvAndEquiWork_TSJ1.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wcs-server-hbf/WIDESEA_WCS/SchedulerExecute/AGV/AgvAndEquiWork_TSJ1.cs b/wcs-server-hbf/WIDESEA_WCS/SchedulerExecute/AGV/AgvAndEquiWork_TSJ1.cs index 4191702..f164353 100644 --- a/wcs-server-hbf/WIDESEA_WCS/SchedulerExecute/AGV/AgvAndEquiWork_TSJ1.cs +++ b/wcs-server-hbf/WIDESEA_WCS/SchedulerExecute/AGV/AgvAndEquiWork_TSJ1.cs @@ -1,6 +1,7 @@ 锘縰sing HslCommunication; using System; using System.Collections.Generic; +using WIDESEA_Common.Tools; using WIDESEA_WCS.WCSClient; namespace WIDESEA_WCS.SchedulerExecute.AGV @@ -65,10 +66,9 @@ OperateResult W_djlc_AGV = agvjrplc.SiemensPLCClient.SiemensS7NetClient.Write("DB1002." + (AGV_uplen + RuLiaoKo_DJLC), R_UP_TSJ.Content); } - catch (Exception) + catch (Exception ex) { - - throw; + WriteLog.GetLog().Write("浼犻�掓鏋丄GV涓庢鏋佹彁鍗囨満鍔ㄤ綔娴佸鎺ヤ俊鍙�" + ex.Message.ToString() + DateTime.Now, "浼犻�掓鏋丄GV涓庢鏋佹彁鍗囨満鍔ㄤ綔娴佸鎺ヤ俊鍙�"); } -- Gitblit v1.9.3