From 7b14d4ec22bcb06c7fc20e5f8797ca8282fa8316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E9=94=84=E5=A4=B4?= Date: Tue, 9 Jan 2024 14:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=91=E7=B2=89=E5=87=86=E5=A4=87=E5=A5=BD?= =?UTF-8?q?=E4=BF=A1=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs index 99d7733..79cb3d2 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs @@ -43,22 +43,25 @@ namespace Mesnac.Action.ChemicalWeighing.Report if (nornalStatus.spare1) { FeededDry(1, dB2111Helper.DryDosing_A); - + DB2107WriteHelper.CleanSpare(2); } if (nornalStatus.spare2) { FeededDry(2, dB2111Helper.DryDosing_B); + DB2107WriteHelper.CleanSpare(3); } if (nornalStatus.spare3) { FeededDry(3, dB2111Helper.DryDosing_C); + DB2107WriteHelper.CleanSpare(4); } if (nornalStatus.spare4) { FeededDry(4, dB2111Helper.DryDosing_D); + DB2107WriteHelper.CleanSpare(5); } @@ -144,7 +147,7 @@ namespace Mesnac.Action.ChemicalWeighing.Report string logName = $"用户[{UserInfo.Instance.UserName}] 螺旋{deviceno}向湿混机 [{no}] 投料 {actValue}"; LoggingService.Info(logName); LjLogControl.ManualLogControl(logName, actValue, 4, no, 2); - DB2107WriteHelper.CleanSpare(deviceno); + }