增加COM设置及界面

This commit is contained in:
bnala committed 2025-02-19 16:13:49 +08:00
1 parent 16586d67aa
commit f1e0412c01
16 files changed
+1513 -831

No files matched your search

+26 -20
View File
@@ -47,9 +47,10 @@
//
this.关闭.Anchor = System.Windows.Forms.AnchorStyles.None;
this.关闭.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.关闭.Location = new System.Drawing.Point(1743, 955);
this.关闭.Location = new System.Drawing.Point(1380, 675);
this.关闭.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.关闭.Name = "关闭";
this.关闭.Size = new System.Drawing.Size(92, 41);
this.关闭.Size = new System.Drawing.Size(141, 72);
this.关闭.TabIndex = 7;
this.关闭.Text = "关闭";
this.关闭.UseVisualStyleBackColor = true;
@@ -59,9 +60,10 @@
//
this.保存.Anchor = System.Windows.Forms.AnchorStyles.None;
this.保存.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.保存.Location = new System.Drawing.Point(1743, 866);
this.保存.Location = new System.Drawing.Point(1380, 517);
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.保存.Name = "保存";
this.保存.Size = new System.Drawing.Size(92, 41);
this.保存.Size = new System.Drawing.Size(141, 72);
this.保存.TabIndex = 6;
this.保存.Text = "保存";
this.保存.UseVisualStyleBackColor = true;
@@ -71,9 +73,10 @@
//
this.查询.Anchor = System.Windows.Forms.AnchorStyles.None;
this.查询.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.查询.Location = new System.Drawing.Point(1743, 22);
this.查询.Location = new System.Drawing.Point(1380, 43);
this.查询.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.查询.Name = "查询";
this.查询.Size = new System.Drawing.Size(92, 41);
this.查询.Size = new System.Drawing.Size(141, 72);
this.查询.TabIndex = 5;
this.查询.Text = "查询";
this.查询.UseVisualStyleBackColor = true;
@@ -109,12 +112,13 @@
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.Location = new System.Drawing.Point(3, 3);
this.dataGridView1.Location = new System.Drawing.Point(6, 5);
this.dataGridView1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersWidth = 72;
this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 4);
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1689, 1015);
this.dataGridView1.Size = new System.Drawing.Size(1362, 780);
this.dataGridView1.TabIndex = 4;
//
// tableLayoutPanel1
@@ -126,52 +130,54 @@
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(8, 8);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.20179F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.7982F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 87F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 90F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1884, 1021);
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1527, 790);
this.tableLayoutPanel1.TabIndex = 8;
//
// id
//
this.id.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.id.DataPropertyName = "id";
this.id.HeaderText = "序号";
this.id.MinimumWidth = 9;
this.id.Name = "id";
this.id.ReadOnly = true;
this.id.Width = 175;
//
// plcip
//
this.plcip.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.plcip.DataPropertyName = "plcip";
this.plcip.HeaderText = "IP地址";
this.plcip.MinimumWidth = 9;
this.plcip.Name = "plcip";
this.plcip.ReadOnly = true;
this.plcip.Width = 175;
//
// timeout
//
this.timeout.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.timeout.DataPropertyName = "timeout";
this.timeout.HeaderText = "超时时间";
this.timeout.MinimumWidth = 9;
this.timeout.Name = "timeout";
this.timeout.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.timeout.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.timeout.Width = 175;
//
// PLC_Manage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1904, 1041);
this.ClientSize = new System.Drawing.Size(1527, 790);
this.Controls.Add(this.tableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Margin = new System.Windows.Forms.Padding(2);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "PLC_Manage";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "PLC_Manage";