298 lines
17 KiB
C#
298 lines
17 KiB
C#
|
|
namespace JY.Inspection.Frm
|
|
{
|
|
partial class FrmChangeModel
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChangeModel));
|
|
this.dgvParaPLC = new MetroFramework.Controls.MetroGrid();
|
|
this.cmbProductModel = new MetroFramework.Controls.MetroComboBox();
|
|
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
|
this.btnSavePLCConfig = new MetroFramework.Controls.MetroButton();
|
|
this.btnChangeConfig = new MetroFramework.Controls.MetroButton();
|
|
this.btnConfigBaseSet = new MetroFramework.Controls.MetroButton();
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
|
|
this.序号 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ModelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.PLCAddress = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.PLCValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.UpdateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.PLCRemark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.OrderNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvParaPLC)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// dgvParaPLC
|
|
//
|
|
this.dgvParaPLC.AllowUserToAddRows = false;
|
|
this.dgvParaPLC.AllowUserToDeleteRows = false;
|
|
this.dgvParaPLC.AllowUserToResizeRows = false;
|
|
this.dgvParaPLC.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.dgvParaPLC.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.dgvParaPLC.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
this.dgvParaPLC.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvParaPLC.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgvParaPLC.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvParaPLC.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.序号,
|
|
this.ModelName,
|
|
this.PLCAddress,
|
|
this.PLCValue,
|
|
this.UpdateTime,
|
|
this.PLCRemark,
|
|
this.OrderNum});
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(136)))), ((int)(((byte)(136)))));
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgvParaPLC.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dgvParaPLC.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.dgvParaPLC.EnableHeadersVisualStyles = false;
|
|
this.dgvParaPLC.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
this.dgvParaPLC.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
this.dgvParaPLC.Location = new System.Drawing.Point(490, 75);
|
|
this.dgvParaPLC.Margin = new System.Windows.Forms.Padding(4);
|
|
this.dgvParaPLC.Name = "dgvParaPLC";
|
|
this.dgvParaPLC.ReadOnly = true;
|
|
this.dgvParaPLC.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvParaPLC.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dgvParaPLC.RowHeadersVisible = false;
|
|
this.dgvParaPLC.RowHeadersWidth = 51;
|
|
this.dgvParaPLC.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.dgvParaPLC.RowTemplate.Height = 23;
|
|
this.dgvParaPLC.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvParaPLC.Size = new System.Drawing.Size(935, 814);
|
|
this.dgvParaPLC.TabIndex = 0;
|
|
this.dgvParaPLC.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvParaPLC_RowPostPaint);
|
|
//
|
|
// cmbProductModel
|
|
//
|
|
this.cmbProductModel.FormattingEnabled = true;
|
|
this.cmbProductModel.ItemHeight = 24;
|
|
this.cmbProductModel.Location = new System.Drawing.Point(161, 118);
|
|
this.cmbProductModel.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cmbProductModel.Name = "cmbProductModel";
|
|
this.cmbProductModel.Size = new System.Drawing.Size(257, 30);
|
|
this.cmbProductModel.TabIndex = 2;
|
|
this.cmbProductModel.UseSelectable = true;
|
|
this.cmbProductModel.SelectedIndexChanged += new System.EventHandler(this.cmbProductModel_SelectedIndexChanged);
|
|
//
|
|
// metroLabel1
|
|
//
|
|
this.metroLabel1.AutoSize = true;
|
|
this.metroLabel1.Location = new System.Drawing.Point(53, 122);
|
|
this.metroLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.metroLabel1.Name = "metroLabel1";
|
|
this.metroLabel1.Size = new System.Drawing.Size(84, 20);
|
|
this.metroLabel1.TabIndex = 3;
|
|
this.metroLabel1.Text = "电芯型号:";
|
|
//
|
|
// btnSavePLCConfig
|
|
//
|
|
this.btnSavePLCConfig.Location = new System.Drawing.Point(51, 259);
|
|
this.btnSavePLCConfig.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnSavePLCConfig.Name = "btnSavePLCConfig";
|
|
this.btnSavePLCConfig.Size = new System.Drawing.Size(152, 46);
|
|
this.btnSavePLCConfig.TabIndex = 4;
|
|
this.btnSavePLCConfig.Text = "一键保存";
|
|
this.btnSavePLCConfig.UseSelectable = true;
|
|
this.btnSavePLCConfig.Click += new System.EventHandler(this.btnReadPLC_Click);
|
|
//
|
|
// btnChangeConfig
|
|
//
|
|
this.btnChangeConfig.Location = new System.Drawing.Point(252, 259);
|
|
this.btnChangeConfig.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnChangeConfig.Name = "btnChangeConfig";
|
|
this.btnChangeConfig.Size = new System.Drawing.Size(152, 46);
|
|
this.btnChangeConfig.TabIndex = 5;
|
|
this.btnChangeConfig.Text = "一键换型";
|
|
this.btnChangeConfig.UseSelectable = true;
|
|
this.btnChangeConfig.Click += new System.EventHandler(this.btnChangeConfig_Click);
|
|
//
|
|
// btnConfigBaseSet
|
|
//
|
|
this.btnConfigBaseSet.Location = new System.Drawing.Point(51, 352);
|
|
this.btnConfigBaseSet.Margin = new System.Windows.Forms.Padding(4);
|
|
this.btnConfigBaseSet.Name = "btnConfigBaseSet";
|
|
this.btnConfigBaseSet.Size = new System.Drawing.Size(152, 46);
|
|
this.btnConfigBaseSet.TabIndex = 6;
|
|
this.btnConfigBaseSet.Text = "轴参数维护设置";
|
|
this.btnConfigBaseSet.UseSelectable = true;
|
|
this.btnConfigBaseSet.Click += new System.EventHandler(this.btnConfigBaseSet_Click);
|
|
//
|
|
// progressBar1
|
|
//
|
|
this.progressBar1.Location = new System.Drawing.Point(51, 190);
|
|
this.progressBar1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.progressBar1.Name = "progressBar1";
|
|
this.progressBar1.Size = new System.Drawing.Size(353, 29);
|
|
this.progressBar1.TabIndex = 7;
|
|
this.progressBar1.Visible = false;
|
|
//
|
|
// metroLabel2
|
|
//
|
|
this.metroLabel2.AutoSize = true;
|
|
this.metroLabel2.Location = new System.Drawing.Point(144, 162);
|
|
this.metroLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.metroLabel2.Name = "metroLabel2";
|
|
this.metroLabel2.Size = new System.Drawing.Size(0, 0);
|
|
this.metroLabel2.TabIndex = 8;
|
|
this.metroLabel2.Visible = false;
|
|
//
|
|
// 序号
|
|
//
|
|
this.序号.DataPropertyName = "序号";
|
|
this.序号.HeaderText = "序号";
|
|
this.序号.MinimumWidth = 6;
|
|
this.序号.Name = "序号";
|
|
this.序号.ReadOnly = true;
|
|
this.序号.Width = 125;
|
|
//
|
|
// ModelName
|
|
//
|
|
this.ModelName.DataPropertyName = "ModelName";
|
|
this.ModelName.HeaderText = "型号";
|
|
this.ModelName.MinimumWidth = 6;
|
|
this.ModelName.Name = "ModelName";
|
|
this.ModelName.ReadOnly = true;
|
|
this.ModelName.Width = 125;
|
|
//
|
|
// PLCAddress
|
|
//
|
|
this.PLCAddress.DataPropertyName = "PLCAddress";
|
|
this.PLCAddress.HeaderText = "PLC地址";
|
|
this.PLCAddress.MinimumWidth = 6;
|
|
this.PLCAddress.Name = "PLCAddress";
|
|
this.PLCAddress.ReadOnly = true;
|
|
this.PLCAddress.Width = 125;
|
|
//
|
|
// PLCValue
|
|
//
|
|
this.PLCValue.DataPropertyName = "PLCValue";
|
|
this.PLCValue.HeaderText = "PLC值";
|
|
this.PLCValue.MinimumWidth = 6;
|
|
this.PLCValue.Name = "PLCValue";
|
|
this.PLCValue.ReadOnly = true;
|
|
this.PLCValue.Width = 125;
|
|
//
|
|
// UpdateTime
|
|
//
|
|
this.UpdateTime.DataPropertyName = "UpdateTime";
|
|
this.UpdateTime.HeaderText = "更新时间";
|
|
this.UpdateTime.MinimumWidth = 6;
|
|
this.UpdateTime.Name = "UpdateTime";
|
|
this.UpdateTime.ReadOnly = true;
|
|
this.UpdateTime.Width = 125;
|
|
//
|
|
// PLCRemark
|
|
//
|
|
this.PLCRemark.DataPropertyName = "PLCRemark";
|
|
this.PLCRemark.HeaderText = "备注";
|
|
this.PLCRemark.MinimumWidth = 6;
|
|
this.PLCRemark.Name = "PLCRemark";
|
|
this.PLCRemark.ReadOnly = true;
|
|
this.PLCRemark.Width = 125;
|
|
//
|
|
// OrderNum
|
|
//
|
|
this.OrderNum.DataPropertyName = "OrderNum";
|
|
this.OrderNum.HeaderText = "排序";
|
|
this.OrderNum.MinimumWidth = 6;
|
|
this.OrderNum.Name = "OrderNum";
|
|
this.OrderNum.ReadOnly = true;
|
|
this.OrderNum.Width = 125;
|
|
//
|
|
// FrmChangeModel
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle;
|
|
this.ClientSize = new System.Drawing.Size(1452, 914);
|
|
this.Controls.Add(this.metroLabel2);
|
|
this.Controls.Add(this.progressBar1);
|
|
this.Controls.Add(this.btnConfigBaseSet);
|
|
this.Controls.Add(this.btnChangeConfig);
|
|
this.Controls.Add(this.btnSavePLCConfig);
|
|
this.Controls.Add(this.metroLabel1);
|
|
this.Controls.Add(this.cmbProductModel);
|
|
this.Controls.Add(this.dgvParaPLC);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Movable = false;
|
|
this.Name = "FrmChangeModel";
|
|
this.Padding = new System.Windows.Forms.Padding(27, 75, 27, 25);
|
|
this.Text = "9978-";
|
|
this.Load += new System.EventHandler(this.FrmChangeModel_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvParaPLC)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private MetroFramework.Controls.MetroGrid dgvParaPLC;
|
|
private MetroFramework.Controls.MetroComboBox cmbProductModel;
|
|
private MetroFramework.Controls.MetroLabel metroLabel1;
|
|
private MetroFramework.Controls.MetroButton btnSavePLCConfig;
|
|
private MetroFramework.Controls.MetroButton btnChangeConfig;
|
|
private MetroFramework.Controls.MetroButton btnConfigBaseSet;
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
|
private MetroFramework.Controls.MetroLabel metroLabel2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 序号;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ModelName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn PLCAddress;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn PLCValue;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn UpdateTime;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn PLCRemark;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn OrderNum;
|
|
}
|
|
} |