You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
424 lines
19 KiB
C#
424 lines
19 KiB
C#
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
|
|
{
|
|
partial class FrmMixFormula
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private 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()
|
|
{
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.txtName = new System.Windows.Forms.TextBox();
|
|
this.txtDifference = new System.Windows.Forms.TextBox();
|
|
this.TxtSendTime = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.DrpDeviceUnit = new System.Windows.Forms.ComboBox();
|
|
this.DrpAction = new System.Windows.Forms.ComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtTemperature = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.txtSpeed = new System.Windows.Forms.TextBox();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.txtWeight = new System.Windows.Forms.TextBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.No = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.MaterialName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.DeviceName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Temperature = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Speed = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Weight = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Difference = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Location = new System.Drawing.Point(610, 12);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(114, 44);
|
|
this.button2.TabIndex = 35;
|
|
this.button2.Text = "删除动作";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(610, 84);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(114, 44);
|
|
this.button1.TabIndex = 36;
|
|
this.button1.Text = "添加动作";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// txtName
|
|
//
|
|
this.txtName.Location = new System.Drawing.Point(84, 14);
|
|
this.txtName.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.txtName.MaxLength = 100;
|
|
this.txtName.Name = "txtName";
|
|
this.txtName.Size = new System.Drawing.Size(206, 21);
|
|
this.txtName.TabIndex = 32;
|
|
//
|
|
// txtDifference
|
|
//
|
|
this.txtDifference.Location = new System.Drawing.Point(365, 107);
|
|
this.txtDifference.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.txtDifference.MaxLength = 100;
|
|
this.txtDifference.Name = "txtDifference";
|
|
this.txtDifference.Size = new System.Drawing.Size(206, 21);
|
|
this.txtDifference.TabIndex = 33;
|
|
//
|
|
// TxtSendTime
|
|
//
|
|
this.TxtSendTime.Location = new System.Drawing.Point(84, 107);
|
|
this.TxtSendTime.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.TxtSendTime.MaxLength = 100;
|
|
this.TxtSendTime.Name = "TxtSendTime";
|
|
this.TxtSendTime.Size = new System.Drawing.Size(206, 21);
|
|
this.TxtSendTime.TabIndex = 34;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(17, 17);
|
|
this.label6.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(59, 12);
|
|
this.label6.TabIndex = 31;
|
|
this.label6.Text = "配方名称:";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(308, 110);
|
|
this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(35, 12);
|
|
this.label5.TabIndex = 30;
|
|
this.label5.Text = "公差:";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(41, 110);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(35, 12);
|
|
this.label4.TabIndex = 29;
|
|
this.label4.Text = "时间:";
|
|
//
|
|
// DrpDeviceUnit
|
|
//
|
|
this.DrpDeviceUnit.FormattingEnabled = true;
|
|
this.DrpDeviceUnit.Location = new System.Drawing.Point(84, 46);
|
|
this.DrpDeviceUnit.Name = "DrpDeviceUnit";
|
|
this.DrpDeviceUnit.Size = new System.Drawing.Size(206, 20);
|
|
this.DrpDeviceUnit.TabIndex = 26;
|
|
this.DrpDeviceUnit.SelectedIndexChanged += new System.EventHandler(this.DrpDeviceUnit_SelectedIndexChanged);
|
|
//
|
|
// DrpAction
|
|
//
|
|
this.DrpAction.FormattingEnabled = true;
|
|
this.DrpAction.Location = new System.Drawing.Point(84, 76);
|
|
this.DrpAction.Name = "DrpAction";
|
|
this.DrpAction.Size = new System.Drawing.Size(206, 20);
|
|
this.DrpAction.TabIndex = 28;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(17, 49);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(59, 12);
|
|
this.label3.TabIndex = 24;
|
|
this.label3.Text = "配方类型:";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(41, 79);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(35, 12);
|
|
this.label1.TabIndex = 25;
|
|
this.label1.Text = "动作:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(308, 17);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(35, 12);
|
|
this.label2.TabIndex = 29;
|
|
this.label2.Text = "温度:";
|
|
//
|
|
// txtTemperature
|
|
//
|
|
this.txtTemperature.Location = new System.Drawing.Point(365, 14);
|
|
this.txtTemperature.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.txtTemperature.MaxLength = 100;
|
|
this.txtTemperature.Name = "txtTemperature";
|
|
this.txtTemperature.Size = new System.Drawing.Size(206, 21);
|
|
this.txtTemperature.TabIndex = 34;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(308, 48);
|
|
this.label7.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(35, 12);
|
|
this.label7.TabIndex = 29;
|
|
this.label7.Text = "速度:";
|
|
//
|
|
// txtSpeed
|
|
//
|
|
this.txtSpeed.Location = new System.Drawing.Point(365, 45);
|
|
this.txtSpeed.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.txtSpeed.MaxLength = 100;
|
|
this.txtSpeed.Name = "txtSpeed";
|
|
this.txtSpeed.Size = new System.Drawing.Size(206, 21);
|
|
this.txtSpeed.TabIndex = 34;
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(308, 79);
|
|
this.label8.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(35, 12);
|
|
this.label8.TabIndex = 29;
|
|
this.label8.Text = "重量:";
|
|
//
|
|
// txtWeight
|
|
//
|
|
this.txtWeight.Location = new System.Drawing.Point(365, 76);
|
|
this.txtWeight.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.txtWeight.MaxLength = 100;
|
|
this.txtWeight.Name = "txtWeight";
|
|
this.txtWeight.Size = new System.Drawing.Size(206, 21);
|
|
this.txtWeight.TabIndex = 34;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.dataGridView1);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 136);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(790, 289);
|
|
this.groupBox1.TabIndex = 37;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "称量配方";
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
|
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.No,
|
|
this.MaterialName,
|
|
this.DeviceName,
|
|
this.Temperature,
|
|
this.Speed,
|
|
this.Weight,
|
|
this.Difference});
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dataGridView1.Location = new System.Drawing.Point(3, 17);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.ReadOnly = true;
|
|
this.dataGridView1.RowHeadersWidth = 62;
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
this.dataGridView1.Size = new System.Drawing.Size(784, 269);
|
|
this.dataGridView1.TabIndex = 0;
|
|
//
|
|
// No
|
|
//
|
|
this.No.DataPropertyName = "No";
|
|
this.No.HeaderText = "序号";
|
|
this.No.MaxInputLength = 10;
|
|
this.No.MinimumWidth = 8;
|
|
this.No.Name = "No";
|
|
this.No.ReadOnly = true;
|
|
//
|
|
// MaterialName
|
|
//
|
|
this.MaterialName.DataPropertyName = "ActionName";
|
|
this.MaterialName.HeaderText = "动作";
|
|
this.MaterialName.MinimumWidth = 8;
|
|
this.MaterialName.Name = "MaterialName";
|
|
this.MaterialName.ReadOnly = true;
|
|
//
|
|
// DeviceName
|
|
//
|
|
this.DeviceName.DataPropertyName = "SecondTime";
|
|
this.DeviceName.HeaderText = "时间";
|
|
this.DeviceName.MinimumWidth = 8;
|
|
this.DeviceName.Name = "DeviceName";
|
|
this.DeviceName.ReadOnly = true;
|
|
//
|
|
// Temperature
|
|
//
|
|
this.Temperature.DataPropertyName = "Temperature";
|
|
this.Temperature.HeaderText = "温度";
|
|
this.Temperature.MinimumWidth = 8;
|
|
this.Temperature.Name = "Temperature";
|
|
this.Temperature.ReadOnly = true;
|
|
//
|
|
// Speed
|
|
//
|
|
this.Speed.DataPropertyName = "Speed";
|
|
this.Speed.HeaderText = "速度";
|
|
this.Speed.MinimumWidth = 8;
|
|
this.Speed.Name = "Speed";
|
|
this.Speed.ReadOnly = true;
|
|
//
|
|
// Weight
|
|
//
|
|
this.Weight.DataPropertyName = "Weight";
|
|
this.Weight.HeaderText = "重量";
|
|
this.Weight.MinimumWidth = 8;
|
|
this.Weight.Name = "Weight";
|
|
this.Weight.ReadOnly = true;
|
|
//
|
|
// Difference
|
|
//
|
|
this.Difference.DataPropertyName = "Difference";
|
|
this.Difference.HeaderText = "公差";
|
|
this.Difference.MinimumWidth = 8;
|
|
this.Difference.Name = "Difference";
|
|
this.Difference.ReadOnly = true;
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(349, 756);
|
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(98, 45);
|
|
this.btnCancel.TabIndex = 50;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// btnOK
|
|
//
|
|
this.btnOK.Location = new System.Drawing.Point(177, 756);
|
|
this.btnOK.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Size = new System.Drawing.Size(98, 45);
|
|
this.btnOK.TabIndex = 49;
|
|
this.btnOK.Text = "确认";
|
|
this.btnOK.UseVisualStyleBackColor = true;
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
//
|
|
// FrmMixFormula
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(815, 438);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOK);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.txtName);
|
|
this.Controls.Add(this.txtDifference);
|
|
this.Controls.Add(this.txtWeight);
|
|
this.Controls.Add(this.txtSpeed);
|
|
this.Controls.Add(this.txtTemperature);
|
|
this.Controls.Add(this.label8);
|
|
this.Controls.Add(this.TxtSendTime);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.DrpDeviceUnit);
|
|
this.Controls.Add(this.DrpAction);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label1);
|
|
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.Name = "FrmMixFormula";
|
|
this.Text = "混合配方";
|
|
this.groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Button btnOK;
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Temperature;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Speed;
|
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn No;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn MaterialName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn DeviceName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Weight;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Difference;
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtTemperature;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox txtSpeed;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.TextBox txtWeight;
|
|
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.TextBox txtName;
|
|
private System.Windows.Forms.TextBox txtDifference;
|
|
private System.Windows.Forms.TextBox TxtSendTime;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.ComboBox DrpDeviceUnit;
|
|
private System.Windows.Forms.ComboBox DrpAction;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
#endregion
|
|
}
|
|
} |