25111801 添加PLC屏蔽交互

This commit is contained in:
moxiliang
2025-11-18 09:09:30 +08:00
parent 220a794a5b
commit 9f04271ae9
23 changed files with 259 additions and 133 deletions

View File

@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Electricity));
this.tabPage3 = new System.Windows.Forms.TabPage();
this.lb_PLCsaomamsg = new System.Windows.Forms.Label();
@@ -65,6 +66,7 @@
this.SaveConfig = new Sunny.UI.UISymbolButton();
this.label33 = new System.Windows.Forms.Label();
this.uiGroupBox13 = new Sunny.UI.UIGroupBox();
this.bt_BatchParamSave = new Sunny.UI.UISymbolButton();
this.chk_ChkBee = new System.Windows.Forms.CheckBox();
this.rbt_NpressureMode = new System.Windows.Forms.RadioButton();
this.tb_ParaName = new Sunny.UI.UITextBox();
@@ -129,7 +131,12 @@
this.label89 = new System.Windows.Forms.Label();
this.SendText = new System.Windows.Forms.TextBox();
this.uiTabControlMenu1 = new Sunny.UI.UITabControlMenu();
this.bt_BatchParamSave = new Sunny.UI.UISymbolButton();
this.chk_CH4Grating = new System.Windows.Forms.CheckBox();
this.chk_CH3Grating = new System.Windows.Forms.CheckBox();
this.chk_CH2Grating = new System.Windows.Forms.CheckBox();
this.chk_CH1Grating = new System.Windows.Forms.CheckBox();
this.chk_SafetyDoor = new System.Windows.Forms.CheckBox();
this.timer_Block = new System.Windows.Forms.Timer(this.components);
this.tabPage3.SuspendLayout();
this.uiGroupBox2.SuspendLayout();
this.uiGroupBox1.SuspendLayout();
@@ -142,6 +149,11 @@
// tabPage3
//
this.tabPage3.BackColor = System.Drawing.Color.LightBlue;
this.tabPage3.Controls.Add(this.chk_SafetyDoor);
this.tabPage3.Controls.Add(this.chk_CH4Grating);
this.tabPage3.Controls.Add(this.chk_CH3Grating);
this.tabPage3.Controls.Add(this.chk_CH2Grating);
this.tabPage3.Controls.Add(this.chk_CH1Grating);
this.tabPage3.Controls.Add(this.lb_PLCsaomamsg);
this.tabPage3.Controls.Add(this.label17);
this.tabPage3.Controls.Add(this.tb_ContinueTestCount);
@@ -164,7 +176,7 @@
//
this.lb_PLCsaomamsg.AutoSize = true;
this.lb_PLCsaomamsg.Font = new System.Drawing.Font("宋体", 15F);
this.lb_PLCsaomamsg.Location = new System.Drawing.Point(758, 569);
this.lb_PLCsaomamsg.Location = new System.Drawing.Point(509, 474);
this.lb_PLCsaomamsg.Name = "lb_PLCsaomamsg";
this.lb_PLCsaomamsg.Size = new System.Drawing.Size(29, 20);
this.lb_PLCsaomamsg.TabIndex = 483;
@@ -174,7 +186,7 @@
//
this.label17.AutoSize = true;
this.label17.Font = new System.Drawing.Font("宋体", 15F);
this.label17.Location = new System.Drawing.Point(789, 530);
this.label17.Location = new System.Drawing.Point(862, 551);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(59, 20);
this.label17.TabIndex = 482;
@@ -186,7 +198,7 @@
this.tb_ContinueTestCount.Cursor = System.Windows.Forms.Cursors.IBeam;
this.tb_ContinueTestCount.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.tb_ContinueTestCount.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tb_ContinueTestCount.Location = new System.Drawing.Point(851, 526);
this.tb_ContinueTestCount.Location = new System.Drawing.Point(924, 547);
this.tb_ContinueTestCount.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tb_ContinueTestCount.Maximum = 2147483647D;
this.tb_ContinueTestCount.Minimum = -2147483648D;
@@ -203,7 +215,7 @@
this.chk_ContinueTest.AutoSize = true;
this.chk_ContinueTest.BackColor = System.Drawing.Color.LightBlue;
this.chk_ContinueTest.Font = new System.Drawing.Font("宋体", 15F);
this.chk_ContinueTest.Location = new System.Drawing.Point(791, 494);
this.chk_ContinueTest.Location = new System.Drawing.Point(864, 515);
this.chk_ContinueTest.Name = "chk_ContinueTest";
this.chk_ContinueTest.Size = new System.Drawing.Size(108, 24);
this.chk_ContinueTest.TabIndex = 481;
@@ -216,7 +228,7 @@
this.chk_ch4saoma.AutoSize = true;
this.chk_ch4saoma.BackColor = System.Drawing.Color.LightBlue;
this.chk_ch4saoma.Font = new System.Drawing.Font("宋体", 15F);
this.chk_ch4saoma.Location = new System.Drawing.Point(887, 638);
this.chk_ch4saoma.Location = new System.Drawing.Point(514, 609);
this.chk_ch4saoma.Name = "chk_ch4saoma";
this.chk_ch4saoma.Size = new System.Drawing.Size(118, 24);
this.chk_ch4saoma.TabIndex = 480;
@@ -229,7 +241,7 @@
this.chk_ch3saoma.AutoSize = true;
this.chk_ch3saoma.BackColor = System.Drawing.Color.LightBlue;
this.chk_ch3saoma.Font = new System.Drawing.Font("宋体", 15F);
this.chk_ch3saoma.Location = new System.Drawing.Point(763, 638);
this.chk_ch3saoma.Location = new System.Drawing.Point(514, 575);
this.chk_ch3saoma.Name = "chk_ch3saoma";
this.chk_ch3saoma.Size = new System.Drawing.Size(118, 24);
this.chk_ch3saoma.TabIndex = 479;
@@ -242,7 +254,7 @@
this.chk_ch2saoma.AutoSize = true;
this.chk_ch2saoma.BackColor = System.Drawing.Color.LightBlue;
this.chk_ch2saoma.Font = new System.Drawing.Font("宋体", 15F);
this.chk_ch2saoma.Location = new System.Drawing.Point(887, 601);
this.chk_ch2saoma.Location = new System.Drawing.Point(514, 540);
this.chk_ch2saoma.Name = "chk_ch2saoma";
this.chk_ch2saoma.Size = new System.Drawing.Size(118, 24);
this.chk_ch2saoma.TabIndex = 478;
@@ -255,7 +267,7 @@
this.chk_ch1saoma.AutoSize = true;
this.chk_ch1saoma.BackColor = System.Drawing.Color.LightBlue;
this.chk_ch1saoma.Font = new System.Drawing.Font("宋体", 15F);
this.chk_ch1saoma.Location = new System.Drawing.Point(763, 601);
this.chk_ch1saoma.Location = new System.Drawing.Point(514, 506);
this.chk_ch1saoma.Name = "chk_ch1saoma";
this.chk_ch1saoma.Size = new System.Drawing.Size(118, 24);
this.chk_ch1saoma.TabIndex = 477;
@@ -677,6 +689,21 @@
this.uiGroupBox13.Text = "仪器参数设置";
this.uiGroupBox13.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// bt_BatchParamSave
//
this.bt_BatchParamSave.Cursor = System.Windows.Forms.Cursors.Hand;
this.bt_BatchParamSave.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.bt_BatchParamSave.Location = new System.Drawing.Point(603, 385);
this.bt_BatchParamSave.MinimumSize = new System.Drawing.Size(1, 1);
this.bt_BatchParamSave.Name = "bt_BatchParamSave";
this.bt_BatchParamSave.Size = new System.Drawing.Size(149, 35);
this.bt_BatchParamSave.Style = Sunny.UI.UIStyle.Custom;
this.bt_BatchParamSave.Symbol = 61678;
this.bt_BatchParamSave.TabIndex = 475;
this.bt_BatchParamSave.Text = "批量保存参数";
this.bt_BatchParamSave.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.bt_BatchParamSave.Click += new System.EventHandler(this.bt_BatchParamSave_Click);
//
// chk_ChkBee
//
this.chk_ChkBee.AutoSize = true;
@@ -1575,20 +1602,74 @@
this.uiTabControlMenu1.TabSelectedForeColor = System.Drawing.Color.Black;
this.uiTabControlMenu1.TabUnSelectedForeColor = System.Drawing.Color.Black;
//
// bt_BatchParamSave
// chk_CH4Grating
//
this.bt_BatchParamSave.Cursor = System.Windows.Forms.Cursors.Hand;
this.bt_BatchParamSave.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.bt_BatchParamSave.Location = new System.Drawing.Point(603, 385);
this.bt_BatchParamSave.MinimumSize = new System.Drawing.Size(1, 1);
this.bt_BatchParamSave.Name = "bt_BatchParamSave";
this.bt_BatchParamSave.Size = new System.Drawing.Size(149, 35);
this.bt_BatchParamSave.Style = Sunny.UI.UIStyle.Custom;
this.bt_BatchParamSave.Symbol = 61678;
this.bt_BatchParamSave.TabIndex = 475;
this.bt_BatchParamSave.Text = "批量保存参数";
this.bt_BatchParamSave.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.bt_BatchParamSave.Click += new System.EventHandler(this.bt_BatchParamSave_Click);
this.chk_CH4Grating.AutoSize = true;
this.chk_CH4Grating.BackColor = System.Drawing.Color.LightBlue;
this.chk_CH4Grating.Font = new System.Drawing.Font("宋体", 15F);
this.chk_CH4Grating.Location = new System.Drawing.Point(666, 606);
this.chk_CH4Grating.Name = "chk_CH4Grating";
this.chk_CH4Grating.Size = new System.Drawing.Size(158, 24);
this.chk_CH4Grating.TabIndex = 487;
this.chk_CH4Grating.Text = "通道4光栅屏蔽";
this.chk_CH4Grating.UseVisualStyleBackColor = false;
this.chk_CH4Grating.CheckedChanged += new System.EventHandler(this.chk_CH4Grating_CheckedChanged);
//
// chk_CH3Grating
//
this.chk_CH3Grating.AutoSize = true;
this.chk_CH3Grating.BackColor = System.Drawing.Color.LightBlue;
this.chk_CH3Grating.Font = new System.Drawing.Font("宋体", 15F);
this.chk_CH3Grating.Location = new System.Drawing.Point(666, 572);
this.chk_CH3Grating.Name = "chk_CH3Grating";
this.chk_CH3Grating.Size = new System.Drawing.Size(158, 24);
this.chk_CH3Grating.TabIndex = 486;
this.chk_CH3Grating.Text = "通道3光栅屏蔽";
this.chk_CH3Grating.UseVisualStyleBackColor = false;
this.chk_CH3Grating.CheckedChanged += new System.EventHandler(this.chk_CH3Grating_CheckedChanged);
//
// chk_CH2Grating
//
this.chk_CH2Grating.AutoSize = true;
this.chk_CH2Grating.BackColor = System.Drawing.Color.LightBlue;
this.chk_CH2Grating.Font = new System.Drawing.Font("宋体", 15F);
this.chk_CH2Grating.Location = new System.Drawing.Point(666, 537);
this.chk_CH2Grating.Name = "chk_CH2Grating";
this.chk_CH2Grating.Size = new System.Drawing.Size(158, 24);
this.chk_CH2Grating.TabIndex = 485;
this.chk_CH2Grating.Text = "通道2光栅屏蔽";
this.chk_CH2Grating.UseVisualStyleBackColor = false;
this.chk_CH2Grating.CheckedChanged += new System.EventHandler(this.chk_CH2Grating_CheckedChanged);
//
// chk_CH1Grating
//
this.chk_CH1Grating.AutoSize = true;
this.chk_CH1Grating.BackColor = System.Drawing.Color.LightBlue;
this.chk_CH1Grating.Font = new System.Drawing.Font("宋体", 15F);
this.chk_CH1Grating.Location = new System.Drawing.Point(666, 503);
this.chk_CH1Grating.Name = "chk_CH1Grating";
this.chk_CH1Grating.Size = new System.Drawing.Size(158, 24);
this.chk_CH1Grating.TabIndex = 484;
this.chk_CH1Grating.Text = "通道1光栅屏蔽";
this.chk_CH1Grating.UseVisualStyleBackColor = false;
this.chk_CH1Grating.CheckedChanged += new System.EventHandler(this.chk_CH1Grating_CheckedChanged);
//
// chk_SafetyDoor
//
this.chk_SafetyDoor.AutoSize = true;
this.chk_SafetyDoor.BackColor = System.Drawing.Color.LightBlue;
this.chk_SafetyDoor.Font = new System.Drawing.Font("宋体", 15F);
this.chk_SafetyDoor.Location = new System.Drawing.Point(666, 639);
this.chk_SafetyDoor.Name = "chk_SafetyDoor";
this.chk_SafetyDoor.Size = new System.Drawing.Size(128, 24);
this.chk_SafetyDoor.TabIndex = 488;
this.chk_SafetyDoor.Text = "安全门屏蔽";
this.chk_SafetyDoor.UseVisualStyleBackColor = false;
this.chk_SafetyDoor.CheckedChanged += new System.EventHandler(this.chk_SafetyDoor_CheckedChanged);
//
// timer_Block
//
this.timer_Block.Tick += new System.EventHandler(this.timer_Block_Tick);
//
// Electricity
//
@@ -1720,5 +1801,11 @@
private Sunny.UI.UITextBox tb_ContinueTestCount;
private System.Windows.Forms.Label lb_PLCsaomamsg;
private Sunny.UI.UISymbolButton bt_BatchParamSave;
private System.Windows.Forms.CheckBox chk_SafetyDoor;
private System.Windows.Forms.CheckBox chk_CH4Grating;
private System.Windows.Forms.CheckBox chk_CH3Grating;
private System.Windows.Forms.CheckBox chk_CH2Grating;
private System.Windows.Forms.CheckBox chk_CH1Grating;
private System.Windows.Forms.Timer timer_Block;
}
}