From 2a55eedc9ba903c6a0b9cab8fa5ddc8fee9682aa Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 02 9月 2024 09:22:26 +0800 Subject: [PATCH] 显示 [StringLength(50)] public string DataCapturePointCname { get; set; } --- DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/QualityStateHelper.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 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..d4ed380 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> -- Gitblit v1.9.3