|
|
|
|
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.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.LogDataGridView)).BeginInit();
|
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
|
this.panel1.SuspendLayout();
|
|
|
|
|
this.panel2.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// DOTest
|
|
|
|
|
//
|
|
|
|
|
this.DOTest.Location = new System.Drawing.Point(15, 15);
|
|
|
|
|
this.DOTest.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.DOTest.Name = "DOTest";
|
|
|
|
|
this.DOTest.Size = new System.Drawing.Size(63, 35);
|
|
|
|
|
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(2, 16);
|
|
|
|
|
this.LogDataGridView.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.LogDataGridView.Name = "LogDataGridView";
|
|
|
|
|
this.LogDataGridView.RowHeadersVisible = false;
|
|
|
|
|
this.LogDataGridView.RowHeadersWidth = 51;
|
|
|
|
|
this.LogDataGridView.RowTemplate.Height = 27;
|
|
|
|
|
this.LogDataGridView.Size = new System.Drawing.Size(441, 1043);
|
|
|
|
|
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(713, 0);
|
|
|
|
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.groupBox1.Size = new System.Drawing.Size(445, 1061);
|
|
|
|
|
this.groupBox1.TabIndex = 2;
|
|
|
|
|
this.groupBox1.TabStop = false;
|
|
|
|
|
this.groupBox1.Text = "日志";
|
|
|
|
|
//
|
|
|
|
|
// ScrewdriverMonitor
|
|
|
|
|
//
|
|
|
|
|
this.ScrewdriverMonitor.AssistHeaderText = "";
|
|
|
|
|
this.ScrewdriverMonitor.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
|
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.Fill;
|
|
|
|
|
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.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.ScrewdriverMonitor.Name = "ScrewdriverMonitor";
|
|
|
|
|
this.ScrewdriverMonitor.RowsTotalCount = 13;
|
|
|
|
|
this.ScrewdriverMonitor.Size = new System.Drawing.Size(622, 1061);
|
|
|
|
|
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(15, 113);
|
|
|
|
|
this.TestButton.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.TestButton.Name = "TestButton";
|
|
|
|
|
this.TestButton.Size = new System.Drawing.Size(63, 36);
|
|
|
|
|
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(15, 70);
|
|
|
|
|
this.InitButton.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.InitButton.Name = "InitButton";
|
|
|
|
|
this.InitButton.Size = new System.Drawing.Size(63, 30);
|
|
|
|
|
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(15, 179);
|
|
|
|
|
this.SettingButton.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
this.SettingButton.Name = "SettingButton";
|
|
|
|
|
this.SettingButton.Size = new System.Drawing.Size(63, 62);
|
|
|
|
|
this.SettingButton.TabIndex = 8;
|
|
|
|
|
this.SettingButton.Text = "设置";
|
|
|
|
|
this.SettingButton.UseVisualStyleBackColor = true;
|
|
|
|
|
this.SettingButton.Click += new System.EventHandler(this.SettingButton_Click);
|
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
|
|
|
|
this.panel1.Controls.Add(this.DOTest);
|
|
|
|
|
this.panel1.Controls.Add(this.SettingButton);
|
|
|
|
|
this.panel1.Controls.Add(this.InitButton);
|
|
|
|
|
this.panel1.Controls.Add(this.TestButton);
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(622, 0);
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(91, 1061);
|
|
|
|
|
this.panel1.TabIndex = 12;
|
|
|
|
|
//
|
|
|
|
|
// panel2
|
|
|
|
|
//
|
|
|
|
|
this.panel2.Controls.Add(this.ScrewdriverMonitor);
|
|
|
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.panel2.Name = "panel2";
|
|
|
|
|
this.panel2.Size = new System.Drawing.Size(622, 1061);
|
|
|
|
|
this.panel2.TabIndex = 13;
|
|
|
|
|
//
|
|
|
|
|
// MainForm
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(1158, 1061);
|
|
|
|
|
this.Controls.Add(this.panel2);
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(2);
|
|
|
|
|
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.panel1.ResumeLayout(false);
|
|
|
|
|
this.panel2.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.DataGridViewTextBoxColumn logTime;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn LogValue;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RFIDValue;
|
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
|
private System.Windows.Forms.Panel panel2;
|
|
|
|
|
}
|
|
|
|
|
}
|