From 31c6d37a388e80719a3575717917fcf9689a1a93 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期三, 09 十月 2024 16:06:10 +0800
Subject: [PATCH] 修复工序设置没有错误字段的bug

---
 Tiger.Business.MES/WorkAction/Weighing.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/Weighing.cs b/Tiger.Business.MES/WorkAction/Weighing.cs
index 1851b67..091f1a0 100644
--- a/Tiger.Business.MES/WorkAction/Weighing.cs
+++ b/Tiger.Business.MES/WorkAction/Weighing.cs
@@ -184,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