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.
238 lines
11 KiB
C#
238 lines
11 KiB
C#
namespace NDSD_Screwdriver
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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.DOTest = new System.Windows.Forms.Button();
|
|
this.LogDataGridView = new System.Windows.Forms.DataGridView();
|
|
this.logTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.LogValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.RFIDValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.ScrewdriverMonitor = new DNSD_Controls.HslTable();
|
|
this.TestButton = new System.Windows.Forms.Button();
|
|
this.InitButton = new System.Windows.Forms.Button();
|
|
this.SettingButton = new System.Windows.Forms.Button();
|
|
this.ServerRestartButton = new System.Windows.Forms.Button();
|
|
this.StartServerButton = new System.Windows.Forms.Button();
|
|
this.ServerStopButton = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.LogDataGridView)).BeginInit();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// DOTest
|
|
//
|
|
this.DOTest.Location = new System.Drawing.Point(673, 12);
|
|
this.DOTest.Name = "DOTest";
|
|
this.DOTest.Size = new System.Drawing.Size(75, 23);
|
|
this.DOTest.TabIndex = 0;
|
|
this.DOTest.Text = "DO测试";
|
|
this.DOTest.UseVisualStyleBackColor = true;
|
|
this.DOTest.Click += new System.EventHandler(this.DOTest_Click);
|
|
//
|
|
// LogDataGridView
|
|
//
|
|
this.LogDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.LogDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.logTime,
|
|
this.LogValue,
|
|
this.RFIDValue});
|
|
this.LogDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.LogDataGridView.Location = new System.Drawing.Point(3, 21);
|
|
this.LogDataGridView.Name = "LogDataGridView";
|
|
this.LogDataGridView.RowHeadersVisible = false;
|
|
this.LogDataGridView.RowHeadersWidth = 51;
|
|
this.LogDataGridView.RowTemplate.Height = 27;
|
|
this.LogDataGridView.Size = new System.Drawing.Size(587, 826);
|
|
this.LogDataGridView.TabIndex = 1;
|
|
//
|
|
// logTime
|
|
//
|
|
this.logTime.DataPropertyName = "CreateTime";
|
|
this.logTime.HeaderText = "日志时间";
|
|
this.logTime.MinimumWidth = 6;
|
|
this.logTime.Name = "logTime";
|
|
this.logTime.Width = 125;
|
|
//
|
|
// LogValue
|
|
//
|
|
this.LogValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.LogValue.DataPropertyName = "LogText";
|
|
this.LogValue.HeaderText = "日志内容";
|
|
this.LogValue.MinimumWidth = 6;
|
|
this.LogValue.Name = "LogValue";
|
|
//
|
|
// RFIDValue
|
|
//
|
|
this.RFIDValue.DataPropertyName = "RFIDId";
|
|
this.RFIDValue.HeaderText = "RFID值";
|
|
this.RFIDValue.MinimumWidth = 6;
|
|
this.RFIDValue.Name = "RFIDValue";
|
|
this.RFIDValue.Width = 150;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.groupBox1.Controls.Add(this.LogDataGridView);
|
|
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.groupBox1.Location = new System.Drawing.Point(754, 0);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(593, 850);
|
|
this.groupBox1.TabIndex = 2;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "日志";
|
|
//
|
|
// ScrewdriverMonitor
|
|
//
|
|
this.ScrewdriverMonitor.AssistHeaderText = "";
|
|
this.ScrewdriverMonitor.BorderColor = System.Drawing.Color.Black;
|
|
this.ScrewdriverMonitor.ColumnHeader = new string[] {
|
|
"工作标识",
|
|
"RFID",
|
|
"信号指示"};
|
|
this.ScrewdriverMonitor.ColumnWidth = new float[] {
|
|
0F,
|
|
0.1F,
|
|
0.9F,
|
|
1F};
|
|
this.ScrewdriverMonitor.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.ScrewdriverMonitor.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.ScrewdriverMonitor.ForeColor = System.Drawing.Color.Black;
|
|
this.ScrewdriverMonitor.HeaderColor = System.Drawing.Color.Black;
|
|
this.ScrewdriverMonitor.Location = new System.Drawing.Point(0, 0);
|
|
this.ScrewdriverMonitor.Name = "ScrewdriverMonitor";
|
|
this.ScrewdriverMonitor.RowsTotalCount = 13;
|
|
this.ScrewdriverMonitor.Size = new System.Drawing.Size(667, 850);
|
|
this.ScrewdriverMonitor.TabIndex = 3;
|
|
this.ScrewdriverMonitor.Text = "hslTable1";
|
|
this.ScrewdriverMonitor.TopHeaderColor = System.Drawing.Color.Black;
|
|
this.ScrewdriverMonitor.TopHeaderHeight = 0.05F;
|
|
this.ScrewdriverMonitor.TopHeaderText = "拧紧枪监控";
|
|
this.ScrewdriverMonitor.TopHeaderTextSize = 18F;
|
|
this.ScrewdriverMonitor.OnDrawCellTextEvent += new DNSD_Controls.HslTable.DrawCellTextDelegate(this.ScrewdriverMonitor_OnDrawCellTextEvent);
|
|
//
|
|
// TestButton
|
|
//
|
|
this.TestButton.Location = new System.Drawing.Point(673, 70);
|
|
this.TestButton.Name = "TestButton";
|
|
this.TestButton.Size = new System.Drawing.Size(75, 23);
|
|
this.TestButton.TabIndex = 4;
|
|
this.TestButton.Text = "测试";
|
|
this.TestButton.UseVisualStyleBackColor = true;
|
|
this.TestButton.Click += new System.EventHandler(this.TestButton1_Click);
|
|
//
|
|
// InitButton
|
|
//
|
|
this.InitButton.Location = new System.Drawing.Point(673, 41);
|
|
this.InitButton.Name = "InitButton";
|
|
this.InitButton.Size = new System.Drawing.Size(75, 23);
|
|
this.InitButton.TabIndex = 7;
|
|
this.InitButton.Text = "初始化表";
|
|
this.InitButton.UseVisualStyleBackColor = true;
|
|
this.InitButton.Click += new System.EventHandler(this.InitButton_Click);
|
|
//
|
|
// SettingButton
|
|
//
|
|
this.SettingButton.Location = new System.Drawing.Point(673, 769);
|
|
this.SettingButton.Name = "SettingButton";
|
|
this.SettingButton.Size = new System.Drawing.Size(75, 69);
|
|
this.SettingButton.TabIndex = 8;
|
|
this.SettingButton.Text = "设置";
|
|
this.SettingButton.UseVisualStyleBackColor = true;
|
|
this.SettingButton.Click += new System.EventHandler(this.SettingButton_Click);
|
|
//
|
|
// ServerRestartButton
|
|
//
|
|
this.ServerRestartButton.Location = new System.Drawing.Point(673, 708);
|
|
this.ServerRestartButton.Name = "ServerRestartButton";
|
|
this.ServerRestartButton.Size = new System.Drawing.Size(75, 55);
|
|
this.ServerRestartButton.TabIndex = 9;
|
|
this.ServerRestartButton.Text = "重启服务器";
|
|
this.ServerRestartButton.UseVisualStyleBackColor = true;
|
|
this.ServerRestartButton.Click += new System.EventHandler(this.ServerRestartButton_Click);
|
|
//
|
|
// StartServerButton
|
|
//
|
|
this.StartServerButton.Location = new System.Drawing.Point(673, 586);
|
|
this.StartServerButton.Name = "StartServerButton";
|
|
this.StartServerButton.Size = new System.Drawing.Size(75, 55);
|
|
this.StartServerButton.TabIndex = 10;
|
|
this.StartServerButton.Text = "手动启动服务器";
|
|
this.StartServerButton.UseVisualStyleBackColor = true;
|
|
this.StartServerButton.Click += new System.EventHandler(this.StartServerButton_Click);
|
|
//
|
|
// ServerStopButton
|
|
//
|
|
this.ServerStopButton.Location = new System.Drawing.Point(673, 647);
|
|
this.ServerStopButton.Name = "ServerStopButton";
|
|
this.ServerStopButton.Size = new System.Drawing.Size(75, 55);
|
|
this.ServerStopButton.TabIndex = 11;
|
|
this.ServerStopButton.Text = "手动关闭服务器";
|
|
this.ServerStopButton.UseVisualStyleBackColor = true;
|
|
this.ServerStopButton.Click += new System.EventHandler(this.ServerStopButton_Click);
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1347, 850);
|
|
this.Controls.Add(this.ServerStopButton);
|
|
this.Controls.Add(this.StartServerButton);
|
|
this.Controls.Add(this.ServerRestartButton);
|
|
this.Controls.Add(this.SettingButton);
|
|
this.Controls.Add(this.InitButton);
|
|
this.Controls.Add(this.TestButton);
|
|
this.Controls.Add(this.ScrewdriverMonitor);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.DOTest);
|
|
this.Name = "MainForm";
|
|
this.Text = "拧紧枪监控主界面";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
|
((System.ComponentModel.ISupportInitialize)(this.LogDataGridView)).EndInit();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button DOTest;
|
|
private System.Windows.Forms.DataGridView LogDataGridView;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private DNSD_Controls.HslTable ScrewdriverMonitor;
|
|
private System.Windows.Forms.Button TestButton;
|
|
private System.Windows.Forms.Button InitButton;
|
|
private System.Windows.Forms.Button SettingButton;
|
|
private System.Windows.Forms.Button ServerRestartButton;
|
|
private System.Windows.Forms.Button StartServerButton;
|
|
private System.Windows.Forms.Button ServerStopButton;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn logTime;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn LogValue;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RFIDValue;
|
|
}
|
|
} |