diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs b/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs index a5bd54f..ee4c795 100644 --- a/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs +++ b/CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs @@ -50,7 +50,6 @@ namespace CleanMachineHMI.FrmUserControl this.kryptonButton3 = new Krypton.Toolkit.KryptonButton(); this.knud_WorkedFullPalletNum = new Krypton.Toolkit.KryptonTextBox(); this.kryptonGroupBox7 = new Krypton.Toolkit.KryptonGroupBox(); - this.btn_M_A = new CleanMachineHMI.CircleButton(); this.kryptonLabel11 = new Krypton.Toolkit.KryptonLabel(); this.circleButton1 = new CleanMachineHMI.CircleButton(); this.cbt_staticbar = new CleanMachineHMI.CircleButton(); @@ -501,7 +500,6 @@ namespace CleanMachineHMI.FrmUserControl // // kryptonGroupBox7.Panel // - this.kryptonGroupBox7.Panel.Controls.Add(this.btn_M_A); this.kryptonGroupBox7.Panel.Controls.Add(this.kryptonLabel11); this.kryptonGroupBox7.Panel.Controls.Add(this.circleButton1); this.kryptonGroupBox7.Panel.Controls.Add(this.cbt_staticbar); @@ -525,15 +523,6 @@ namespace CleanMachineHMI.FrmUserControl this.kryptonGroupBox7.TabIndex = 5; this.kryptonGroupBox7.Values.Heading = ""; // - // btn_M_A - // - this.btn_M_A.BackColor = System.Drawing.Color.Gray; - this.btn_M_A.Location = new System.Drawing.Point(156, 151); - this.btn_M_A.Name = "btn_M_A"; - this.btn_M_A.Size = new System.Drawing.Size(30, 30); - this.btn_M_A.TabIndex = 54; - this.btn_M_A.UseVisualStyleBackColor = false; - // // kryptonLabel11 // this.kryptonLabel11.Location = new System.Drawing.Point(20, 306); @@ -3104,6 +3093,5 @@ namespace CleanMachineHMI.FrmUserControl private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private Krypton.Toolkit.KryptonButton kryptonButton9; private CircleButton circleButton1; - private CircleButton btn_M_A; } } diff --git a/CleanMachineHMI/FrmUserControl/frmMainDetail.cs b/CleanMachineHMI/FrmUserControl/frmMainDetail.cs index 586e98f..f1fb0ab 100644 --- a/CleanMachineHMI/FrmUserControl/frmMainDetail.cs +++ b/CleanMachineHMI/FrmUserControl/frmMainDetail.cs @@ -1462,6 +1462,7 @@ namespace CleanMachineHMI.FrmUserControl if (PlcOperationHelper.Instance.WritePlcItem("ResetSys", "True", PlcItemTypeDesc.M)) { this.lastPaltteRemain = 0; + LogHelper.WriteLog($"用户:【{Global.UserInfo.UserName}】点击重置设备按钮,重置信号发送PLC成功!", LogTypeEum.Run); } }