From 7d8dd82ad55ce51d6ec557d35467e6271f7ff681 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期日, 27 十月 2024 17:34:06 +0800 Subject: [PATCH] 生产包装记录增加行为ID和Name --- Tiger.Business.MES/WorkAction/WipExtInfo.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/WipExtInfo.cs b/Tiger.Business.MES/WorkAction/WipExtInfo.cs index ebe7ec5..6f3aa22 100644 --- a/Tiger.Business.MES/WorkAction/WipExtInfo.cs +++ b/Tiger.Business.MES/WorkAction/WipExtInfo.cs @@ -208,6 +208,7 @@ ACT_SN = wipSn.SN, ACT_VALUE_1 = CurWipExt.ToJson(), ACT_RESULT = "Y", + ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(), TRACE_INFO = $"浜у搧[{CurPosition.CurSN}]缁戝畾[{ExtInfo.FIELD_NAME}]鏍囩鏉$爜[{CurWipExt.GetType().GetProperty($"FIELD_{ExtInfo.SEQ.ToString("00")}")?.GetValue(CurWipExt)?.ToString()}]淇濆瓨鎴愬姛", }; wipActs.Add(wipAct); -- Gitblit v1.9.3