From e8d43cd5052b7a626c13475f80cdcf0fdb99fc55 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期二, 29 十月 2024 19:57:35 +0800 Subject: [PATCH] 增加字段 优化打印入库标签逻辑 --- 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