首次提交lilili

This commit is contained in:
2025-03-25 18:55:59 +08:00
parent fabc7606e7
commit bc981fc7a9
13 changed files with 1693 additions and 415 deletions

View File

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
AntdUI.Tabs.StyleLine styleLine1 = new AntdUI.Tabs.StyleLine();
stackPanel2 = new AntdUI.StackPanel();
swhEnable = new AntdUI.Switch();
label4 = new AntdUI.Label();
@ -56,9 +57,32 @@
stpBaud = new AntdUI.StackPanel();
cmbBaudRate = new AntdUI.Select();
label3 = new AntdUI.Label();
tabs1 = new AntdUI.Tabs();
tabPage1 = new AntdUI.TabPage();
PLCItemsTable = new AntdUI.Table();
panel1 = new AntdUI.Panel();
btnDelete = new AntdUI.Button();
btnAdd = new AntdUI.Button();
tabPage2 = new AntdUI.TabPage();
TableSartProcess = new AntdUI.Table();
panel2 = new AntdUI.Panel();
btnSartProcessDelete = new AntdUI.Button();
btnSartProcessAdd = new AntdUI.Button();
tabPage3 = new AntdUI.TabPage();
TableStopProcess = new AntdUI.Table();
panel3 = new AntdUI.Panel();
btnStopProcessDelete = new AntdUI.Button();
btnStopProcessAdd = new AntdUI.Button();
tabPage4 = new AntdUI.TabPage();
TableStartReset = new AntdUI.Table();
panel4 = new AntdUI.Panel();
btnStartResetDelete = new AntdUI.Button();
btnStartResetAdd = new AntdUI.Button();
tabPage5 = new AntdUI.TabPage();
TableStopReset = new AntdUI.Table();
panel5 = new AntdUI.Panel();
btnStopResetDelete = new AntdUI.Button();
btnStopResetAdd = new AntdUI.Button();
stackPanel2.SuspendLayout();
stackPanel3.SuspendLayout();
stpCom.SuspendLayout();
@ -69,6 +93,17 @@
stpStop.SuspendLayout();
stpData.SuspendLayout();
stpBaud.SuspendLayout();
tabs1.SuspendLayout();
tabPage1.SuspendLayout();
panel1.SuspendLayout();
tabPage2.SuspendLayout();
panel2.SuspendLayout();
tabPage3.SuspendLayout();
panel3.SuspendLayout();
tabPage4.SuspendLayout();
panel4.SuspendLayout();
tabPage5.SuspendLayout();
panel5.SuspendLayout();
SuspendLayout();
//
// stackPanel2
@ -164,9 +199,10 @@
stackPanel1.Controls.Add(stpCom);
stackPanel1.Controls.Add(stackPanel3);
stackPanel1.Controls.Add(stackPanel2);
stackPanel1.Location = new Point(19, 16);
stackPanel1.Dock = DockStyle.Left;
stackPanel1.Location = new Point(0, 0);
stackPanel1.Name = "stackPanel1";
stackPanel1.Size = new Size(223, 478);
stackPanel1.Size = new Size(223, 530);
stackPanel1.TabIndex = 25;
stackPanel1.Text = "stackPanel1";
stackPanel1.Vertical = true;
@ -331,22 +367,63 @@
label3.TabIndex = 24;
label3.Text = "波 特 率";
//
// tabs1
//
tabs1.Dock = DockStyle.Fill;
tabs1.Location = new Point(223, 0);
tabs1.Name = "tabs1";
tabs1.Pages.Add(tabPage1);
tabs1.Pages.Add(tabPage2);
tabs1.Pages.Add(tabPage3);
tabs1.Pages.Add(tabPage4);
tabs1.Pages.Add(tabPage5);
tabs1.Size = new Size(675, 530);
tabs1.Style = styleLine1;
tabs1.TabIndex = 26;
tabs1.Text = "tabs1";
tabs1.SelectedIndex = 0;
//
// tabPage1
//
tabPage1.Controls.Add(PLCItemsTable);
tabPage1.Controls.Add(panel1);
tabPage1.Location = new Point(3, 28);
tabPage1.Name = "tabPage1";
tabPage1.Size = new Size(669, 499);
tabPage1.TabIndex = 0;
tabPage1.Text = "点位表";
//
// PLCItemsTable
//
PLCItemsTable.Dock = DockStyle.Fill;
PLCItemsTable.EmptyHeader = true;
PLCItemsTable.Location = new Point(238, 71);
PLCItemsTable.Location = new Point(0, 45);
PLCItemsTable.Name = "PLCItemsTable";
PLCItemsTable.Size = new Size(634, 392);
PLCItemsTable.TabIndex = 26;
PLCItemsTable.Padding = new Padding(5);
PLCItemsTable.Size = new Size(669, 454);
PLCItemsTable.TabIndex = 36;
PLCItemsTable.Text = "table1";
//
// panel1
//
panel1.Back = Color.Transparent;
panel1.BackColor = SystemColors.Window;
panel1.Controls.Add(btnDelete);
panel1.Controls.Add(btnAdd);
panel1.Dock = DockStyle.Top;
panel1.Location = new Point(0, 0);
panel1.Name = "panel1";
panel1.Size = new Size(669, 45);
panel1.TabIndex = 35;
panel1.Text = "panel1";
//
// btnDelete
//
btnDelete.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnDelete.Location = new Point(331, 27);
btnDelete.Location = new Point(110, 10);
btnDelete.Name = "btnDelete";
btnDelete.Size = new Size(80, 32);
btnDelete.TabIndex = 28;
btnDelete.Size = new Size(74, 32);
btnDelete.TabIndex = 36;
btnDelete.Text = "删除";
btnDelete.Type = AntdUI.TTypeMini.Error;
btnDelete.WaveSize = 0;
@ -354,21 +431,243 @@
// btnAdd
//
btnAdd.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnAdd.Location = new Point(245, 27);
btnAdd.Location = new Point(13, 10);
btnAdd.Name = "btnAdd";
btnAdd.Size = new Size(80, 32);
btnAdd.TabIndex = 27;
btnAdd.Size = new Size(82, 32);
btnAdd.TabIndex = 35;
btnAdd.Text = "新增";
btnAdd.Type = AntdUI.TTypeMini.Primary;
btnAdd.WaveSize = 0;
//
// tabPage2
//
tabPage2.Controls.Add(TableSartProcess);
tabPage2.Controls.Add(panel2);
tabPage2.Location = new Point(-669, -499);
tabPage2.Name = "tabPage2";
tabPage2.Size = new Size(669, 499);
tabPage2.TabIndex = 1;
tabPage2.Text = "流程启动表";
//
// TableSartProcess
//
TableSartProcess.Dock = DockStyle.Fill;
TableSartProcess.EmptyHeader = true;
TableSartProcess.Location = new Point(0, 45);
TableSartProcess.Name = "TableSartProcess";
TableSartProcess.Padding = new Padding(5);
TableSartProcess.Size = new Size(669, 454);
TableSartProcess.TabIndex = 38;
TableSartProcess.Text = "table1";
//
// panel2
//
panel2.Back = Color.Transparent;
panel2.BackColor = SystemColors.Window;
panel2.Controls.Add(btnSartProcessDelete);
panel2.Controls.Add(btnSartProcessAdd);
panel2.Dock = DockStyle.Top;
panel2.Location = new Point(0, 0);
panel2.Name = "panel2";
panel2.Size = new Size(669, 45);
panel2.TabIndex = 37;
panel2.Text = "panel2";
//
// btnSartProcessDelete
//
btnSartProcessDelete.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnSartProcessDelete.Location = new Point(110, 10);
btnSartProcessDelete.Name = "btnSartProcessDelete";
btnSartProcessDelete.Size = new Size(74, 32);
btnSartProcessDelete.TabIndex = 36;
btnSartProcessDelete.Text = "删除";
btnSartProcessDelete.Type = AntdUI.TTypeMini.Error;
btnSartProcessDelete.WaveSize = 0;
//
// btnSartProcessAdd
//
btnSartProcessAdd.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnSartProcessAdd.Location = new Point(13, 10);
btnSartProcessAdd.Name = "btnSartProcessAdd";
btnSartProcessAdd.Size = new Size(82, 32);
btnSartProcessAdd.TabIndex = 35;
btnSartProcessAdd.Text = "新增";
btnSartProcessAdd.Type = AntdUI.TTypeMini.Primary;
btnSartProcessAdd.WaveSize = 0;
//
// tabPage3
//
tabPage3.Controls.Add(TableStopProcess);
tabPage3.Controls.Add(panel3);
tabPage3.Location = new Point(-669, -499);
tabPage3.Name = "tabPage3";
tabPage3.Size = new Size(669, 499);
tabPage3.TabIndex = 2;
tabPage3.Text = "流程结束表";
//
// TableStopProcess
//
TableStopProcess.Dock = DockStyle.Fill;
TableStopProcess.EmptyHeader = true;
TableStopProcess.Location = new Point(0, 45);
TableStopProcess.Name = "TableStopProcess";
TableStopProcess.Padding = new Padding(5);
TableStopProcess.Size = new Size(669, 454);
TableStopProcess.TabIndex = 38;
TableStopProcess.Text = "table1";
//
// panel3
//
panel3.Back = Color.Transparent;
panel3.BackColor = SystemColors.Window;
panel3.Controls.Add(btnStopProcessDelete);
panel3.Controls.Add(btnStopProcessAdd);
panel3.Dock = DockStyle.Top;
panel3.Location = new Point(0, 0);
panel3.Name = "panel3";
panel3.Size = new Size(669, 45);
panel3.TabIndex = 37;
panel3.Text = "panel3";
//
// btnStopProcessDelete
//
btnStopProcessDelete.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnStopProcessDelete.Location = new Point(110, 10);
btnStopProcessDelete.Name = "btnStopProcessDelete";
btnStopProcessDelete.Size = new Size(74, 32);
btnStopProcessDelete.TabIndex = 36;
btnStopProcessDelete.Text = "删除";
btnStopProcessDelete.Type = AntdUI.TTypeMini.Error;
btnStopProcessDelete.WaveSize = 0;
//
// btnStopProcessAdd
//
btnStopProcessAdd.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnStopProcessAdd.Location = new Point(13, 10);
btnStopProcessAdd.Name = "btnStopProcessAdd";
btnStopProcessAdd.Size = new Size(82, 32);
btnStopProcessAdd.TabIndex = 35;
btnStopProcessAdd.Text = "新增";
btnStopProcessAdd.Type = AntdUI.TTypeMini.Primary;
btnStopProcessAdd.WaveSize = 0;
//
// tabPage4
//
tabPage4.Controls.Add(TableStartReset);
tabPage4.Controls.Add(panel4);
tabPage4.Location = new Point(-669, -499);
tabPage4.Name = "tabPage4";
tabPage4.Size = new Size(669, 499);
tabPage4.TabIndex = 3;
tabPage4.Text = "复位开始表";
//
// TableStartReset
//
TableStartReset.Dock = DockStyle.Fill;
TableStartReset.EmptyHeader = true;
TableStartReset.Location = new Point(0, 45);
TableStartReset.Name = "TableStartReset";
TableStartReset.Padding = new Padding(5);
TableStartReset.Size = new Size(669, 454);
TableStartReset.TabIndex = 38;
TableStartReset.Text = "table1";
//
// panel4
//
panel4.Back = Color.Transparent;
panel4.BackColor = SystemColors.Window;
panel4.Controls.Add(btnStartResetDelete);
panel4.Controls.Add(btnStartResetAdd);
panel4.Dock = DockStyle.Top;
panel4.Location = new Point(0, 0);
panel4.Name = "panel4";
panel4.Size = new Size(669, 45);
panel4.TabIndex = 37;
panel4.Text = "panel4";
//
// btnStartResetDelete
//
btnStartResetDelete.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnStartResetDelete.Location = new Point(110, 10);
btnStartResetDelete.Name = "btnStartResetDelete";
btnStartResetDelete.Size = new Size(74, 32);
btnStartResetDelete.TabIndex = 36;
btnStartResetDelete.Text = "删除";
btnStartResetDelete.Type = AntdUI.TTypeMini.Error;
btnStartResetDelete.WaveSize = 0;
//
// btnStartResetAdd
//
btnStartResetAdd.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnStartResetAdd.Location = new Point(13, 10);
btnStartResetAdd.Name = "btnStartResetAdd";
btnStartResetAdd.Size = new Size(82, 32);
btnStartResetAdd.TabIndex = 35;
btnStartResetAdd.Text = "新增";
btnStartResetAdd.Type = AntdUI.TTypeMini.Primary;
btnStartResetAdd.WaveSize = 0;
//
// tabPage5
//
tabPage5.Controls.Add(TableStopReset);
tabPage5.Controls.Add(panel5);
tabPage5.Location = new Point(-669, -499);
tabPage5.Name = "tabPage5";
tabPage5.Size = new Size(669, 499);
tabPage5.TabIndex = 4;
tabPage5.Text = "复位结束表";
//
// TableStopReset
//
TableStopReset.Dock = DockStyle.Fill;
TableStopReset.EmptyHeader = true;
TableStopReset.Location = new Point(0, 45);
TableStopReset.Name = "TableStopReset";
TableStopReset.Padding = new Padding(5);
TableStopReset.Size = new Size(669, 454);
TableStopReset.TabIndex = 38;
TableStopReset.Text = "table1";
//
// panel5
//
panel5.Back = Color.Transparent;
panel5.BackColor = SystemColors.Window;
panel5.Controls.Add(btnStopResetDelete);
panel5.Controls.Add(btnStopResetAdd);
panel5.Dock = DockStyle.Top;
panel5.Location = new Point(0, 0);
panel5.Name = "panel5";
panel5.Size = new Size(669, 45);
panel5.TabIndex = 37;
panel5.Text = "panel5";
//
// btnStopResetDelete
//
btnStopResetDelete.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnStopResetDelete.Location = new Point(110, 10);
btnStopResetDelete.Name = "btnStopResetDelete";
btnStopResetDelete.Size = new Size(74, 32);
btnStopResetDelete.TabIndex = 36;
btnStopResetDelete.Text = "删除";
btnStopResetDelete.Type = AntdUI.TTypeMini.Error;
btnStopResetDelete.WaveSize = 0;
//
// btnStopResetAdd
//
btnStopResetAdd.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
btnStopResetAdd.Location = new Point(13, 10);
btnStopResetAdd.Name = "btnStopResetAdd";
btnStopResetAdd.Size = new Size(82, 32);
btnStopResetAdd.TabIndex = 35;
btnStopResetAdd.Text = "新增";
btnStopResetAdd.Type = AntdUI.TTypeMini.Primary;
btnStopResetAdd.WaveSize = 0;
//
// MotionControl
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
Controls.Add(btnDelete);
Controls.Add(btnAdd);
Controls.Add(PLCItemsTable);
Controls.Add(tabs1);
Controls.Add(stackPanel1);
Name = "MotionControl";
Size = new Size(898, 530);
@ -382,6 +681,17 @@
stpStop.ResumeLayout(false);
stpData.ResumeLayout(false);
stpBaud.ResumeLayout(false);
tabs1.ResumeLayout(false);
tabPage1.ResumeLayout(false);
panel1.ResumeLayout(false);
tabPage2.ResumeLayout(false);
panel2.ResumeLayout(false);
tabPage3.ResumeLayout(false);
panel3.ResumeLayout(false);
tabPage4.ResumeLayout(false);
panel4.ResumeLayout(false);
tabPage5.ResumeLayout(false);
panel5.ResumeLayout(false);
ResumeLayout(false);
}
@ -415,8 +725,31 @@
private AntdUI.StackPanel stpBaud;
private AntdUI.Select cmbBaudRate;
private AntdUI.Label label3;
private AntdUI.Tabs tabs1;
private AntdUI.TabPage tabPage1;
private AntdUI.TabPage tabPage2;
private AntdUI.TabPage tabPage3;
private AntdUI.TabPage tabPage4;
private AntdUI.TabPage tabPage5;
private AntdUI.Table PLCItemsTable;
private AntdUI.Panel panel1;
private AntdUI.Button btnDelete;
private AntdUI.Button btnAdd;
private AntdUI.Table TableSartProcess;
private AntdUI.Panel panel2;
private AntdUI.Button btnSartProcessDelete;
private AntdUI.Button btnSartProcessAdd;
private AntdUI.Table TableStopProcess;
private AntdUI.Panel panel3;
private AntdUI.Button btnStopProcessDelete;
private AntdUI.Button btnStopProcessAdd;
private AntdUI.Table TableStartReset;
private AntdUI.Panel panel4;
private AntdUI.Button btnStartResetDelete;
private AntdUI.Button btnStartResetAdd;
private AntdUI.Table TableStopReset;
private AntdUI.Panel panel5;
private AntdUI.Button btnStopResetDelete;
private AntdUI.Button btnStopResetAdd;
}
}