From a3dca58dcdc4c3a702dd8efdf7927f81efa4328a Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 03 9月 2024 11:29:08 +0800
Subject: [PATCH] 增加 MyRemarks 备注

---
 DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/QualityStateHelper.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/QualityStateHelper.cs b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/QualityStateHelper.cs
index 1f591e8..111ad6b 100644
--- a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/QualityStateHelper.cs
+++ b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/QualityStateHelper.cs
@@ -14,6 +14,17 @@
     /// </summary>
     public class QualityStateHelper
     {
+
+        /// <summary>
+        /// 閲嶇疆涓嶅悎鏍煎師鍥狅紝褰撴柊寤哄伐搴忔椂
+        /// </summary>
+        /// <param name="new_process"></param>
+        public static void ResetQualityNoOkForNewProcess(ref WorkPieceProcess new_process)
+        {
+            new_process.QualityNoOk = null;
+            new_process.QualityNoOkReason = "";
+        }
+
         /// <summary>
         /// OP80涓撻棬鑾峰彇鏌愪簺鐐逛綅锛岄厤缃川閲忕姸鎬�
         /// </summary>
@@ -129,7 +140,7 @@
             }
             else if (logMiddle.WorkingProcedureCurrent == "OP35")
             {
-                qualityNoOkEnum = QualityNoOkEnum.OP35婊氬帇鍔涗笉鍚堟牸;
+                qualityNoOkEnum = QualityNoOkEnum.OP35婊氬帇鍔涜秴宸�;
                 return;
             }
             else if (logMiddle.WorkingProcedureCurrent == "OP40")

--
Gitblit v1.9.3