schangxiang@126.com
2024-09-06 05f2a20bb792169bf7b8a101af8718b96449f55a
DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_BusinessLogical/DataCaptureHandler/DataCaptureHandler_OP2004.cs
@@ -1,4 +1,5 @@
using 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表以及插入WorkPieceLog表和WorkPieceInfoLog表
                                WorkPieceInfoManager.ReadQRcode(wplog, LogType.PLCOP20, plcService, _dataCaptureConfig.IsFeedback);
                                ReadQRcodeManager.ReadQRcode(wplog, LogType.PLCOP20, plcService, _dataCaptureConfig.IsFeedback);
                                //判断是否跳序,上一工序质量是否合格