From ab7709f19e8ceb58189a3b6a8f2da445b6b0d5c9 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周五, 07 6月 2024 13:30:28 +0800 Subject: [PATCH] 2 --- DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandlerV2/DataCaptureHandler_OP6002.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandlerV2/DataCaptureHandler_OP6002.cs b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandlerV2/DataCaptureHandler_OP6002.cs index b4df471..62fc0f9 100644 --- a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandlerV2/DataCaptureHandler_OP6002.cs +++ b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandlerV2/DataCaptureHandler_OP6002.cs @@ -14,9 +14,9 @@ namespace iWare_SCADA_BusinessLogical { /// <summary> - /// OP60娴嬮噺瀹屾垚鏍囪楠岃瘉 + /// OP60娴嬮噺瀹屾垚鏍囪楠岃瘉锛堢函灞炰簬 鐩戞帶鐢級 /// </summary> - public class DataCaptureHandler_OP6002: DataCaptureHandler + public class DataCaptureHandler_OP6002 : DataCaptureHandler { public static readonly DataCaptureHandler_OP6002 Instance = new DataCaptureHandler_OP6002(); @@ -100,7 +100,7 @@ wplog.MonitoringPoint = DataCapturePointCode; wplog.CreatedTime = DateTimeHelper.GetDateTime(); wplog.CreatedUserName = DataCapturePointCode; - wplog.UpdatedUserName = Environment.MachineName+"鑷姩" + Thread.CurrentThread.ManagedThreadId.ToString(); + wplog.UpdatedUserName = Environment.MachineName + "鑷姩" + Thread.CurrentThread.ManagedThreadId.ToString(); wplog.UpdatedTime = DateTimeHelper.GetDateTime(); wplog.IsDeleted = false; wplog.QualityType = QualityType.Online.ToString(); @@ -122,7 +122,7 @@ else if (valuecolb.ToString().ToUpper().Equals("TRUE")) { wplog.CreatedUserName = "OP6002BB"; - code = plcService.ReadValuePointV2("DB2050.76.0", typeof(string),22)?.ToString(); + code = plcService.ReadValuePointV2("DB2050.76.0", typeof(string), 22)?.ToString(); quality = plcService.ReadValuePointV2("DB2050.6.0", typeof(string), 2)?.ToString(); } else if (valuecolc.ToString().ToUpper().Equals("TRUE")) @@ -142,7 +142,7 @@ wplog.CreatedUserName = "OP6002EE"; } - wplog.WorkPieceID= code; + wplog.WorkPieceID = code; wplog.Remarks = $"{valuecola.ToString().ToUpper()}|{valuecolb.ToString().ToUpper()}|{valuecolc.ToString().ToUpper()}|{valuecold.ToString().ToUpper()} 璐ㄩ噺缁撴灉锛歿quality}"; //鏇存柊WorkPieceInfo琛ㄤ互鍙婃彃鍏orkPieceLog琛ㄥ拰WorkPieceInfoLog琛� -- Gitblit v1.9.3