| | |
| | | using iWare_SCADA_BusinessLogical.BLL; |
| | | using iWare_SCADA_BusinessLogical.BLL.Important; |
| | | using iWare_SCADA_BusinessLogical.Utils; |
| | | using iWare_SCADA_Model; |
| | | using System; |
| | |
| | | /// <summary> |
| | | /// OP20SPC推出标记 |
| | | /// </summary> |
| | | public class DataCaptureHandler_OP2004: DataCaptureHandler |
| | | public class DataCaptureHandler_OP2004 : DataCaptureHandler |
| | | { |
| | | public static readonly DataCaptureHandler_OP2004 Instance = new DataCaptureHandler_OP2004(); |
| | | |
| | |
| | | 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)); |
| | |
| | | } |
| | | } |
| | | //更新WorkPieceInfo表以及插入WorkPieceLog表和WorkPieceInfoLog表 |
| | | WorkPieceInfoManager.ReadQRcode(wplog, LogType.PLCOP20, plcService, _dataCaptureConfig.IsFeedback); |
| | | ReadQRcodeManager.ReadQRcode(wplog, LogType.PLCOP20, plcService, _dataCaptureConfig.IsFeedback); |
| | | |
| | | |
| | | //判断是否跳序,上一工序质量是否合格 |