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.
328 lines
15 KiB
C#
328 lines
15 KiB
C#
namespace NDSD_Screwdriver
|
|
{
|
|
partial class FrmSetting
|
|
{
|
|
/// <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()
|
|
{
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.RfidNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Green = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Yellow = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Red = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.ServerPortTextbox = new System.Windows.Forms.TextBox();
|
|
this.ServerIPTextbox = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.Groupbox3 = new System.Windows.Forms.GroupBox();
|
|
this.SetAlarmTimeValueButton = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.AlarmTimeValueTextBox = new System.Windows.Forms.TextBox();
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtCom = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.Groupbox3.SuspendLayout();
|
|
this.groupBox4.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.RfidNo,
|
|
this.Green,
|
|
this.Yellow,
|
|
this.Red});
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dataGridView1.Location = new System.Drawing.Point(2, 16);
|
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.RowHeadersWidth = 62;
|
|
this.dataGridView1.RowTemplate.Height = 30;
|
|
this.dataGridView1.Size = new System.Drawing.Size(462, 525);
|
|
this.dataGridView1.TabIndex = 0;
|
|
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
|
//
|
|
// RfidNo
|
|
//
|
|
this.RfidNo.DataPropertyName = "RfidNo";
|
|
this.RfidNo.HeaderText = "Rfid";
|
|
this.RfidNo.MaxInputLength = 20;
|
|
this.RfidNo.MinimumWidth = 20;
|
|
this.RfidNo.Name = "RfidNo";
|
|
this.RfidNo.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.RfidNo.Width = 150;
|
|
//
|
|
// Green
|
|
//
|
|
this.Green.DataPropertyName = "Green";
|
|
this.Green.HeaderText = "绿灯";
|
|
this.Green.MaxInputLength = 2;
|
|
this.Green.MinimumWidth = 8;
|
|
this.Green.Name = "Green";
|
|
this.Green.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.Green.Width = 80;
|
|
//
|
|
// Yellow
|
|
//
|
|
this.Yellow.DataPropertyName = "Yellow";
|
|
this.Yellow.HeaderText = "黄灯";
|
|
this.Yellow.MaxInputLength = 2;
|
|
this.Yellow.MinimumWidth = 8;
|
|
this.Yellow.Name = "Yellow";
|
|
this.Yellow.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.Yellow.Width = 80;
|
|
//
|
|
// Red
|
|
//
|
|
this.Red.DataPropertyName = "Red";
|
|
this.Red.HeaderText = "红灯";
|
|
this.Red.MaxInputLength = 5;
|
|
this.Red.MinimumWidth = 8;
|
|
this.Red.Name = "Red";
|
|
this.Red.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.Red.Width = 80;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.dataGridView1);
|
|
this.groupBox1.Location = new System.Drawing.Point(18, 22);
|
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.groupBox1.Size = new System.Drawing.Size(466, 543);
|
|
this.groupBox1.TabIndex = 1;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "报警灯设置";
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Location = new System.Drawing.Point(20, 578);
|
|
this.btnSave.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(122, 60);
|
|
this.btnSave.TabIndex = 2;
|
|
this.btnSave.Text = "保存报警灯";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.label2);
|
|
this.groupBox2.Controls.Add(this.label1);
|
|
this.groupBox2.Controls.Add(this.ServerPortTextbox);
|
|
this.groupBox2.Controls.Add(this.ServerIPTextbox);
|
|
this.groupBox2.Location = new System.Drawing.Point(488, 22);
|
|
this.groupBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.groupBox2.Size = new System.Drawing.Size(365, 52);
|
|
this.groupBox2.TabIndex = 3;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "服务端IP设置";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(167, 23);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(65, 12);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "ServerPort";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(4, 23);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(53, 12);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "ServerIP";
|
|
//
|
|
// ServerPortTextbox
|
|
//
|
|
this.ServerPortTextbox.Location = new System.Drawing.Point(237, 19);
|
|
this.ServerPortTextbox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.ServerPortTextbox.Name = "ServerPortTextbox";
|
|
this.ServerPortTextbox.Size = new System.Drawing.Size(48, 21);
|
|
this.ServerPortTextbox.TabIndex = 1;
|
|
this.ServerPortTextbox.Text = "6001";
|
|
//
|
|
// ServerIPTextbox
|
|
//
|
|
this.ServerIPTextbox.Location = new System.Drawing.Point(62, 19);
|
|
this.ServerIPTextbox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.ServerIPTextbox.Name = "ServerIPTextbox";
|
|
this.ServerIPTextbox.Size = new System.Drawing.Size(102, 21);
|
|
this.ServerIPTextbox.TabIndex = 0;
|
|
this.ServerIPTextbox.Text = "192.168.0.101";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(127, 7);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(335, 12);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "配置报警灯时,请按照:绿->黄->红 的顺序从大到小填写DO口";
|
|
//
|
|
// Groupbox3
|
|
//
|
|
this.Groupbox3.Controls.Add(this.label4);
|
|
this.Groupbox3.Controls.Add(this.AlarmTimeValueTextBox);
|
|
this.Groupbox3.Location = new System.Drawing.Point(488, 78);
|
|
this.Groupbox3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.Groupbox3.Name = "Groupbox3";
|
|
this.Groupbox3.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.Groupbox3.Size = new System.Drawing.Size(365, 69);
|
|
this.Groupbox3.TabIndex = 5;
|
|
this.Groupbox3.TabStop = false;
|
|
this.Groupbox3.Text = "超时报警时间设置";
|
|
//
|
|
// SetAlarmTimeValueButton
|
|
//
|
|
this.SetAlarmTimeValueButton.Location = new System.Drawing.Point(488, 267);
|
|
this.SetAlarmTimeValueButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.SetAlarmTimeValueButton.Name = "SetAlarmTimeValueButton";
|
|
this.SetAlarmTimeValueButton.Size = new System.Drawing.Size(71, 40);
|
|
this.SetAlarmTimeValueButton.TabIndex = 2;
|
|
this.SetAlarmTimeValueButton.Text = "设置";
|
|
this.SetAlarmTimeValueButton.UseVisualStyleBackColor = true;
|
|
this.SetAlarmTimeValueButton.Click += new System.EventHandler(this.SetAlarmTimeValueButton_Click);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(11, 34);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(77, 12);
|
|
this.label4.TabIndex = 1;
|
|
this.label4.Text = "报警时间阈值";
|
|
//
|
|
// AlarmTimeValueTextBox
|
|
//
|
|
this.AlarmTimeValueTextBox.Location = new System.Drawing.Point(90, 30);
|
|
this.AlarmTimeValueTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.AlarmTimeValueTextBox.Name = "AlarmTimeValueTextBox";
|
|
this.AlarmTimeValueTextBox.Size = new System.Drawing.Size(76, 21);
|
|
this.AlarmTimeValueTextBox.TabIndex = 0;
|
|
this.AlarmTimeValueTextBox.Text = "10";
|
|
//
|
|
// groupBox4
|
|
//
|
|
this.groupBox4.Controls.Add(this.label5);
|
|
this.groupBox4.Controls.Add(this.txtCom);
|
|
this.groupBox4.Location = new System.Drawing.Point(488, 168);
|
|
this.groupBox4.Margin = new System.Windows.Forms.Padding(2);
|
|
this.groupBox4.Name = "groupBox4";
|
|
this.groupBox4.Padding = new System.Windows.Forms.Padding(2);
|
|
this.groupBox4.Size = new System.Drawing.Size(365, 69);
|
|
this.groupBox4.TabIndex = 6;
|
|
this.groupBox4.TabStop = false;
|
|
this.groupBox4.Text = "RFid串口名称";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(11, 34);
|
|
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(53, 12);
|
|
this.label5.TabIndex = 1;
|
|
this.label5.Text = "串口名称";
|
|
//
|
|
// txtCom
|
|
//
|
|
this.txtCom.Location = new System.Drawing.Point(90, 30);
|
|
this.txtCom.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtCom.Name = "txtCom";
|
|
this.txtCom.Size = new System.Drawing.Size(76, 21);
|
|
this.txtCom.TabIndex = 0;
|
|
this.txtCom.Text = "COM13";
|
|
//
|
|
// FrmSetting
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1160, 1092);
|
|
this.Controls.Add(this.groupBox4);
|
|
this.Controls.Add(this.SetAlarmTimeValueButton);
|
|
this.Controls.Add(this.Groupbox3);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
this.Name = "FrmSetting";
|
|
this.Text = "参数设置";
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.Groupbox3.ResumeLayout(false);
|
|
this.Groupbox3.PerformLayout();
|
|
this.groupBox4.ResumeLayout(false);
|
|
this.groupBox4.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox ServerPortTextbox;
|
|
private System.Windows.Forms.TextBox ServerIPTextbox;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RfidNo;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Green;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Yellow;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Red;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.GroupBox Groupbox3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox AlarmTimeValueTextBox;
|
|
private System.Windows.Forms.Button SetAlarmTimeValueButton;
|
|
private System.Windows.Forms.GroupBox groupBox4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtCom;
|
|
}
|
|
} |