|
|
|
@ -32,14 +32,28 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.WeightDataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialChildType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetThickness = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetWidth = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetLayer = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetWeight = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetError = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.WeightIsUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
|
|
this.AddRecipeButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.ButtonPanel = new System.Windows.Forms.Panel();
|
|
|
|
|
this.label26 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label25 = new System.Windows.Forms.Label();
|
|
|
|
|
this.RefreshRecipeButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.UpdateRecipeButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.DeleteRecipeButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.RecipeDataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.RId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.RecipeCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.RecipeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.RecipeSpecCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
@ -108,21 +122,12 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.SaveParaButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.label24 = new System.Windows.Forms.Label();
|
|
|
|
|
this.RefreshWeightButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.UpdateWeightButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.AddWeightButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.DeleteWeightButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.MaterialChildType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetThickness = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetWidth = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetLayer = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetWeight = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SetError = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.WeightIsUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
|
|
this.label27 = new System.Windows.Forms.Label();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.WeightDataGridView)).BeginInit();
|
|
|
|
|
this.ButtonPanel.SuspendLayout();
|
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
@ -166,6 +171,93 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.WeightDataGridView.TabIndex = 0;
|
|
|
|
|
this.WeightDataGridView.Tag = "";
|
|
|
|
|
//
|
|
|
|
|
// Id
|
|
|
|
|
//
|
|
|
|
|
this.Id.DataPropertyName = "Id";
|
|
|
|
|
this.Id.HeaderText = "编号";
|
|
|
|
|
this.Id.Name = "Id";
|
|
|
|
|
this.Id.ReadOnly = true;
|
|
|
|
|
this.Id.Width = 40;
|
|
|
|
|
//
|
|
|
|
|
// MaterialCode
|
|
|
|
|
//
|
|
|
|
|
this.MaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialCode.DataPropertyName = "MaterialCode";
|
|
|
|
|
this.MaterialCode.HeaderText = "物料编码";
|
|
|
|
|
this.MaterialCode.Name = "MaterialCode";
|
|
|
|
|
this.MaterialCode.ReadOnly = true;
|
|
|
|
|
this.MaterialCode.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// MaterialName
|
|
|
|
|
//
|
|
|
|
|
this.MaterialName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialName.DataPropertyName = "MaterialName";
|
|
|
|
|
this.MaterialName.HeaderText = "物料名称";
|
|
|
|
|
this.MaterialName.Name = "MaterialName";
|
|
|
|
|
this.MaterialName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// MaterialType
|
|
|
|
|
//
|
|
|
|
|
this.MaterialType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialType.DataPropertyName = "MaterialType";
|
|
|
|
|
this.MaterialType.HeaderText = "物料类型";
|
|
|
|
|
this.MaterialType.Name = "MaterialType";
|
|
|
|
|
this.MaterialType.ReadOnly = true;
|
|
|
|
|
this.MaterialType.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// MaterialChildType
|
|
|
|
|
//
|
|
|
|
|
this.MaterialChildType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialChildType.DataPropertyName = "MaterialChildType";
|
|
|
|
|
this.MaterialChildType.HeaderText = "子类型";
|
|
|
|
|
this.MaterialChildType.Name = "MaterialChildType";
|
|
|
|
|
this.MaterialChildType.ReadOnly = true;
|
|
|
|
|
this.MaterialChildType.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// SetThickness
|
|
|
|
|
//
|
|
|
|
|
this.SetThickness.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetThickness.DataPropertyName = "SetThickness";
|
|
|
|
|
this.SetThickness.HeaderText = "厚度";
|
|
|
|
|
this.SetThickness.Name = "SetThickness";
|
|
|
|
|
//
|
|
|
|
|
// SetWidth
|
|
|
|
|
//
|
|
|
|
|
this.SetWidth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetWidth.DataPropertyName = "SetWidth";
|
|
|
|
|
this.SetWidth.HeaderText = "宽度";
|
|
|
|
|
this.SetWidth.Name = "SetWidth";
|
|
|
|
|
//
|
|
|
|
|
// SetLayer
|
|
|
|
|
//
|
|
|
|
|
this.SetLayer.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetLayer.DataPropertyName = "SetLayer";
|
|
|
|
|
this.SetLayer.HeaderText = "层数";
|
|
|
|
|
this.SetLayer.Name = "SetLayer";
|
|
|
|
|
//
|
|
|
|
|
// SetWeight
|
|
|
|
|
//
|
|
|
|
|
this.SetWeight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetWeight.DataPropertyName = "SetWeight";
|
|
|
|
|
this.SetWeight.HeaderText = "重量";
|
|
|
|
|
this.SetWeight.Name = "SetWeight";
|
|
|
|
|
//
|
|
|
|
|
// SetError
|
|
|
|
|
//
|
|
|
|
|
this.SetError.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetError.DataPropertyName = "SetError";
|
|
|
|
|
this.SetError.HeaderText = "公差";
|
|
|
|
|
this.SetError.Name = "SetError";
|
|
|
|
|
//
|
|
|
|
|
// WeightIsUse
|
|
|
|
|
//
|
|
|
|
|
this.WeightIsUse.DataPropertyName = "IsUse";
|
|
|
|
|
this.WeightIsUse.HeaderText = "启用";
|
|
|
|
|
this.WeightIsUse.Name = "WeightIsUse";
|
|
|
|
|
this.WeightIsUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.WeightIsUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
this.WeightIsUse.Width = 40;
|
|
|
|
|
//
|
|
|
|
|
// AddRecipeButton
|
|
|
|
|
//
|
|
|
|
|
this.AddRecipeButton.Location = new System.Drawing.Point(11, 9);
|
|
|
|
@ -181,6 +273,8 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
//
|
|
|
|
|
this.ButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.label26);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.label25);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.RefreshRecipeButton);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.UpdateRecipeButton);
|
|
|
|
|
this.ButtonPanel.Controls.Add(this.AddRecipeButton);
|
|
|
|
@ -191,9 +285,27 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.ButtonPanel.Size = new System.Drawing.Size(886, 58);
|
|
|
|
|
this.ButtonPanel.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// label26
|
|
|
|
|
//
|
|
|
|
|
this.label26.AutoSize = true;
|
|
|
|
|
this.label26.Location = new System.Drawing.Point(338, 9);
|
|
|
|
|
this.label26.Name = "label26";
|
|
|
|
|
this.label26.Size = new System.Drawing.Size(269, 12);
|
|
|
|
|
this.label26.TabIndex = 7;
|
|
|
|
|
this.label26.Text = "双击单元格更改数值再点击修改按钮完成数值更改";
|
|
|
|
|
//
|
|
|
|
|
// label25
|
|
|
|
|
//
|
|
|
|
|
this.label25.AutoSize = true;
|
|
|
|
|
this.label25.Location = new System.Drawing.Point(338, 36);
|
|
|
|
|
this.label25.Name = "label25";
|
|
|
|
|
this.label25.Size = new System.Drawing.Size(101, 12);
|
|
|
|
|
this.label25.TabIndex = 6;
|
|
|
|
|
this.label25.Text = "配方编号不可更改";
|
|
|
|
|
//
|
|
|
|
|
// RefreshRecipeButton
|
|
|
|
|
//
|
|
|
|
|
this.RefreshRecipeButton.Location = new System.Drawing.Point(229, 9);
|
|
|
|
|
this.RefreshRecipeButton.Location = new System.Drawing.Point(120, 9);
|
|
|
|
|
this.RefreshRecipeButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.RefreshRecipeButton.Name = "RefreshRecipeButton";
|
|
|
|
|
this.RefreshRecipeButton.Size = new System.Drawing.Size(103, 39);
|
|
|
|
@ -204,7 +316,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
//
|
|
|
|
|
// UpdateRecipeButton
|
|
|
|
|
//
|
|
|
|
|
this.UpdateRecipeButton.Location = new System.Drawing.Point(120, 9);
|
|
|
|
|
this.UpdateRecipeButton.Location = new System.Drawing.Point(229, 9);
|
|
|
|
|
this.UpdateRecipeButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.UpdateRecipeButton.Name = "UpdateRecipeButton";
|
|
|
|
|
this.UpdateRecipeButton.Size = new System.Drawing.Size(103, 39);
|
|
|
|
@ -255,6 +367,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.RecipeDataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
this.RecipeDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.RecipeDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.RId,
|
|
|
|
|
this.RecipeCode,
|
|
|
|
|
this.RecipeName,
|
|
|
|
|
this.RecipeSpecCode,
|
|
|
|
@ -274,12 +387,21 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.RecipeDataGridView.Tag = "";
|
|
|
|
|
this.RecipeDataGridView.SelectionChanged += new System.EventHandler(this.RecipeDataGridView_SelectionChanged);
|
|
|
|
|
//
|
|
|
|
|
// RId
|
|
|
|
|
//
|
|
|
|
|
this.RId.DataPropertyName = "Id";
|
|
|
|
|
this.RId.HeaderText = "ID";
|
|
|
|
|
this.RId.Name = "RId";
|
|
|
|
|
this.RId.ReadOnly = true;
|
|
|
|
|
this.RId.Width = 40;
|
|
|
|
|
//
|
|
|
|
|
// RecipeCode
|
|
|
|
|
//
|
|
|
|
|
this.RecipeCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeCode.DataPropertyName = "RecipeCode";
|
|
|
|
|
this.RecipeCode.HeaderText = "配方编号";
|
|
|
|
|
this.RecipeCode.Name = "RecipeCode";
|
|
|
|
|
this.RecipeCode.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// RecipeName
|
|
|
|
|
//
|
|
|
|
@ -369,7 +491,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 22.22222F));
|
|
|
|
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 22.22222F));
|
|
|
|
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55.55556F));
|
|
|
|
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 179F));
|
|
|
|
|
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 185F));
|
|
|
|
|
this.tableLayoutPanel3.Controls.Add(this.groupBox4, 0, 0);
|
|
|
|
|
this.tableLayoutPanel3.Controls.Add(this.groupBox5, 1, 0);
|
|
|
|
|
this.tableLayoutPanel3.Controls.Add(this.groupBox6, 2, 0);
|
|
|
|
@ -397,7 +519,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.groupBox4.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.groupBox4.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.groupBox4.Name = "groupBox4";
|
|
|
|
|
this.groupBox4.Size = new System.Drawing.Size(352, 170);
|
|
|
|
|
this.groupBox4.Size = new System.Drawing.Size(351, 170);
|
|
|
|
|
this.groupBox4.TabIndex = 0;
|
|
|
|
|
this.groupBox4.TabStop = false;
|
|
|
|
|
this.groupBox4.Text = "开炼机#1参数";
|
|
|
|
@ -477,10 +599,10 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.groupBox5.Controls.Add(this.label7);
|
|
|
|
|
this.groupBox5.Controls.Add(this.E2P2TextBox);
|
|
|
|
|
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.groupBox5.Location = new System.Drawing.Point(352, 0);
|
|
|
|
|
this.groupBox5.Location = new System.Drawing.Point(351, 0);
|
|
|
|
|
this.groupBox5.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.groupBox5.Name = "groupBox5";
|
|
|
|
|
this.groupBox5.Size = new System.Drawing.Size(352, 170);
|
|
|
|
|
this.groupBox5.Size = new System.Drawing.Size(351, 170);
|
|
|
|
|
this.groupBox5.TabIndex = 1;
|
|
|
|
|
this.groupBox5.TabStop = false;
|
|
|
|
|
this.groupBox5.Text = "开炼机#2参数";
|
|
|
|
@ -581,10 +703,10 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.groupBox6.Controls.Add(this.label10);
|
|
|
|
|
this.groupBox6.Controls.Add(this.E3P2TextBox);
|
|
|
|
|
this.groupBox6.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.groupBox6.Location = new System.Drawing.Point(704, 0);
|
|
|
|
|
this.groupBox6.Location = new System.Drawing.Point(702, 0);
|
|
|
|
|
this.groupBox6.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.groupBox6.Name = "groupBox6";
|
|
|
|
|
this.groupBox6.Size = new System.Drawing.Size(882, 170);
|
|
|
|
|
this.groupBox6.Size = new System.Drawing.Size(878, 170);
|
|
|
|
|
this.groupBox6.TabIndex = 2;
|
|
|
|
|
this.groupBox6.TabStop = false;
|
|
|
|
|
this.groupBox6.Text = "开炼机#3参数";
|
|
|
|
@ -833,10 +955,10 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.groupBox7.Controls.Add(this.CopyParaButton);
|
|
|
|
|
this.groupBox7.Controls.Add(this.SaveParaButton);
|
|
|
|
|
this.groupBox7.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.groupBox7.Location = new System.Drawing.Point(1586, 0);
|
|
|
|
|
this.groupBox7.Location = new System.Drawing.Point(1580, 0);
|
|
|
|
|
this.groupBox7.Margin = new System.Windows.Forms.Padding(0);
|
|
|
|
|
this.groupBox7.Name = "groupBox7";
|
|
|
|
|
this.groupBox7.Size = new System.Drawing.Size(181, 170);
|
|
|
|
|
this.groupBox7.Size = new System.Drawing.Size(187, 170);
|
|
|
|
|
this.groupBox7.TabIndex = 3;
|
|
|
|
|
this.groupBox7.TabStop = false;
|
|
|
|
|
this.groupBox7.Text = "参数操作";
|
|
|
|
@ -924,6 +1046,8 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
//
|
|
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.panel1.Controls.Add(this.label27);
|
|
|
|
|
this.panel1.Controls.Add(this.label24);
|
|
|
|
|
this.panel1.Controls.Add(this.RefreshWeightButton);
|
|
|
|
|
this.panel1.Controls.Add(this.UpdateWeightButton);
|
|
|
|
|
this.panel1.Controls.Add(this.AddWeightButton);
|
|
|
|
@ -934,9 +1058,18 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(887, 58);
|
|
|
|
|
this.panel1.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// label24
|
|
|
|
|
//
|
|
|
|
|
this.label24.AutoSize = true;
|
|
|
|
|
this.label24.Location = new System.Drawing.Point(338, 36);
|
|
|
|
|
this.label24.Name = "label24";
|
|
|
|
|
this.label24.Size = new System.Drawing.Size(125, 12);
|
|
|
|
|
this.label24.TabIndex = 5;
|
|
|
|
|
this.label24.Text = "称量物料信息不可更改";
|
|
|
|
|
//
|
|
|
|
|
// RefreshWeightButton
|
|
|
|
|
//
|
|
|
|
|
this.RefreshWeightButton.Location = new System.Drawing.Point(229, 9);
|
|
|
|
|
this.RefreshWeightButton.Location = new System.Drawing.Point(120, 9);
|
|
|
|
|
this.RefreshWeightButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.RefreshWeightButton.Name = "RefreshWeightButton";
|
|
|
|
|
this.RefreshWeightButton.Size = new System.Drawing.Size(103, 39);
|
|
|
|
@ -947,7 +1080,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
//
|
|
|
|
|
// UpdateWeightButton
|
|
|
|
|
//
|
|
|
|
|
this.UpdateWeightButton.Location = new System.Drawing.Point(120, 9);
|
|
|
|
|
this.UpdateWeightButton.Location = new System.Drawing.Point(229, 9);
|
|
|
|
|
this.UpdateWeightButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.UpdateWeightButton.Name = "UpdateWeightButton";
|
|
|
|
|
this.UpdateWeightButton.Size = new System.Drawing.Size(103, 39);
|
|
|
|
@ -979,91 +1112,14 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.DeleteWeightButton.UseVisualStyleBackColor = true;
|
|
|
|
|
this.DeleteWeightButton.Click += new System.EventHandler(this.DeleteWeightButton_Click);
|
|
|
|
|
//
|
|
|
|
|
// Id
|
|
|
|
|
//
|
|
|
|
|
this.Id.DataPropertyName = "Id";
|
|
|
|
|
this.Id.HeaderText = "编号";
|
|
|
|
|
this.Id.Name = "Id";
|
|
|
|
|
this.Id.ReadOnly = true;
|
|
|
|
|
this.Id.Width = 40;
|
|
|
|
|
//
|
|
|
|
|
// MaterialCode
|
|
|
|
|
//
|
|
|
|
|
this.MaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialCode.DataPropertyName = "MaterialCode";
|
|
|
|
|
this.MaterialCode.HeaderText = "物料编码";
|
|
|
|
|
this.MaterialCode.Name = "MaterialCode";
|
|
|
|
|
this.MaterialCode.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// MaterialName
|
|
|
|
|
//
|
|
|
|
|
this.MaterialName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialName.DataPropertyName = "MaterialName";
|
|
|
|
|
this.MaterialName.HeaderText = "物料名称";
|
|
|
|
|
this.MaterialName.Name = "MaterialName";
|
|
|
|
|
this.MaterialName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// MaterialType
|
|
|
|
|
//
|
|
|
|
|
this.MaterialType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialType.DataPropertyName = "MaterialType";
|
|
|
|
|
this.MaterialType.HeaderText = "物料类型";
|
|
|
|
|
this.MaterialType.Name = "MaterialType";
|
|
|
|
|
this.MaterialType.ReadOnly = true;
|
|
|
|
|
this.MaterialType.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// MaterialChildType
|
|
|
|
|
//
|
|
|
|
|
this.MaterialChildType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.MaterialChildType.DataPropertyName = "MaterialChildType";
|
|
|
|
|
this.MaterialChildType.HeaderText = "子类型";
|
|
|
|
|
this.MaterialChildType.Name = "MaterialChildType";
|
|
|
|
|
this.MaterialChildType.ReadOnly = true;
|
|
|
|
|
this.MaterialChildType.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
//
|
|
|
|
|
// SetThickness
|
|
|
|
|
//
|
|
|
|
|
this.SetThickness.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetThickness.DataPropertyName = "SetThickness";
|
|
|
|
|
this.SetThickness.HeaderText = "厚度";
|
|
|
|
|
this.SetThickness.Name = "SetThickness";
|
|
|
|
|
//
|
|
|
|
|
// SetWidth
|
|
|
|
|
//
|
|
|
|
|
this.SetWidth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetWidth.DataPropertyName = "SetWidth";
|
|
|
|
|
this.SetWidth.HeaderText = "宽度";
|
|
|
|
|
this.SetWidth.Name = "SetWidth";
|
|
|
|
|
//
|
|
|
|
|
// SetLayer
|
|
|
|
|
//
|
|
|
|
|
this.SetLayer.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetLayer.DataPropertyName = "SetLayer";
|
|
|
|
|
this.SetLayer.HeaderText = "层数";
|
|
|
|
|
this.SetLayer.Name = "SetLayer";
|
|
|
|
|
//
|
|
|
|
|
// SetWeight
|
|
|
|
|
//
|
|
|
|
|
this.SetWeight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetWeight.DataPropertyName = "SetWeight";
|
|
|
|
|
this.SetWeight.HeaderText = "重量";
|
|
|
|
|
this.SetWeight.Name = "SetWeight";
|
|
|
|
|
//
|
|
|
|
|
// SetError
|
|
|
|
|
//
|
|
|
|
|
this.SetError.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SetError.DataPropertyName = "SetError";
|
|
|
|
|
this.SetError.HeaderText = "公差";
|
|
|
|
|
this.SetError.Name = "SetError";
|
|
|
|
|
//
|
|
|
|
|
// WeightIsUse
|
|
|
|
|
// label27
|
|
|
|
|
//
|
|
|
|
|
this.WeightIsUse.DataPropertyName = "IsUse";
|
|
|
|
|
this.WeightIsUse.HeaderText = "启用";
|
|
|
|
|
this.WeightIsUse.Name = "WeightIsUse";
|
|
|
|
|
this.WeightIsUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.WeightIsUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
this.WeightIsUse.Width = 40;
|
|
|
|
|
this.label27.AutoSize = true;
|
|
|
|
|
this.label27.Location = new System.Drawing.Point(338, 9);
|
|
|
|
|
this.label27.Name = "label27";
|
|
|
|
|
this.label27.Size = new System.Drawing.Size(269, 12);
|
|
|
|
|
this.label27.TabIndex = 8;
|
|
|
|
|
this.label27.Text = "双击单元格更改数值再点击修改按钮完成数值更改";
|
|
|
|
|
//
|
|
|
|
|
// RecipeConfigPage
|
|
|
|
|
//
|
|
|
|
@ -1078,6 +1134,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.Size = new System.Drawing.Size(1773, 1036);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.WeightDataGridView)).EndInit();
|
|
|
|
|
this.ButtonPanel.ResumeLayout(false);
|
|
|
|
|
this.ButtonPanel.PerformLayout();
|
|
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
|
|
this.groupBox2.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RecipeDataGridView)).EndInit();
|
|
|
|
@ -1094,6 +1151,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.groupBox7.PerformLayout();
|
|
|
|
|
this.tableLayoutPanel2.ResumeLayout(false);
|
|
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
|
|
this.panel1.PerformLayout();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -1173,14 +1231,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private Label NowCopyLabel;
|
|
|
|
|
private Label label23;
|
|
|
|
|
private Button ClearCutBoradButton;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeCode;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeName;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeSpecCode;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeSpecName;
|
|
|
|
|
private DataGridViewTextBoxColumn SizeKind;
|
|
|
|
|
private DataGridViewTextBoxColumn FixedWidth;
|
|
|
|
|
private DataGridViewTextBoxColumn WeightError;
|
|
|
|
|
private DataGridViewCheckBoxColumn IsUse;
|
|
|
|
|
private DataGridViewTextBoxColumn Id;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialCode;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialName;
|
|
|
|
@ -1192,5 +1242,18 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private DataGridViewTextBoxColumn SetWeight;
|
|
|
|
|
private DataGridViewTextBoxColumn SetError;
|
|
|
|
|
private DataGridViewCheckBoxColumn WeightIsUse;
|
|
|
|
|
private DataGridViewTextBoxColumn RId;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeCode;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeName;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeSpecCode;
|
|
|
|
|
private DataGridViewTextBoxColumn RecipeSpecName;
|
|
|
|
|
private DataGridViewTextBoxColumn SizeKind;
|
|
|
|
|
private DataGridViewTextBoxColumn FixedWidth;
|
|
|
|
|
private DataGridViewTextBoxColumn WeightError;
|
|
|
|
|
private DataGridViewCheckBoxColumn IsUse;
|
|
|
|
|
private Label label24;
|
|
|
|
|
private Label label25;
|
|
|
|
|
private Label label26;
|
|
|
|
|
private Label label27;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|