|
@@ -30,15 +30,13 @@
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_Home));
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
|
- this.uiLabel3 = new Sunny.UI.UILabel();
|
|
|
- this.uiLabel1 = new Sunny.UI.UILabel();
|
|
|
- this.uiLabel2 = new Sunny.UI.UILabel();
|
|
|
+ this.lblDeviceStates = new Sunny.UI.UILabel();
|
|
|
this.txt_CurSupplierCode = new System.Windows.Forms.TextBox();
|
|
|
this.label20 = new System.Windows.Forms.Label();
|
|
|
this.currentMtltmrk = new System.Windows.Forms.TextBox();
|
|
@@ -80,7 +78,9 @@
|
|
|
this.colTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.imageListState = new System.Windows.Forms.ImageList(this.components);
|
|
|
- this.lblDeviceStates = new Sunny.UI.UILabel();
|
|
|
+ this.lblDeviceStates2 = new Sunny.UI.UILabel();
|
|
|
+ this.label4 = new System.Windows.Forms.Label();
|
|
|
+ this.label5 = new System.Windows.Forms.Label();
|
|
|
this.panel1.SuspendLayout();
|
|
|
this.groupBox3.SuspendLayout();
|
|
|
this.panel2.SuspendLayout();
|
|
@@ -126,10 +126,10 @@
|
|
|
//
|
|
|
// groupBox3
|
|
|
//
|
|
|
+ this.groupBox3.Controls.Add(this.label5);
|
|
|
+ this.groupBox3.Controls.Add(this.label4);
|
|
|
+ this.groupBox3.Controls.Add(this.lblDeviceStates2);
|
|
|
this.groupBox3.Controls.Add(this.lblDeviceStates);
|
|
|
- this.groupBox3.Controls.Add(this.uiLabel3);
|
|
|
- this.groupBox3.Controls.Add(this.uiLabel1);
|
|
|
- this.groupBox3.Controls.Add(this.uiLabel2);
|
|
|
this.groupBox3.Controls.Add(this.txt_CurSupplierCode);
|
|
|
this.groupBox3.Controls.Add(this.label20);
|
|
|
this.groupBox3.Controls.Add(this.currentMtltmrk);
|
|
@@ -147,46 +147,18 @@
|
|
|
this.groupBox3.TabStop = false;
|
|
|
this.groupBox3.Text = "当前加工订单信息";
|
|
|
//
|
|
|
- // uiLabel3
|
|
|
- //
|
|
|
- this.uiLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
- this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 10.8F);
|
|
|
- this.uiLabel3.ForeColor = System.Drawing.Color.Blue;
|
|
|
- this.uiLabel3.Location = new System.Drawing.Point(1206, 113);
|
|
|
- this.uiLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.uiLabel3.Name = "uiLabel3";
|
|
|
- this.uiLabel3.Size = new System.Drawing.Size(261, 50);
|
|
|
- this.uiLabel3.TabIndex = 99;
|
|
|
- this.uiLabel3.Text = "未初始状态";
|
|
|
- this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
- this.uiLabel3.Visible = false;
|
|
|
- //
|
|
|
- // uiLabel1
|
|
|
- //
|
|
|
- this.uiLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
- this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 10.8F);
|
|
|
- this.uiLabel1.ForeColor = System.Drawing.SystemColors.InfoText;
|
|
|
- this.uiLabel1.Location = new System.Drawing.Point(1067, 50);
|
|
|
- this.uiLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.uiLabel1.Name = "uiLabel1";
|
|
|
- this.uiLabel1.Size = new System.Drawing.Size(240, 50);
|
|
|
- this.uiLabel1.TabIndex = 98;
|
|
|
- this.uiLabel1.Text = "设备状态:";
|
|
|
- this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
- //
|
|
|
- // uiLabel2
|
|
|
- //
|
|
|
- this.uiLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
- this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 10.8F);
|
|
|
- this.uiLabel2.ForeColor = System.Drawing.SystemColors.InfoText;
|
|
|
- this.uiLabel2.Location = new System.Drawing.Point(1067, 113);
|
|
|
- this.uiLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.uiLabel2.Name = "uiLabel2";
|
|
|
- this.uiLabel2.Size = new System.Drawing.Size(240, 50);
|
|
|
- this.uiLabel2.TabIndex = 96;
|
|
|
- this.uiLabel2.Text = "设备状态:";
|
|
|
- this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
- this.uiLabel2.Visible = false;
|
|
|
+ // lblDeviceStates
|
|
|
+ //
|
|
|
+ this.lblDeviceStates.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.lblDeviceStates.Font = new System.Drawing.Font("微软雅黑", 10.8F);
|
|
|
+ this.lblDeviceStates.ForeColor = System.Drawing.Color.Blue;
|
|
|
+ this.lblDeviceStates.Location = new System.Drawing.Point(1196, 51);
|
|
|
+ this.lblDeviceStates.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.lblDeviceStates.Name = "lblDeviceStates";
|
|
|
+ this.lblDeviceStates.Size = new System.Drawing.Size(261, 50);
|
|
|
+ this.lblDeviceStates.TabIndex = 100;
|
|
|
+ this.lblDeviceStates.Text = "未初始状态";
|
|
|
+ this.lblDeviceStates.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
//
|
|
|
// txt_CurSupplierCode
|
|
|
//
|
|
@@ -618,14 +590,14 @@
|
|
|
this.systemLog.AllowUserToResizeRows = false;
|
|
|
this.systemLog.BackgroundColor = System.Drawing.Color.White;
|
|
|
this.systemLog.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
- dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle41.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
- dataGridViewCellStyle41.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.systemLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle41;
|
|
|
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.systemLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
|
|
this.systemLog.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.systemLog.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.colDate,
|
|
@@ -637,19 +609,19 @@
|
|
|
this.systemLog.Location = new System.Drawing.Point(3, 32);
|
|
|
this.systemLog.Name = "systemLog";
|
|
|
this.systemLog.ReadOnly = true;
|
|
|
- dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle43.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
- dataGridViewCellStyle43.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle43.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.systemLog.RowHeadersDefaultCellStyle = dataGridViewCellStyle43;
|
|
|
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
|
|
|
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.systemLog.RowHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
|
|
this.systemLog.RowHeadersVisible = false;
|
|
|
this.systemLog.RowHeadersWidth = 51;
|
|
|
this.systemLog.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle44.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.systemLog.RowsDefaultCellStyle = dataGridViewCellStyle44;
|
|
|
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.systemLog.RowsDefaultCellStyle = dataGridViewCellStyle8;
|
|
|
this.systemLog.RowTemplate.Height = 27;
|
|
|
this.systemLog.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.systemLog.Size = new System.Drawing.Size(1533, 435);
|
|
@@ -657,8 +629,8 @@
|
|
|
//
|
|
|
// colDate
|
|
|
//
|
|
|
- dataGridViewCellStyle42.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.colDate.DefaultCellStyle = dataGridViewCellStyle42;
|
|
|
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.colDate.DefaultCellStyle = dataGridViewCellStyle6;
|
|
|
this.colDate.HeaderText = "日期";
|
|
|
this.colDate.MinimumWidth = 6;
|
|
|
this.colDate.Name = "colDate";
|
|
@@ -692,18 +664,38 @@
|
|
|
this.imageListState.Images.SetKeyName(1, "light_green.png");
|
|
|
this.imageListState.Images.SetKeyName(2, "light_red.png");
|
|
|
//
|
|
|
- // lblDeviceStates
|
|
|
- //
|
|
|
- this.lblDeviceStates.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
- this.lblDeviceStates.Font = new System.Drawing.Font("微软雅黑", 10.8F);
|
|
|
- this.lblDeviceStates.ForeColor = System.Drawing.Color.Blue;
|
|
|
- this.lblDeviceStates.Location = new System.Drawing.Point(1205, 50);
|
|
|
- this.lblDeviceStates.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.lblDeviceStates.Name = "lblDeviceStates";
|
|
|
- this.lblDeviceStates.Size = new System.Drawing.Size(261, 50);
|
|
|
- this.lblDeviceStates.TabIndex = 100;
|
|
|
- this.lblDeviceStates.Text = "未初始状态";
|
|
|
- this.lblDeviceStates.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
+ // lblDeviceStates2
|
|
|
+ //
|
|
|
+ this.lblDeviceStates2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.lblDeviceStates2.Font = new System.Drawing.Font("微软雅黑", 10.8F);
|
|
|
+ this.lblDeviceStates2.ForeColor = System.Drawing.Color.Blue;
|
|
|
+ this.lblDeviceStates2.Location = new System.Drawing.Point(1196, 113);
|
|
|
+ this.lblDeviceStates2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.lblDeviceStates2.Name = "lblDeviceStates2";
|
|
|
+ this.lblDeviceStates2.Size = new System.Drawing.Size(261, 50);
|
|
|
+ this.lblDeviceStates2.TabIndex = 101;
|
|
|
+ this.lblDeviceStates2.Text = "未初始状态";
|
|
|
+ this.lblDeviceStates2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
+ //
|
|
|
+ // label4
|
|
|
+ //
|
|
|
+ this.label4.AutoSize = true;
|
|
|
+ this.label4.Location = new System.Drawing.Point(1066, 61);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(123, 30);
|
|
|
+ this.label4.TabIndex = 102;
|
|
|
+ this.label4.Text = "设备状态:";
|
|
|
+ this.label4.Visible = false;
|
|
|
+ //
|
|
|
+ // label5
|
|
|
+ //
|
|
|
+ this.label5.AutoSize = true;
|
|
|
+ this.label5.Location = new System.Drawing.Point(1066, 123);
|
|
|
+ this.label5.Name = "label5";
|
|
|
+ this.label5.Size = new System.Drawing.Size(123, 30);
|
|
|
+ this.label5.TabIndex = 103;
|
|
|
+ this.label5.Text = "设备状态:";
|
|
|
+ this.label5.Visible = false;
|
|
|
//
|
|
|
// Form_Home
|
|
|
//
|
|
@@ -799,9 +791,13 @@
|
|
|
private System.Windows.Forms.PictureBox picAgvHttp;
|
|
|
private System.Windows.Forms.GroupBox groupBox15;
|
|
|
private System.Windows.Forms.PictureBox picAgvMqtt;
|
|
|
- private Sunny.UI.UILabel uiLabel2;
|
|
|
- private Sunny.UI.UILabel uiLabel3;
|
|
|
+ private System.Windows.Forms.Button button1;
|
|
|
+ //private Sunny.UI.UILabel uiLabel2;
|
|
|
+ //private Sunny.UI.UILabel uiLabel3;
|
|
|
private Sunny.UI.UILabel uiLabel1;
|
|
|
private Sunny.UI.UILabel lblDeviceStates;
|
|
|
+ private System.Windows.Forms.Label label5;
|
|
|
+ private System.Windows.Forms.Label label4;
|
|
|
+ private Sunny.UI.UILabel lblDeviceStates2;
|
|
|
}
|
|
|
}
|