diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index 09ba8ce..524444d 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -285,11 +285,12 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl Timer1_Tick(); try { - + ReportReadDb.ReadFeededDry(); + ReportReadDb.ReadReport(); + if (UserJudge.IsNormalUser()) { - ReportReadDb.ReadFeededDry(); - ReportReadDb.ReadReport(); + } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs index 79cb3d2..2084e3b 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Report/ReportReadDb.cs @@ -43,25 +43,25 @@ namespace Mesnac.Action.ChemicalWeighing.Report if (nornalStatus.spare1) { FeededDry(1, dB2111Helper.DryDosing_A); - DB2107WriteHelper.CleanSpare(2); + DB2107WriteHelper.CleanSpare(1); } if (nornalStatus.spare2) { FeededDry(2, dB2111Helper.DryDosing_B); - DB2107WriteHelper.CleanSpare(3); + DB2107WriteHelper.CleanSpare(2); } if (nornalStatus.spare3) { FeededDry(3, dB2111Helper.DryDosing_C); - DB2107WriteHelper.CleanSpare(4); + DB2107WriteHelper.CleanSpare(3); } if (nornalStatus.spare4) { FeededDry(4, dB2111Helper.DryDosing_D); - DB2107WriteHelper.CleanSpare(5); + DB2107WriteHelper.CleanSpare(4); }