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.
287 lines
13 KiB
C#
287 lines
13 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.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.SetServerIPButton = new System.Windows.Forms.Button();
|
|
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.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.label3 = new System.Windows.Forms.Label();
|
|
this.Groupbox3 = new System.Windows.Forms.GroupBox();
|
|
this.AlarmTimeValueTextBox = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.SetAlarmTimeValueButton = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.Groupbox3.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(3, 20);
|
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.RowHeadersWidth = 62;
|
|
this.dataGridView1.RowTemplate.Height = 30;
|
|
this.dataGridView1.Size = new System.Drawing.Size(615, 657);
|
|
this.dataGridView1.TabIndex = 0;
|
|
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.dataGridView1);
|
|
this.groupBox1.Location = new System.Drawing.Point(24, 27);
|
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.groupBox1.Size = new System.Drawing.Size(621, 679);
|
|
this.groupBox1.TabIndex = 1;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "报警灯设置";
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Location = new System.Drawing.Point(27, 723);
|
|
this.btnSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(163, 75);
|
|
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.SetServerIPButton);
|
|
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(651, 27);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(487, 65);
|
|
this.groupBox2.TabIndex = 3;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "服务端IP设置";
|
|
//
|
|
// SetServerIPButton
|
|
//
|
|
this.SetServerIPButton.Location = new System.Drawing.Point(394, 24);
|
|
this.SetServerIPButton.Name = "SetServerIPButton";
|
|
this.SetServerIPButton.Size = new System.Drawing.Size(75, 25);
|
|
this.SetServerIPButton.TabIndex = 4;
|
|
this.SetServerIPButton.Text = "设置";
|
|
this.SetServerIPButton.UseVisualStyleBackColor = true;
|
|
this.SetServerIPButton.Click += new System.EventHandler(this.SetServerIPButton_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(223, 29);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(87, 15);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "ServerPort";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 29);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(71, 15);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "ServerIP";
|
|
//
|
|
// ServerPortTextbox
|
|
//
|
|
this.ServerPortTextbox.Location = new System.Drawing.Point(316, 24);
|
|
this.ServerPortTextbox.Name = "ServerPortTextbox";
|
|
this.ServerPortTextbox.Size = new System.Drawing.Size(63, 25);
|
|
this.ServerPortTextbox.TabIndex = 1;
|
|
this.ServerPortTextbox.Text = "6001";
|
|
//
|
|
// ServerIPTextbox
|
|
//
|
|
this.ServerIPTextbox.Location = new System.Drawing.Point(83, 24);
|
|
this.ServerIPTextbox.Name = "ServerIPTextbox";
|
|
this.ServerIPTextbox.Size = new System.Drawing.Size(134, 25);
|
|
this.ServerIPTextbox.TabIndex = 0;
|
|
this.ServerIPTextbox.Text = "192.168.0.101";
|
|
//
|
|
// 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;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(169, 9);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(423, 15);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "配置报警灯时,请按照:绿->黄->红 的顺序从大到小填写DO口";
|
|
//
|
|
// Groupbox3
|
|
//
|
|
this.Groupbox3.Controls.Add(this.SetAlarmTimeValueButton);
|
|
this.Groupbox3.Controls.Add(this.label4);
|
|
this.Groupbox3.Controls.Add(this.AlarmTimeValueTextBox);
|
|
this.Groupbox3.Location = new System.Drawing.Point(651, 98);
|
|
this.Groupbox3.Name = "Groupbox3";
|
|
this.Groupbox3.Size = new System.Drawing.Size(351, 96);
|
|
this.Groupbox3.TabIndex = 5;
|
|
this.Groupbox3.TabStop = false;
|
|
this.Groupbox3.Text = "超时报警时间设置";
|
|
//
|
|
// AlarmTimeValueTextBox
|
|
//
|
|
this.AlarmTimeValueTextBox.Location = new System.Drawing.Point(120, 37);
|
|
this.AlarmTimeValueTextBox.Name = "AlarmTimeValueTextBox";
|
|
this.AlarmTimeValueTextBox.Size = new System.Drawing.Size(100, 25);
|
|
this.AlarmTimeValueTextBox.TabIndex = 0;
|
|
this.AlarmTimeValueTextBox.Text = "10";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(15, 42);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(97, 15);
|
|
this.label4.TabIndex = 1;
|
|
this.label4.Text = "报警时间阈值";
|
|
//
|
|
// SetAlarmTimeValueButton
|
|
//
|
|
this.SetAlarmTimeValueButton.Location = new System.Drawing.Point(237, 24);
|
|
this.SetAlarmTimeValueButton.Name = "SetAlarmTimeValueButton";
|
|
this.SetAlarmTimeValueButton.Size = new System.Drawing.Size(95, 50);
|
|
this.SetAlarmTimeValueButton.TabIndex = 2;
|
|
this.SetAlarmTimeValueButton.Text = "设置";
|
|
this.SetAlarmTimeValueButton.UseVisualStyleBackColor = true;
|
|
this.SetAlarmTimeValueButton.Click += new System.EventHandler(this.SetAlarmTimeValueButton_Click);
|
|
//
|
|
// FrmSetting
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1160, 819);
|
|
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(3, 2, 3, 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.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.Button SetServerIPButton;
|
|
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;
|
|
}
|
|
} |