From f2d9adf4e26b1173a51387ad203a33cf617454a0 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 25 九月 2024 18:39:34 +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