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/SystemBussinessHelper.cs | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/SystemBussinessHelper.cs b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/SystemBussinessHelper.cs index 25095eb..87ff0d4 100644 --- a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/SystemBussinessHelper.cs +++ b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/Utils/SystemBussinessHelper.cs @@ -13,6 +13,41 @@ /// </summary> public class SystemBussinessHelper { + /// <summary> + /// 璁剧疆WorkPieceLog 鐨勫垱寤轰汉 + /// </summary> + /// <param name="workPieceLog"></param> + /// <param name="_DataCapturePointCode"></param> + /// <param name="_DataCapturePointName"></param> + public static void SetWorkPieceLogMiddleForCreatedUserName(ref WorkPieceLogMiddle workPieceLog, string _DataCapturePointCode, string _DataCapturePointName) + { + workPieceLog.CreatedUserName = _DataCapturePointCode; + workPieceLog.DataCapturePointCname = _DataCapturePointName; + } + /// <summary> + /// 璁剧疆WorkPieceLog 鐨勫垱寤轰汉 + /// </summary> + /// <param name="workPieceLog"></param> + /// <param name="_DataCapturePointCode"></param> + /// <param name="_DataCapturePointName"></param> + public static void SetWorkPieceLogMiddleForCreatedUserName(ref WorkPieceLog workPieceLog, string _DataCapturePointCode, string _DataCapturePointName) + { + workPieceLog.CreatedUserName = _DataCapturePointCode; + workPieceLog.DataCapturePointCname = _DataCapturePointName; + } + + /// <summary> + /// 璁剧疆WorkPieceLog 鐨勬洿鏂颁汉 + /// </summary> + /// <param name="workPieceLog"></param> + /// <param name="_DataCapturePointCode"></param> + /// <param name="_DataCapturePointName"></param> + public static void SetWorkPieceLogMiddleForUpdatedUserName(ref WorkPieceLogMiddle workPieceLog, string _DataCapturePointCode, string _DataCapturePointName) + { + workPieceLog.UpdatedUserName = _DataCapturePointCode; + workPieceLog.UpdateDataCapturePointCname = _DataCapturePointName; + } + /// <summary> /// 鏄惁鍏佽淇敼WorkPieceState 涓篧IP -- Gitblit v1.9.3