From 442edf5bd61810684e0e7da754039590acf6d56c Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期六, 26 十月 2024 18:20:50 +0800
Subject: [PATCH] 增加雅达装箱controller

---
 Tiger.Business.MES/WorkAction/PrintLabel.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Tiger.Business.MES/WorkAction/PrintLabel.cs b/Tiger.Business.MES/WorkAction/PrintLabel.cs
index bb597f5..a818341 100644
--- a/Tiger.Business.MES/WorkAction/PrintLabel.cs
+++ b/Tiger.Business.MES/WorkAction/PrintLabel.cs
@@ -67,7 +67,7 @@
             var action = new ApiAction<SubmitOutput>(new SubmitOutput());
 
             //璁剧疆鎵撳嵃鍙橀噺鍊�
-            Label = CurPosition.SetLabelVariables(LabelPV, Label);
+            Label = CurPosition.SetLabelVariables(LabelPV, Label, this);
             action.Data.Data = Label;
 
             //濡傛灉杩斿洖鎴愬姛鍒欒涓哄綋鍓嶈涓哄彲浠ュ紑濮嬫墽琛岋紝鍚﹀垯杩斿洖澶辫触
@@ -155,6 +155,7 @@
                     ACT_VALUE_1 = Label.LABEL_CODE,
                     ACT_VALUE_2 = Label.Variables.ToJson(),
                     ACT_RESULT = "Y",
+                    ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(),
                     TRACE_INFO = $"鏍囩{Label.LABEL_NAME}[{Label.LABEL_CODE}]鎵撳嵃鎴愬姛",
                 };
                 wipActs.Add(wipAct);

--
Gitblit v1.9.3