diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs index ae295e6..9782f5f 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs @@ -469,6 +469,11 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl RepairOnOff(LabelE, RadioE); } + if(ButtonE.GRepairMode == runtime.Sender) + { + GRepairOnOff(ButtonE, RadioE); + } + #endregion #region 粘贴数据 diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs index 9bdcb27..5570715 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/Entity/GelerWeterControlsEntity.cs @@ -79,6 +79,8 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl.Entity public Button GelManualHotWater { get; set; } public Button WetManualGel { get; set; } public Button RepairMode { get; set; } + + public Button GRepairMode { get; set; } public Button DryDownload { get; set; } public Button WaterDownload { get; set; } public Button PasteDry { get; set; } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs index bbc39f1..f5b651c 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/InitAction.cs @@ -38,7 +38,7 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl DB2105Helper dB2105Helper = new DB2105Helper(); DB2104Helper dB2104Helper = new DB2104Helper(); - + Color color; public Timer timer; public void Run(RuntimeParameter runtime) @@ -62,6 +62,9 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl ControlsHelper.ControlImport(RadioE, McControls); ControlsHelper.ControlImport