From 053f992298073d2b0dcbeca564451fa6d1b36ea0 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期五, 27 九月 2024 16:02:56 +0800 Subject: [PATCH] GetHuaWeiWeek再更新 --- Tiger.Business.MES/WorkAction/Weighing.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/Weighing.cs b/Tiger.Business.MES/WorkAction/Weighing.cs index 6829cc4..091f1a0 100644 --- a/Tiger.Business.MES/WorkAction/Weighing.cs +++ b/Tiger.Business.MES/WorkAction/Weighing.cs @@ -38,6 +38,7 @@ NodeAct = nodeAct; Setting = setting; #endregion + CurPkg = Biz.Db.Queryable<MES_WIP_PKG>().Where(q => q.SN == CurPosition.CurSN && q.AUTH_ORG == CurPosition.WorkBatch.WO.AUTH_ORG).First() ?? new() { AUTH_ORG = CurPosition.WorkBatch.WO.AUTH_ORG, @@ -59,6 +60,9 @@ OPER_CODE = CurPosition.CurWipSNs.First().OPER_CODE, SEGMENT = CurPosition.CurWipSNs.First().SEGMENT, }; + + CurStep.Message = Biz.L("绛夊緟绉伴噸鏁版嵁"); + CurStep.Status = StepStatus.Normal; } /// <summary> @@ -180,6 +184,7 @@ ACT_TYPE = NodeAct.ACT_TYPE, ACT_SN = wipSn.SN, ACT_RESULT = "Y", + ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(), TRACE_INFO = $"鏉$爜[{CurPosition.CurSN}]绉伴噸鏁版嵁[{CurPkg.WEIGHT} {CurPkg.WEIGHT_UNIT}]淇濆瓨鎴愬姛", }; wipActs.Add(wipAct); -- Gitblit v1.9.3