This commit is contained in:
gongxh
2022-05-16 16:06:44 +08:00
parent e120927df2
commit 4fe118f2e5
18 changed files with 743 additions and 11 deletions

View File

@@ -1590,15 +1590,15 @@ namespace CleanMachineHMI.FrmUserControl
if (!Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("StopSys", PlcItemTypeDesc.M))
&& !Convert.ToBoolean(PlcOperationHelper.Instance.ReadPlcItem("ManualOrAuto", PlcItemTypeDesc.M)))
{
var modelResult = KryptonMessageBox.Show("是否在下次满料时停止? Yes:下次满料自动停止 No:直接停止 Cancel:不停止继续运行", "是否在下次满料时停止", MessageBoxButtons.YesNoCancel);
var modelResult = KryptonMessageBox.Show("是否在下次满料时停止? \n Yes:下次满料自动停止 No:直接停止 Cancel:不停止继续运行", "是否在下次满料时停止", MessageBoxButtons.YesNoCancel);
if (modelResult == DialogResult.Yes)
{
NextFullStop = true;
}
else if(modelResult==DialogResult.No)
else if (modelResult == DialogResult.No)
{
if (PlcOperationHelper.Instance.WritePlcItem("StopSys", "True", PlcItemTypeDesc.M))
@@ -2859,5 +2859,15 @@ namespace CleanMachineHMI.FrmUserControl
{
this.NextFullStop = false;
}
private void kryptonDropButton1_Click(object sender, EventArgs e)
{
}
private void kryptonButton9_Click(object sender, EventArgs e)
{
frmMainNew.SwitchFrmMenu(EnumFormType.OperatorReport, false);
}
}
}