From 6a128ef4f3a8b79d25a8fcd36a6139b46ac51a65 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 09 9月 2024 14:42:10 +0800 Subject: [PATCH] 注释不用的代码 --- DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandler/DataCaptureHandler_OP2004.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandler/DataCaptureHandler_OP2004.cs b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandler/DataCaptureHandler_OP2004.cs index ab96ebf..bf0b7d8 100644 --- a/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandler/DataCaptureHandler_OP2004.cs +++ b/DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandler/DataCaptureHandler_OP2004.cs @@ -1,4 +1,5 @@ 锘縰sing iWare_SCADA_BusinessLogical.BLL; +using iWare_SCADA_BusinessLogical.BLL.Important; using iWare_SCADA_BusinessLogical.Utils; using iWare_SCADA_Model; using System; @@ -13,7 +14,7 @@ /// <summary> /// OP20SPC鎺ㄥ嚭鏍囪 /// </summary> - public class DataCaptureHandler_OP2004: DataCaptureHandler + public class DataCaptureHandler_OP2004 : DataCaptureHandler { public static readonly DataCaptureHandler_OP2004 Instance = new DataCaptureHandler_OP2004(); @@ -101,7 +102,7 @@ wplog.MonitoringPoint = "OP2004"; foreach (var col in colConfig) { - switch(col.DbNumber+ col.Offset) + switch (col.DbNumber + col.Offset) { case "": var valuecol = plcService.ReadValuePoint(col.DbNumber, col.Offset, PLCManger.GetTypeForString(col.DataCaptureColumnType)); @@ -110,7 +111,7 @@ } } //鏇存柊WorkPieceInfo琛ㄤ互鍙婃彃鍏orkPieceLog琛ㄥ拰WorkPieceInfoLog琛� - WorkPieceInfoManager.ReadQRcode(wplog, LogType.PLCOP20, plcService, _dataCaptureConfig.IsFeedback); + ReadQRcodeManager.ReadQRcode(wplog, LogType.PLCOP20, plcService, _dataCaptureConfig.IsFeedback); //鍒ゆ柇鏄惁璺冲簭锛屼笂涓�宸ュ簭璐ㄩ噺鏄惁鍚堟牸 -- Gitblit v1.9.3