修复点击按钮

wangsr
nodyang 1 year ago
parent 168b7bdcd2
commit 93ba70bafd

@ -622,12 +622,14 @@ namespace Mesnac.Action.ChemicalWeighing.AutoControl
Db3000Helper.WriteModel(SingleSelect(), true);
ControlsEntity.RepairState.MCValue = "开";
}
else
{
if (ControlsEntity.RepairState.MCValue.ToString() == "开")
{
Db3000Helper.WriteModel(SingleSelect(), false);
ControlsEntity.RepairState.MCValue = "关";
}
}
MessageBox.Show("维修模式已开启");
}

Loading…
Cancel
Save