From 4a91e38c8839978e10e0ddf0c447f983227f21f7 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期六, 26 十月 2024 11:14:10 +0800 Subject: [PATCH] 计划任务更新 --- Tiger.Business.MES/WorkAction/IPQC.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/IPQC.cs b/Tiger.Business.MES/WorkAction/IPQC.cs index ecd6bf3..8e423ab 100644 --- a/Tiger.Business.MES/WorkAction/IPQC.cs +++ b/Tiger.Business.MES/WorkAction/IPQC.cs @@ -15,11 +15,13 @@ public class IPQC : IIPQC { #region Propertys & Variables + #region 鍥哄畾鍐欐硶锛屽伐搴忎腑鐨勫繀瑕佷俊鎭� public bool IsFinished { get; set; } = false; public IWorkStep CurStep { get; set; } public IPosition CurPosition { get; set; } public MES_WO_NODE_ACT NodeAct { get; set; } public MES_WO_ACTION Setting { get; set; } + #endregion #endregion Propertys & Variables #region Functions @@ -29,10 +31,15 @@ /// <returns></returns> public void Init(IWorkStep curStep, IPosition position, MES_WO_NODE_ACT nodeAct, MES_WO_ACTION setting) { + #region 鍥哄畾鍐欐硶锛岀粰榛樿鍙橀噺璧嬪�� CurStep = curStep; CurPosition = position; NodeAct = nodeAct; Setting = setting; + #endregion + + CurStep.Message = Biz.L("绛夊緟娴嬭瘯缁撴灉"); + CurStep.Status = StepStatus.Normal; } /// <summary> @@ -154,6 +161,7 @@ ACT_VALUE_4 = "", ACT_VALUE_5 = "", ACT_RESULT = "Y", + ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(), TRACE_INFO = $"鎵ц鎴愬姛", }; wipActs.Add(wipAct); -- Gitblit v1.9.3