|
|
|
|
@ -32,36 +32,16 @@ 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.SyncDataButton = new System.Windows.Forms.Button();
|
|
|
|
|
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();
|
|
|
|
|
this.RecipeSpecName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SizeKind = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.FixedWidth = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.WeightError = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.IsUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
@ -108,6 +88,7 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.Position2RadioButton = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.Position1RadioButton = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.groupbox5 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.S2Check = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.label16 = new System.Windows.Forms.Label();
|
|
|
|
|
this.PlcSpecNameLabel = new System.Windows.Forms.Label();
|
|
|
|
|
this.label34 = new System.Windows.Forms.Label();
|
|
|
|
|
@ -143,12 +124,29 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.label27 = new System.Windows.Forms.Label();
|
|
|
|
|
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.S2Check = new System.Windows.Forms.CheckBox();
|
|
|
|
|
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.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.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();
|
|
|
|
|
this.RecipeSpecName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.SizeKind = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.FixedWidth = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.WeightError = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.IsUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.WeightDataGridView)).BeginInit();
|
|
|
|
|
this.ButtonPanel.SuspendLayout();
|
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
|
@ -175,7 +173,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.MaterialCode,
|
|
|
|
|
this.MaterialName,
|
|
|
|
|
this.MaterialType,
|
|
|
|
|
this.MaterialChildType,
|
|
|
|
|
this.SetThickness,
|
|
|
|
|
this.SetWidth,
|
|
|
|
|
this.SetLayer,
|
|
|
|
|
@ -192,93 +189,6 @@ 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);
|
|
|
|
|
@ -294,8 +204,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.SyncDataButton);
|
|
|
|
|
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);
|
|
|
|
|
@ -306,6 +216,18 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.ButtonPanel.Size = new System.Drawing.Size(861, 58);
|
|
|
|
|
this.ButtonPanel.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// SyncDataButton
|
|
|
|
|
//
|
|
|
|
|
this.SyncDataButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.SyncDataButton.Location = new System.Drawing.Point(637, 9);
|
|
|
|
|
this.SyncDataButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.SyncDataButton.Name = "SyncDataButton";
|
|
|
|
|
this.SyncDataButton.Size = new System.Drawing.Size(103, 39);
|
|
|
|
|
this.SyncDataButton.TabIndex = 8;
|
|
|
|
|
this.SyncDataButton.Text = "同步数据";
|
|
|
|
|
this.SyncDataButton.UseVisualStyleBackColor = true;
|
|
|
|
|
this.SyncDataButton.Click += new System.EventHandler(this.SyncDataButton_Click);
|
|
|
|
|
//
|
|
|
|
|
// label26
|
|
|
|
|
//
|
|
|
|
|
this.label26.AutoSize = true;
|
|
|
|
|
@ -315,15 +237,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
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(120, 9);
|
|
|
|
|
@ -408,73 +321,6 @@ 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
|
|
|
|
|
//
|
|
|
|
|
this.RecipeName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeName.DataPropertyName = "RecipeName";
|
|
|
|
|
this.RecipeName.HeaderText = "配方名称";
|
|
|
|
|
this.RecipeName.Name = "RecipeName";
|
|
|
|
|
//
|
|
|
|
|
// RecipeSpecCode
|
|
|
|
|
//
|
|
|
|
|
this.RecipeSpecCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeSpecCode.DataPropertyName = "RecipeSpecCode";
|
|
|
|
|
this.RecipeSpecCode.HeaderText = "SPEC编号";
|
|
|
|
|
this.RecipeSpecCode.Name = "RecipeSpecCode";
|
|
|
|
|
//
|
|
|
|
|
// RecipeSpecName
|
|
|
|
|
//
|
|
|
|
|
this.RecipeSpecName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeSpecName.DataPropertyName = "RecipeSpecName";
|
|
|
|
|
this.RecipeSpecName.HeaderText = "SPEC名称";
|
|
|
|
|
this.RecipeSpecName.Name = "RecipeSpecName";
|
|
|
|
|
//
|
|
|
|
|
// SizeKind
|
|
|
|
|
//
|
|
|
|
|
this.SizeKind.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SizeKind.DataPropertyName = "SizeKind";
|
|
|
|
|
this.SizeKind.HeaderText = "寸别";
|
|
|
|
|
this.SizeKind.Name = "SizeKind";
|
|
|
|
|
//
|
|
|
|
|
// FixedWidth
|
|
|
|
|
//
|
|
|
|
|
this.FixedWidth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.FixedWidth.DataPropertyName = "FixedWidth";
|
|
|
|
|
this.FixedWidth.HeaderText = "固定胶宽度";
|
|
|
|
|
this.FixedWidth.Name = "FixedWidth";
|
|
|
|
|
//
|
|
|
|
|
// WeightError
|
|
|
|
|
//
|
|
|
|
|
this.WeightError.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.WeightError.DataPropertyName = "WeightError";
|
|
|
|
|
this.WeightError.HeaderText = "重量公差";
|
|
|
|
|
this.WeightError.Name = "WeightError";
|
|
|
|
|
//
|
|
|
|
|
// IsUse
|
|
|
|
|
//
|
|
|
|
|
this.IsUse.DataPropertyName = "IsUse";
|
|
|
|
|
this.IsUse.HeaderText = "启用";
|
|
|
|
|
this.IsUse.Name = "IsUse";
|
|
|
|
|
this.IsUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.IsUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
this.IsUse.Width = 40;
|
|
|
|
|
//
|
|
|
|
|
// tableLayoutPanel1
|
|
|
|
|
//
|
|
|
|
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
@ -1009,6 +855,16 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.groupbox5.TabStop = false;
|
|
|
|
|
this.groupbox5.Text = "公共参数";
|
|
|
|
|
//
|
|
|
|
|
// S2Check
|
|
|
|
|
//
|
|
|
|
|
this.S2Check.AutoSize = true;
|
|
|
|
|
this.S2Check.Location = new System.Drawing.Point(95, 56);
|
|
|
|
|
this.S2Check.Margin = new System.Windows.Forms.Padding(6);
|
|
|
|
|
this.S2Check.Name = "S2Check";
|
|
|
|
|
this.S2Check.Size = new System.Drawing.Size(15, 14);
|
|
|
|
|
this.S2Check.TabIndex = 70;
|
|
|
|
|
this.S2Check.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// label16
|
|
|
|
|
//
|
|
|
|
|
this.label16.AutoSize = true;
|
|
|
|
|
@ -1331,7 +1187,6 @@ 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);
|
|
|
|
|
@ -1351,15 +1206,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.label27.TabIndex = 8;
|
|
|
|
|
this.label27.Text = "双击单元格更改数值再点击修改按钮完成数值更改";
|
|
|
|
|
//
|
|
|
|
|
// 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(120, 9);
|
|
|
|
|
@ -1405,15 +1251,150 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
this.DeleteWeightButton.UseVisualStyleBackColor = true;
|
|
|
|
|
this.DeleteWeightButton.Click += new System.EventHandler(this.DeleteWeightButton_Click);
|
|
|
|
|
//
|
|
|
|
|
// S2Check
|
|
|
|
|
// Id
|
|
|
|
|
//
|
|
|
|
|
this.S2Check.AutoSize = true;
|
|
|
|
|
this.S2Check.Location = new System.Drawing.Point(95, 56);
|
|
|
|
|
this.S2Check.Margin = new System.Windows.Forms.Padding(6);
|
|
|
|
|
this.S2Check.Name = "S2Check";
|
|
|
|
|
this.S2Check.Size = new System.Drawing.Size(15, 14);
|
|
|
|
|
this.S2Check.TabIndex = 70;
|
|
|
|
|
this.S2Check.UseVisualStyleBackColor = true;
|
|
|
|
|
this.Id.DataPropertyName = "Id";
|
|
|
|
|
this.Id.HeaderText = "ID";
|
|
|
|
|
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;
|
|
|
|
|
//
|
|
|
|
|
// 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;
|
|
|
|
|
//
|
|
|
|
|
// 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
|
|
|
|
|
//
|
|
|
|
|
this.RecipeName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeName.DataPropertyName = "RecipeName";
|
|
|
|
|
this.RecipeName.HeaderText = "标称尺度";
|
|
|
|
|
this.RecipeName.Name = "RecipeName";
|
|
|
|
|
//
|
|
|
|
|
// RecipeSpecCode
|
|
|
|
|
//
|
|
|
|
|
this.RecipeSpecCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeSpecCode.DataPropertyName = "RecipeSpecCode";
|
|
|
|
|
this.RecipeSpecCode.HeaderText = "SPEC编号";
|
|
|
|
|
this.RecipeSpecCode.Name = "RecipeSpecCode";
|
|
|
|
|
//
|
|
|
|
|
// RecipeSpecName
|
|
|
|
|
//
|
|
|
|
|
this.RecipeSpecName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.RecipeSpecName.DataPropertyName = "RecipeSpecName";
|
|
|
|
|
this.RecipeSpecName.HeaderText = "SPEC名称";
|
|
|
|
|
this.RecipeSpecName.Name = "RecipeSpecName";
|
|
|
|
|
//
|
|
|
|
|
// SizeKind
|
|
|
|
|
//
|
|
|
|
|
this.SizeKind.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.SizeKind.DataPropertyName = "SizeKind";
|
|
|
|
|
this.SizeKind.HeaderText = "寸别";
|
|
|
|
|
this.SizeKind.Name = "SizeKind";
|
|
|
|
|
//
|
|
|
|
|
// FixedWidth
|
|
|
|
|
//
|
|
|
|
|
this.FixedWidth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.FixedWidth.DataPropertyName = "FixedWidth";
|
|
|
|
|
this.FixedWidth.HeaderText = "固定胶宽度";
|
|
|
|
|
this.FixedWidth.Name = "FixedWidth";
|
|
|
|
|
//
|
|
|
|
|
// WeightError
|
|
|
|
|
//
|
|
|
|
|
this.WeightError.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.WeightError.DataPropertyName = "WeightError";
|
|
|
|
|
this.WeightError.HeaderText = "重量公差";
|
|
|
|
|
this.WeightError.Name = "WeightError";
|
|
|
|
|
//
|
|
|
|
|
// IsUse
|
|
|
|
|
//
|
|
|
|
|
this.IsUse.DataPropertyName = "IsUse";
|
|
|
|
|
this.IsUse.HeaderText = "启用";
|
|
|
|
|
this.IsUse.Name = "IsUse";
|
|
|
|
|
this.IsUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.IsUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
this.IsUse.Width = 40;
|
|
|
|
|
//
|
|
|
|
|
// RecipeConfigPage
|
|
|
|
|
//
|
|
|
|
|
@ -1476,30 +1457,6 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private Button SaveParaButton;
|
|
|
|
|
private Label NowCopyLabel;
|
|
|
|
|
private Label label23;
|
|
|
|
|
private DataGridViewTextBoxColumn Id;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialCode;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialName;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialType;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialChildType;
|
|
|
|
|
private DataGridViewTextBoxColumn SetThickness;
|
|
|
|
|
private DataGridViewTextBoxColumn SetWidth;
|
|
|
|
|
private DataGridViewTextBoxColumn SetLayer;
|
|
|
|
|
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;
|
|
|
|
|
private GroupBox groupBox4;
|
|
|
|
|
private RadioButton Position3RadioButton;
|
|
|
|
|
private RadioButton Position2RadioButton;
|
|
|
|
|
@ -1570,5 +1527,27 @@ namespace HighWayIot.Winform.UserControlPages
|
|
|
|
|
private Label label32;
|
|
|
|
|
private Label label16;
|
|
|
|
|
private CheckBox S2Check;
|
|
|
|
|
private Button SyncDataButton;
|
|
|
|
|
private Label label26;
|
|
|
|
|
private Label label27;
|
|
|
|
|
private DataGridViewTextBoxColumn Id;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialCode;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialName;
|
|
|
|
|
private DataGridViewTextBoxColumn MaterialType;
|
|
|
|
|
private DataGridViewTextBoxColumn SetThickness;
|
|
|
|
|
private DataGridViewTextBoxColumn SetWidth;
|
|
|
|
|
private DataGridViewTextBoxColumn SetLayer;
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|