diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs index 327698f..28196b0 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/AutoControl/AutoControl.cs @@ -280,6 +280,16 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl //湿混机手动下粉料 if (ButtonE.WetManualControl == runtime.Sender) { + + var valu = TextE.ManualWeight.MCValue.ToString(); + if (string.IsNullOrEmpty(valu)) + { + MessageBox.Show("请输入重量值"); + TextE.ManualWeight.Focus(); + + return; + } + if (MessageBox.Show("确认下传数据?", "下传确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { return;