diff --git a/SCADA/Pages/UC_Weighing.Designer.cs b/SCADA/Pages/UC_Weighing.Designer.cs index 579ec7e..e115307 100644 --- a/SCADA/Pages/UC_Weighing.Designer.cs +++ b/SCADA/Pages/UC_Weighing.Designer.cs @@ -25,1729 +25,1156 @@ private void InitializeComponent() { - this.pnl_Stations = new System.Windows.Forms.Panel(); - this.pnl_Station2 = new System.Windows.Forms.Panel(); - this.lbl_S2_AlarmVal = new System.Windows.Forms.Label(); - this.lbl_S2_AlarmLabel = new System.Windows.Forms.Label(); - this.lbl_S2_Info2 = new System.Windows.Forms.Label(); - this.lbl_S2_Info1 = new System.Windows.Forms.Label(); - - this.lbl_S2_DensityVal = new System.Windows.Forms.Label(); - - this.lbl_S2_ExtractOilVal = new System.Windows.Forms.Label(); - - this.lbl_S2_OilReleaseVal = new System.Windows.Forms.Label(); - - this.lbl_S2_ResidualOilVal = new System.Windows.Forms.Label(); - - this.lbl_S2_QualityVal = new System.Windows.Forms.Label(); this.pnl_S2_WaterBox = new System.Windows.Forms.Panel(); this.lbl_S2_WaterTitle = new System.Windows.Forms.Label(); this.lbl_S2_WaterUnit = new System.Windows.Forms.Label(); this.pnl_S2_MetricBox = new System.Windows.Forms.Panel(); this.pnl_S2_DensityBox = new System.Windows.Forms.Panel(); this.lbl_S2_DensityTitle = new System.Windows.Forms.Label(); + this.lbl_S2_DensityVal = new System.Windows.Forms.Label(); this.lbl_S2_DensityUnit = new System.Windows.Forms.Label(); this.pnl_S2_AddOilBox = new System.Windows.Forms.Panel(); this.lbl_S2_AddOilTitle = new System.Windows.Forms.Label(); this.lbl_S2_AddOilUnit = new System.Windows.Forms.Label(); this.pnl_S2_ExtractOilBox = new System.Windows.Forms.Panel(); this.lbl_S2_ExtractOilTitle = new System.Windows.Forms.Label(); + this.lbl_S2_ExtractOilVal = new System.Windows.Forms.Label(); this.lbl_S2_ExtractOilUnit = new System.Windows.Forms.Label(); this.pnl_S2_OilReleaseBox = new System.Windows.Forms.Panel(); this.lbl_S2_OilReleaseTitle = new System.Windows.Forms.Label(); + this.lbl_S2_OilReleaseVal = new System.Windows.Forms.Label(); this.lbl_S2_OilReleaseUnit = new System.Windows.Forms.Label(); this.pnl_S2_ResidualOilBox = new System.Windows.Forms.Panel(); this.lbl_S2_ResidualOilTitle = new System.Windows.Forms.Label(); + this.lbl_S2_ResidualOilVal = new System.Windows.Forms.Label(); this.lbl_S2_ResidualOilUnit = new System.Windows.Forms.Label(); this.pnl_S2_QualityBox = new System.Windows.Forms.Panel(); this.lbl_S2_QualityTitle = new System.Windows.Forms.Label(); - this.lbl_S2_WeightTitle = new System.Windows.Forms.Label(); - + this.lbl_S2_QualityVal = new System.Windows.Forms.Label(); this.pnl_S2_WeightBox = new System.Windows.Forms.Panel(); - + this.lbl_S2_WeightTitle = new System.Windows.Forms.Label(); this.lbl_S2_WeightUnit = new System.Windows.Forms.Label(); - this.lbl_S2_Weight = new System.Windows.Forms.Label(); - this.lbl_S2_PalletVal = new System.Windows.Forms.Label(); - this.lbl_S2_PalletLabel = new System.Windows.Forms.Label(); - this.lbl_S2_OrderVal = new System.Windows.Forms.Label(); - this.lbl_S2_OrderLabel = new System.Windows.Forms.Label(); - this.lbl_S2_ModelVal = new System.Windows.Forms.Label(); - this.lbl_S2_ModelLabel = new System.Windows.Forms.Label(); - this.lbl_S2_EngineVal = new System.Windows.Forms.Label(); - this.lbl_S2_EngineLabel = new System.Windows.Forms.Label(); - this.pnl_S2_Header = new System.Windows.Forms.Panel(); - this.lbl_S2_Title = new System.Windows.Forms.Label(); - this.pnl_Station1 = new System.Windows.Forms.Panel(); - this.lbl_S1_AlarmVal = new System.Windows.Forms.Label(); - this.lbl_S1_AlarmLabel = new System.Windows.Forms.Label(); - - this.pnl_S1_WaterBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_WaterTitle = new System.Windows.Forms.Label(); - - this.lbl_S1_WaterUnit = new System.Windows.Forms.Label(); - this.lbl_S1_Info1 = new System.Windows.Forms.Label(); - this.pnl_S1_MetricBox = new System.Windows.Forms.Panel(); - - this.pnl_S1_QualityBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_QualityTitle = new System.Windows.Forms.Label(); - this.lbl_S1_QualityVal = new System.Windows.Forms.Label(); - - this.pnl_S1_ResidualOilBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_ResidualOilTitle = new System.Windows.Forms.Label(); - - this.lbl_S1_ResidualOilUnit = new System.Windows.Forms.Label(); - this.lbl_S1_ResidualOilVal = new System.Windows.Forms.Label(); - - this.pnl_S1_OilReleaseBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_OilReleaseTitle = new System.Windows.Forms.Label(); - - this.lbl_S1_OilReleaseUnit = new System.Windows.Forms.Label(); - this.lbl_S1_OilReleaseVal = new System.Windows.Forms.Label(); - - this.pnl_S1_DensityBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_DensityTitle = new System.Windows.Forms.Label(); - - this.lbl_S1_DensityUnit = new System.Windows.Forms.Label(); - this.lbl_S1_DensityVal = new System.Windows.Forms.Label(); - - this.pnl_S1_ExtractOilBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_ExtractOilTitle = new System.Windows.Forms.Label(); - - this.lbl_S1_ExtractOilUnit = new System.Windows.Forms.Label(); - this.lbl_S1_ExtractOilVal = new System.Windows.Forms.Label(); - - this.pnl_S1_AddOilBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_AddOilTitle = new System.Windows.Forms.Label(); - - this.lbl_S1_AddOilUnit = new System.Windows.Forms.Label(); - this.lbl_S1_Info2 = new System.Windows.Forms.Label(); - this.pnl_S1_WeightBox = new System.Windows.Forms.Panel(); - - this.lbl_S1_WeightUnit = new System.Windows.Forms.Label(); - - this.lbl_S1_Weight = new System.Windows.Forms.Label(); - - this.lbl_S1_PalletVal = new System.Windows.Forms.Label(); - - this.lbl_S1_PalletLabel = new System.Windows.Forms.Label(); - - this.lbl_S1_OrderVal = new System.Windows.Forms.Label(); - - this.lbl_S1_OrderLabel = new System.Windows.Forms.Label(); - - this.lbl_S1_ModelVal = new System.Windows.Forms.Label(); - - this.lbl_S1_ModelLabel = new System.Windows.Forms.Label(); - - this.lbl_S1_EngineVal = new System.Windows.Forms.Label(); - - this.lbl_S1_EngineLabel = new System.Windows.Forms.Label(); - - this.pnl_S1_Header = new System.Windows.Forms.Panel(); - - this.lbl_S1_Title = new System.Windows.Forms.Label(); - - this.pnl_Log = new System.Windows.Forms.Panel(); - - this.txt_Log = new System.Windows.Forms.TextBox(); - - this.lbl_LogTitle = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - + this.lbl_S1_WeightUnit = new System.Windows.Forms.Label(); + this.lbl_S1_Weight = new System.Windows.Forms.Label(); + this.lbl_S1_PalletVal = new System.Windows.Forms.Label(); + this.lbl_S1_PalletLabel = new System.Windows.Forms.Label(); + this.lbl_S1_OrderVal = new System.Windows.Forms.Label(); + this.lbl_S1_OrderLabel = new System.Windows.Forms.Label(); + this.lbl_S1_ModelVal = new System.Windows.Forms.Label(); + this.lbl_S1_ModelLabel = new System.Windows.Forms.Label(); + this.lbl_S1_EngineVal = new System.Windows.Forms.Label(); + this.lbl_S1_EngineLabel = new System.Windows.Forms.Label(); + this.pnl_S1_Header = new System.Windows.Forms.Panel(); + this.lbl_S1_Title = new System.Windows.Forms.Label(); + this.pnl_S1_WaterBox = new System.Windows.Forms.Panel(); + this.lbl_S1_WaterTitle = new System.Windows.Forms.Label(); + this.lbl_S1_WaterUnit = new System.Windows.Forms.Label(); + this.pnl_S1_QualityBox = new System.Windows.Forms.Panel(); + this.lbl_S1_QualityTitle = new System.Windows.Forms.Label(); + this.pnl_S1_ResidualOilBox = new System.Windows.Forms.Panel(); + this.lbl_S1_ResidualOilTitle = new System.Windows.Forms.Label(); + this.lbl_S1_ResidualOilUnit = new System.Windows.Forms.Label(); + this.pnl_S1_OilReleaseBox = new System.Windows.Forms.Panel(); + this.lbl_S1_OilReleaseTitle = new System.Windows.Forms.Label(); + this.lbl_S1_OilReleaseUnit = new System.Windows.Forms.Label(); + this.pnl_S1_DensityBox = new System.Windows.Forms.Panel(); + this.lbl_S1_DensityTitle = new System.Windows.Forms.Label(); + this.lbl_S1_DensityUnit = new System.Windows.Forms.Label(); + this.pnl_S1_ExtractOilBox = new System.Windows.Forms.Panel(); + this.lbl_S1_ExtractOilTitle = new System.Windows.Forms.Label(); + this.lbl_S1_ExtractOilUnit = new System.Windows.Forms.Label(); + this.pnl_S1_AddOilBox = new System.Windows.Forms.Panel(); + this.lbl_S1_AddOilTitle = new System.Windows.Forms.Label(); + this.lbl_S1_AddOilUnit = new System.Windows.Forms.Label(); + this.pnl_Log = new System.Windows.Forms.Panel(); + this.txt_Log = new System.Windows.Forms.TextBox(); + this.lbl_LogTitle = new System.Windows.Forms.Label(); this.pnl_Stations.SuspendLayout(); - this.pnl_Station2.SuspendLayout(); - this.pnl_S2_WaterBox.SuspendLayout(); - this.pnl_S2_MetricBox.SuspendLayout(); - + this.pnl_S2_DensityBox.SuspendLayout(); + this.pnl_S2_AddOilBox.SuspendLayout(); + this.pnl_S2_ExtractOilBox.SuspendLayout(); + this.pnl_S2_OilReleaseBox.SuspendLayout(); + this.pnl_S2_ResidualOilBox.SuspendLayout(); + this.pnl_S2_QualityBox.SuspendLayout(); this.pnl_S2_WeightBox.SuspendLayout(); - this.pnl_S2_Header.SuspendLayout(); - this.pnl_Station1.SuspendLayout(); - this.pnl_S1_MetricBox.SuspendLayout(); - this.pnl_S1_WeightBox.SuspendLayout(); - this.pnl_S1_Header.SuspendLayout(); - this.pnl_Log.SuspendLayout(); - this.SuspendLayout(); - - // - + // // pnl_Stations - - // - + // this.pnl_Stations.Controls.Add(this.pnl_Station2); - this.pnl_Stations.Controls.Add(this.pnl_Station1); - this.pnl_Stations.Dock = System.Windows.Forms.DockStyle.Fill; - this.pnl_Stations.Location = new System.Drawing.Point(0, 0); - - this.pnl_Stations.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - + this.pnl_Stations.Margin = new System.Windows.Forms.Padding(4); this.pnl_Stations.Name = "pnl_Stations"; - - this.pnl_Stations.Padding = new System.Windows.Forms.Padding(18, 18, 18, 18); - + this.pnl_Stations.Padding = new System.Windows.Forms.Padding(18); this.pnl_Stations.Size = new System.Drawing.Size(2730, 975); - this.pnl_Stations.TabIndex = 0; - - // - + // // pnl_Station2 - - // - + // this.pnl_Station2.BackColor = System.Drawing.Color.White; - - this.pnl_Station2.Controls.Add(this.lbl_S2_AlarmVal); - - this.pnl_Station2.Controls.Add(this.lbl_S2_AlarmLabel); - - this.pnl_Station2.Controls.Add(this.lbl_S2_Info2); - - this.pnl_Station2.Controls.Add(this.lbl_S2_Info1); - this.pnl_Station2.Controls.Add(this.pnl_S2_WaterBox); - - this.pnl_Station2.Controls.Add(this.pnl_S2_MetricBox); - - this.pnl_Station2.Controls.Add(this.pnl_S2_WeightBox); - this.pnl_Station2.Controls.Add(this.lbl_S2_PalletVal); - this.pnl_Station2.Controls.Add(this.lbl_S2_PalletLabel); - this.pnl_Station2.Controls.Add(this.lbl_S2_OrderVal); - this.pnl_Station2.Controls.Add(this.lbl_S2_OrderLabel); - this.pnl_Station2.Controls.Add(this.lbl_S2_ModelVal); - this.pnl_Station2.Controls.Add(this.lbl_S2_ModelLabel); - this.pnl_Station2.Controls.Add(this.lbl_S2_EngineVal); - this.pnl_Station2.Controls.Add(this.lbl_S2_EngineLabel); - this.pnl_Station2.Controls.Add(this.pnl_S2_Header); - + this.pnl_Station2.Controls.Add(this.lbl_S2_Info1); + this.pnl_Station2.Controls.Add(this.pnl_S2_MetricBox); + this.pnl_Station2.Controls.Add(this.pnl_S2_WeightBox); + this.pnl_Station2.Controls.Add(this.lbl_S2_AlarmLabel); + this.pnl_Station2.Controls.Add(this.lbl_S2_AlarmVal); this.pnl_Station2.Dock = System.Windows.Forms.DockStyle.Fill; - this.pnl_Station2.Location = new System.Drawing.Point(1323, 18); - - this.pnl_Station2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - + this.pnl_Station2.Margin = new System.Windows.Forms.Padding(4); this.pnl_Station2.Name = "pnl_Station2"; - this.pnl_Station2.Size = new System.Drawing.Size(1389, 939); - this.pnl_Station2.TabIndex = 0; - - // - + // // lbl_S2_AlarmVal - - // - - this.lbl_S2_AlarmVal.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); - + // + this.lbl_S2_AlarmVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_AlarmVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_AlarmVal.Location = new System.Drawing.Point(132, 504); - + this.lbl_S2_AlarmVal.Location = new System.Drawing.Point(180, 768); this.lbl_S2_AlarmVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbl_S2_AlarmVal.Name = "lbl_S2_AlarmVal"; - - this.lbl_S2_AlarmVal.Size = new System.Drawing.Size(600, 36); - + this.lbl_S2_AlarmVal.Size = new System.Drawing.Size(1080, 42); this.lbl_S2_AlarmVal.TabIndex = 0; - this.lbl_S2_AlarmVal.Text = "无报警"; - - // - + this.lbl_S2_AlarmVal.Visible = false; + // // lbl_S2_AlarmLabel - - // - - this.lbl_S2_AlarmLabel.Font = new System.Drawing.Font("微软雅黑", 10.5F); - + // + this.lbl_S2_AlarmLabel.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_AlarmLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_AlarmLabel.Location = new System.Drawing.Point(30, 504); - + this.lbl_S2_AlarmLabel.Location = new System.Drawing.Point(30, 768); this.lbl_S2_AlarmLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbl_S2_AlarmLabel.Name = "lbl_S2_AlarmLabel"; - - this.lbl_S2_AlarmLabel.Size = new System.Drawing.Size(98, 36); - + this.lbl_S2_AlarmLabel.Size = new System.Drawing.Size(112, 42); this.lbl_S2_AlarmLabel.TabIndex = 1; - this.lbl_S2_AlarmLabel.Text = "报警:"; - - // - + this.lbl_S2_AlarmLabel.Visible = false; + // // lbl_S2_Info2 - - // - - this.lbl_S2_Info2.AutoSize = true; - - this.lbl_S2_Info2.Font = new System.Drawing.Font("微软雅黑", 10.5F); - + // + this.lbl_S2_Info2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S2_Info2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S2_Info2.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_Info2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S2_Info2.Location = new System.Drawing.Point(390, 462); - + this.lbl_S2_Info2.Location = new System.Drawing.Point(420, 0); this.lbl_S2_Info2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbl_S2_Info2.Name = "lbl_S2_Info2"; - - this.lbl_S2_Info2.Size = new System.Drawing.Size(119, 28); - + this.lbl_S2_Info2.Size = new System.Drawing.Size(389, 80); this.lbl_S2_Info2.TabIndex = 2; - - this.lbl_S2_Info2.Text = "加油量:—"; - - // - + this.lbl_S2_Info2.Text = "加油量:0.00"; + this.lbl_S2_Info2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // lbl_S2_Info1 - - // - - this.lbl_S2_Info1.AutoSize = true; - - this.lbl_S2_Info1.Font = new System.Drawing.Font("微软雅黑", 10.5F); - + // + this.lbl_S2_Info1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S2_Info1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S2_Info1.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold); this.lbl_S2_Info1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S2_Info1.Location = new System.Drawing.Point(30, 462); - + this.lbl_S2_Info1.Location = new System.Drawing.Point(660, 375); this.lbl_S2_Info1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbl_S2_Info1.Name = "lbl_S2_Info1"; - - this.lbl_S2_Info1.Size = new System.Drawing.Size(119, 28); - + this.lbl_S2_Info1.Size = new System.Drawing.Size(599, 164); this.lbl_S2_Info1.TabIndex = 3; - - this.lbl_S2_Info1.Text = "水含量:—"; - - // - + this.lbl_S2_Info1.Text = "水含量:0.00"; + this.lbl_S2_Info1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // pnl_S2_WaterBox - - // + // this.pnl_S2_WaterBox.BackColor = System.Drawing.Color.White; this.pnl_S2_WaterBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pnl_S2_WaterBox.Controls.Add(this.lbl_S2_WaterTitle); - this.pnl_S2_WaterBox.Controls.Add(this.lbl_S2_Info1); this.pnl_S2_WaterBox.Controls.Add(this.lbl_S2_WaterUnit); this.pnl_S2_WaterBox.Location = new System.Drawing.Point(390, 330); this.pnl_S2_WaterBox.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.pnl_S2_WaterBox.Name = "pnl_S2_WaterBox"; this.pnl_S2_WaterBox.Size = new System.Drawing.Size(389, 119); this.pnl_S2_WaterBox.TabIndex = 4; - - // - + // // lbl_S2_WaterTitle - - // + // this.lbl_S2_WaterTitle.AutoSize = true; this.lbl_S2_WaterTitle.Font = new System.Drawing.Font("宋体", 11F, System.Drawing.FontStyle.Bold); this.lbl_S2_WaterTitle.Location = new System.Drawing.Point(15, 9); this.lbl_S2_WaterTitle.Name = "lbl_S2_WaterTitle"; - this.lbl_S2_WaterTitle.Size = new System.Drawing.Size(100, 19); + this.lbl_S2_WaterTitle.Size = new System.Drawing.Size(79, 22); this.lbl_S2_WaterTitle.TabIndex = 0; - this.lbl_S2_WaterTitle.Text = "水含量"; - - // - + this.lbl_S2_WaterTitle.Text = "水含量"; + // // lbl_S2_WaterUnit - - // + // this.lbl_S2_WaterUnit.AutoSize = true; this.lbl_S2_WaterUnit.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold); this.lbl_S2_WaterUnit.Location = new System.Drawing.Point(346, 82); this.lbl_S2_WaterUnit.Name = "lbl_S2_WaterUnit"; - this.lbl_S2_WaterUnit.Size = new System.Drawing.Size(18, 19); + this.lbl_S2_WaterUnit.Size = new System.Drawing.Size(33, 30); this.lbl_S2_WaterUnit.TabIndex = 1; - this.lbl_S2_WaterUnit.Text = "%"; - - // - + this.lbl_S2_WaterUnit.Text = "%"; + // // pnl_S2_MetricBox - - // + // this.pnl_S2_MetricBox.BackColor = System.Drawing.Color.White; - this.pnl_S2_MetricBox.Controls.Add(this.pnl_S2_DensityBox); - this.pnl_S2_MetricBox.Controls.Add(this.pnl_S2_AddOilBox); - this.pnl_S2_MetricBox.Controls.Add(this.pnl_S2_ExtractOilBox); - this.pnl_S2_MetricBox.Controls.Add(this.pnl_S2_OilReleaseBox); - this.pnl_S2_MetricBox.Controls.Add(this.pnl_S2_ResidualOilBox); - this.pnl_S2_MetricBox.Controls.Add(this.pnl_S2_QualityBox); - this.pnl_S2_MetricBox.Location = new System.Drawing.Point(30, 470); - this.pnl_S2_MetricBox.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.pnl_S2_MetricBox.Name = "pnl_S2_MetricBox"; - this.pnl_S2_MetricBox.Size = new System.Drawing.Size(1230, 150); - this.pnl_S2_MetricBox.TabIndex = 3; - - this.pnl_S2_DensityBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnl_S2_DensityBox.Controls.Add(this.lbl_S2_DensityTitle); - this.pnl_S2_DensityBox.Controls.Add(this.lbl_S2_DensityVal); - this.pnl_S2_DensityBox.Controls.Add(this.lbl_S2_DensityUnit); - this.pnl_S2_DensityBox.Location = new System.Drawing.Point(0, 0); - this.pnl_S2_DensityBox.Name = "pnl_S2_DensityBox"; - this.pnl_S2_DensityBox.Size = new System.Drawing.Size(389, 72); - this.lbl_S2_DensityTitle.Location = new System.Drawing.Point(15, 7); - this.lbl_S2_DensityTitle.Name = "lbl_S2_DensityTitle"; - this.lbl_S2_DensityTitle.Size = new System.Drawing.Size(120, 22); - this.lbl_S2_DensityTitle.Text = "油密度"; - this.lbl_S2_DensityVal.Location = new System.Drawing.Point(40, 22); - this.lbl_S2_DensityVal.Name = "lbl_S2_DensityVal"; - this.lbl_S2_DensityVal.Size = new System.Drawing.Size(260, 42); - this.lbl_S2_DensityVal.Text = "0.00"; - this.lbl_S2_DensityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.lbl_S2_DensityUnit.Location = new System.Drawing.Point(320, 44); - this.lbl_S2_DensityUnit.Name = "lbl_S2_DensityUnit"; - this.lbl_S2_DensityUnit.Size = new System.Drawing.Size(60, 22); - this.lbl_S2_DensityUnit.Text = "KG/L"; - - this.pnl_S2_AddOilBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnl_S2_AddOilBox.Controls.Add(this.lbl_S2_AddOilTitle); - this.pnl_S2_AddOilBox.Controls.Add(this.lbl_S2_Info2); - this.pnl_S2_AddOilBox.Controls.Add(this.lbl_S2_AddOilUnit); - this.pnl_S2_AddOilBox.Location = new System.Drawing.Point(420, 0); - this.pnl_S2_AddOilBox.Name = "pnl_S2_AddOilBox"; - this.pnl_S2_AddOilBox.Size = new System.Drawing.Size(389, 72); - this.lbl_S2_AddOilTitle.Location = new System.Drawing.Point(15, 7); - this.lbl_S2_AddOilTitle.Name = "lbl_S2_AddOilTitle"; - this.lbl_S2_AddOilTitle.Size = new System.Drawing.Size(120, 22); - this.lbl_S2_AddOilTitle.Text = "加油量"; - this.lbl_S2_Info2.Location = new System.Drawing.Point(40, 22); - this.lbl_S2_Info2.Size = new System.Drawing.Size(260, 42); - this.lbl_S2_Info2.Text = "0.00"; - this.lbl_S2_Info2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.lbl_S2_AddOilUnit.Location = new System.Drawing.Point(342, 44); - this.lbl_S2_AddOilUnit.Name = "lbl_S2_AddOilUnit"; - this.lbl_S2_AddOilUnit.Size = new System.Drawing.Size(36, 22); - this.lbl_S2_AddOilUnit.Text = "L"; - - this.pnl_S2_ExtractOilBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnl_S2_ExtractOilBox.Controls.Add(this.lbl_S2_ExtractOilTitle); - this.pnl_S2_ExtractOilBox.Controls.Add(this.lbl_S2_ExtractOilVal); - this.pnl_S2_ExtractOilBox.Controls.Add(this.lbl_S2_ExtractOilUnit); - this.pnl_S2_ExtractOilBox.Location = new System.Drawing.Point(840, 0); - this.pnl_S2_ExtractOilBox.Name = "pnl_S2_ExtractOilBox"; - this.pnl_S2_ExtractOilBox.Size = new System.Drawing.Size(389, 72); - this.lbl_S2_ExtractOilTitle.Location = new System.Drawing.Point(15, 7); - this.lbl_S2_ExtractOilTitle.Name = "lbl_S2_ExtractOilTitle"; - this.lbl_S2_ExtractOilTitle.Size = new System.Drawing.Size(120, 22); - this.lbl_S2_ExtractOilTitle.Text = "抽油量"; - this.lbl_S2_ExtractOilVal.Location = new System.Drawing.Point(40, 22); - this.lbl_S2_ExtractOilVal.Name = "lbl_S2_ExtractOilVal"; - this.lbl_S2_ExtractOilVal.Size = new System.Drawing.Size(260, 42); - this.lbl_S2_ExtractOilVal.Text = "0.00"; - this.lbl_S2_ExtractOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.lbl_S2_ExtractOilUnit.Location = new System.Drawing.Point(342, 44); - this.lbl_S2_ExtractOilUnit.Name = "lbl_S2_ExtractOilUnit"; - this.lbl_S2_ExtractOilUnit.Size = new System.Drawing.Size(36, 22); - this.lbl_S2_ExtractOilUnit.Text = "L"; - - this.pnl_S2_OilReleaseBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnl_S2_OilReleaseBox.Controls.Add(this.lbl_S2_OilReleaseTitle); - this.pnl_S2_OilReleaseBox.Controls.Add(this.lbl_S2_OilReleaseVal); - this.pnl_S2_OilReleaseBox.Controls.Add(this.lbl_S2_OilReleaseUnit); - this.pnl_S2_OilReleaseBox.Location = new System.Drawing.Point(0, 78); - this.pnl_S2_OilReleaseBox.Name = "pnl_S2_OilReleaseBox"; - this.pnl_S2_OilReleaseBox.Size = new System.Drawing.Size(389, 72); - this.lbl_S2_OilReleaseTitle.Location = new System.Drawing.Point(15, 7); - this.lbl_S2_OilReleaseTitle.Name = "lbl_S2_OilReleaseTitle"; - this.lbl_S2_OilReleaseTitle.Size = new System.Drawing.Size(120, 22); - this.lbl_S2_OilReleaseTitle.Text = "放油量"; - this.lbl_S2_OilReleaseVal.Location = new System.Drawing.Point(40, 22); - this.lbl_S2_OilReleaseVal.Name = "lbl_S2_OilReleaseVal"; - this.lbl_S2_OilReleaseVal.Size = new System.Drawing.Size(260, 42); - this.lbl_S2_OilReleaseVal.Text = "0.00"; - this.lbl_S2_OilReleaseVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.lbl_S2_OilReleaseUnit.Location = new System.Drawing.Point(342, 44); - this.lbl_S2_OilReleaseUnit.Name = "lbl_S2_OilReleaseUnit"; - this.lbl_S2_OilReleaseUnit.Size = new System.Drawing.Size(36, 22); - this.lbl_S2_OilReleaseUnit.Text = "L"; - - this.pnl_S2_ResidualOilBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnl_S2_ResidualOilBox.Controls.Add(this.lbl_S2_ResidualOilTitle); - this.pnl_S2_ResidualOilBox.Controls.Add(this.lbl_S2_ResidualOilVal); - this.pnl_S2_ResidualOilBox.Controls.Add(this.lbl_S2_ResidualOilUnit); - this.pnl_S2_ResidualOilBox.Location = new System.Drawing.Point(420, 78); - this.pnl_S2_ResidualOilBox.Name = "pnl_S2_ResidualOilBox"; - this.pnl_S2_ResidualOilBox.Size = new System.Drawing.Size(389, 72); - this.lbl_S2_ResidualOilTitle.Location = new System.Drawing.Point(15, 7); - this.lbl_S2_ResidualOilTitle.Name = "lbl_S2_ResidualOilTitle"; - this.lbl_S2_ResidualOilTitle.Size = new System.Drawing.Size(120, 22); - this.lbl_S2_ResidualOilTitle.Text = "残油量"; - this.lbl_S2_ResidualOilVal.Location = new System.Drawing.Point(40, 22); - this.lbl_S2_ResidualOilVal.Name = "lbl_S2_ResidualOilVal"; - this.lbl_S2_ResidualOilVal.Size = new System.Drawing.Size(260, 42); - this.lbl_S2_ResidualOilVal.Text = "0.00"; - this.lbl_S2_ResidualOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.lbl_S2_ResidualOilUnit.Location = new System.Drawing.Point(342, 44); - this.lbl_S2_ResidualOilUnit.Name = "lbl_S2_ResidualOilUnit"; - this.lbl_S2_ResidualOilUnit.Size = new System.Drawing.Size(36, 22); - this.lbl_S2_ResidualOilUnit.Text = "L"; - - this.pnl_S2_QualityBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnl_S2_QualityBox.Controls.Add(this.lbl_S2_QualityTitle); - this.pnl_S2_QualityBox.Controls.Add(this.lbl_S2_QualityVal); - this.pnl_S2_QualityBox.Location = new System.Drawing.Point(840, 78); - this.pnl_S2_QualityBox.Name = "pnl_S2_QualityBox"; - this.pnl_S2_QualityBox.Size = new System.Drawing.Size(389, 72); - this.lbl_S2_QualityTitle.Location = new System.Drawing.Point(15, 7); - this.lbl_S2_QualityTitle.Name = "lbl_S2_QualityTitle"; - this.lbl_S2_QualityTitle.Size = new System.Drawing.Size(120, 22); - this.lbl_S2_QualityTitle.Text = "合格结果"; - this.lbl_S2_QualityVal.Location = new System.Drawing.Point(40, 22); - this.lbl_S2_QualityVal.Name = "lbl_S2_QualityVal"; - this.lbl_S2_QualityVal.Size = new System.Drawing.Size(260, 42); - this.lbl_S2_QualityVal.Text = "--"; - this.lbl_S2_QualityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // pnl_S2_WeightBox - - // - - this.pnl_S2_WeightBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.pnl_S2_WeightBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.pnl_S2_WeightBox.Controls.Add(this.lbl_S2_WeightTitle); - - this.pnl_S2_WeightBox.Controls.Add(this.lbl_S2_WeightUnit); - - this.pnl_S2_WeightBox.Controls.Add(this.lbl_S2_Weight); - - this.pnl_S2_WeightBox.Location = new System.Drawing.Point(30, 330); - - this.pnl_S2_WeightBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.pnl_S2_WeightBox.Name = "pnl_S2_WeightBox"; - - this.pnl_S2_WeightBox.Size = new System.Drawing.Size(539, 119); - - this.pnl_S2_WeightBox.TabIndex = 4; - - // - - // lbl_S2_WeightUnit - - // - - this.lbl_S2_WeightUnit.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_WeightUnit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_WeightUnit.Location = new System.Drawing.Point(417, 36); - - this.lbl_S2_WeightUnit.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_WeightUnit.Name = "lbl_S2_WeightUnit"; - - this.lbl_S2_WeightUnit.Size = new System.Drawing.Size(90, 72); - - this.lbl_S2_WeightUnit.TabIndex = 0; - - this.lbl_S2_WeightUnit.Text = "KG"; - - this.lbl_S2_WeightUnit.TextAlign = System.Drawing.ContentAlignment.BottomLeft; - - // - - // lbl_S2_Weight - - // - - this.lbl_S2_Weight.Font = new System.Drawing.Font("Consolas", 42F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_Weight.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S2_Weight.Location = new System.Drawing.Point(6, 6); - - this.lbl_S2_Weight.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_Weight.Name = "lbl_S2_Weight"; - - this.lbl_S2_Weight.Size = new System.Drawing.Size(405, 108); - - this.lbl_S2_Weight.TabIndex = 1; - - this.lbl_S2_Weight.Text = "0.00"; - - this.lbl_S2_Weight.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - - // - - // lbl_S2_PalletVal - - // - - this.lbl_S2_PalletVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_PalletVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S2_PalletVal.Location = new System.Drawing.Point(780, 132); - - this.lbl_S2_PalletVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_PalletVal.Name = "lbl_S2_PalletVal"; - - this.lbl_S2_PalletVal.Size = new System.Drawing.Size(450, 45); - - this.lbl_S2_PalletVal.TabIndex = 5; - - this.lbl_S2_PalletVal.Text = "—"; - - // - - // lbl_S2_PalletLabel - - // - - this.lbl_S2_PalletLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_PalletLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_PalletLabel.Location = new System.Drawing.Point(645, 132); - - this.lbl_S2_PalletLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_PalletLabel.Name = "lbl_S2_PalletLabel"; - - this.lbl_S2_PalletLabel.Size = new System.Drawing.Size(128, 45); - - this.lbl_S2_PalletLabel.TabIndex = 6; - - this.lbl_S2_PalletLabel.Text = "托盘号:"; - - // - - // lbl_S2_OrderVal - - // - - this.lbl_S2_OrderVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_OrderVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S2_OrderVal.Location = new System.Drawing.Point(177, 132); - - this.lbl_S2_OrderVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_OrderVal.Name = "lbl_S2_OrderVal"; - - this.lbl_S2_OrderVal.Size = new System.Drawing.Size(420, 45); - - this.lbl_S2_OrderVal.TabIndex = 7; - - this.lbl_S2_OrderVal.Text = "—"; - - // - - // lbl_S2_OrderLabel - - // - - this.lbl_S2_OrderLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_OrderLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_OrderLabel.Location = new System.Drawing.Point(30, 132); - - this.lbl_S2_OrderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_OrderLabel.Name = "lbl_S2_OrderLabel"; - - this.lbl_S2_OrderLabel.Size = new System.Drawing.Size(128, 45); - - this.lbl_S2_OrderLabel.TabIndex = 8; - - this.lbl_S2_OrderLabel.Text = "订货号:"; - - // - - // lbl_S2_ModelVal - - // - - this.lbl_S2_ModelVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_ModelVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S2_ModelVal.Location = new System.Drawing.Point(780, 81); - - this.lbl_S2_ModelVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_ModelVal.Name = "lbl_S2_ModelVal"; - - this.lbl_S2_ModelVal.Size = new System.Drawing.Size(450, 45); - - this.lbl_S2_ModelVal.TabIndex = 9; - - this.lbl_S2_ModelVal.Text = "—"; - - // - - // lbl_S2_ModelLabel - - // - - this.lbl_S2_ModelLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_ModelLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_ModelLabel.Location = new System.Drawing.Point(645, 81); - - this.lbl_S2_ModelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_ModelLabel.Name = "lbl_S2_ModelLabel"; - - this.lbl_S2_ModelLabel.Size = new System.Drawing.Size(128, 45); - - this.lbl_S2_ModelLabel.TabIndex = 10; - - this.lbl_S2_ModelLabel.Text = "机型号:"; - - // - - // lbl_S2_EngineVal - - // - - this.lbl_S2_EngineVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_EngineVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S2_EngineVal.Location = new System.Drawing.Point(177, 81); - - this.lbl_S2_EngineVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_EngineVal.Name = "lbl_S2_EngineVal"; - - this.lbl_S2_EngineVal.Size = new System.Drawing.Size(420, 45); - - this.lbl_S2_EngineVal.TabIndex = 11; - - this.lbl_S2_EngineVal.Text = "—"; - - // - - // lbl_S2_EngineLabel - - // - - this.lbl_S2_EngineLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_EngineLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S2_EngineLabel.Location = new System.Drawing.Point(30, 81); - - this.lbl_S2_EngineLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_EngineLabel.Name = "lbl_S2_EngineLabel"; - - this.lbl_S2_EngineLabel.Size = new System.Drawing.Size(142, 45); - - this.lbl_S2_EngineLabel.TabIndex = 12; - - this.lbl_S2_EngineLabel.Text = "发动机号:"; - - // - - // pnl_S2_Header - - // - - this.pnl_S2_Header.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(148)))), ((int)(((byte)(136))))); - - this.pnl_S2_Header.Controls.Add(this.lbl_S2_Title); - - this.pnl_S2_Header.Dock = System.Windows.Forms.DockStyle.Top; - - this.pnl_S2_Header.Location = new System.Drawing.Point(0, 0); - - this.pnl_S2_Header.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.pnl_S2_Header.Name = "pnl_S2_Header"; - - this.pnl_S2_Header.Size = new System.Drawing.Size(1389, 63); - - this.pnl_S2_Header.TabIndex = 13; - - // - - // lbl_S2_Title - - // - - this.lbl_S2_Title.Dock = System.Windows.Forms.DockStyle.Fill; - - this.lbl_S2_Title.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); - - this.lbl_S2_Title.ForeColor = System.Drawing.Color.White; - - this.lbl_S2_Title.Location = new System.Drawing.Point(0, 0); - - this.lbl_S2_Title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S2_Title.Name = "lbl_S2_Title"; - - this.lbl_S2_Title.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); - - this.lbl_S2_Title.Size = new System.Drawing.Size(1389, 63); - - this.lbl_S2_Title.TabIndex = 0; - - this.lbl_S2_Title.Text = "工位2 — 放油后称重"; - - this.lbl_S2_Title.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - - // - - // pnl_Station1 - - // - - this.pnl_Station1.BackColor = System.Drawing.Color.White; - - this.pnl_Station1.Controls.Add(this.lbl_S1_AlarmVal); - - this.pnl_Station1.Controls.Add(this.lbl_S1_AlarmLabel); - - this.pnl_Station1.Controls.Add(this.lbl_S1_Info1); - - this.pnl_Station1.Controls.Add(this.pnl_S1_MetricBox); - - this.pnl_Station1.Controls.Add(this.pnl_S1_WeightBox); - - this.pnl_Station1.Controls.Add(this.lbl_S1_PalletVal); - - this.pnl_Station1.Controls.Add(this.lbl_S1_PalletLabel); - - this.pnl_Station1.Controls.Add(this.lbl_S1_OrderVal); - - this.pnl_Station1.Controls.Add(this.lbl_S1_OrderLabel); - - this.pnl_Station1.Controls.Add(this.lbl_S1_ModelVal); - - this.pnl_Station1.Controls.Add(this.lbl_S1_ModelLabel); - - this.pnl_Station1.Controls.Add(this.lbl_S1_EngineVal); - - this.pnl_Station1.Controls.Add(this.lbl_S1_EngineLabel); - - this.pnl_Station1.Controls.Add(this.pnl_S1_Header); - - this.pnl_Station1.Dock = System.Windows.Forms.DockStyle.Left; - - this.pnl_Station1.Location = new System.Drawing.Point(18, 18); - - this.pnl_Station1.Margin = new System.Windows.Forms.Padding(0, 0, 18, 0); - - this.pnl_Station1.Name = "pnl_Station1"; - - this.pnl_Station1.Size = new System.Drawing.Size(1305, 939); - - this.pnl_Station1.TabIndex = 1; - - // - - // lbl_S1_AlarmVal - - // - - this.lbl_S1_AlarmVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_AlarmVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_AlarmVal.Location = new System.Drawing.Point(180, 768); - - this.lbl_S1_AlarmVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_AlarmVal.Name = "lbl_S1_AlarmVal"; - - this.lbl_S1_AlarmVal.Size = new System.Drawing.Size(1080, 42); - - this.lbl_S1_AlarmVal.TabIndex = 0; - - this.lbl_S1_AlarmVal.Text = "无报警"; - - // - - // lbl_S1_AlarmLabel - - // - - this.lbl_S1_AlarmLabel.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_AlarmLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_AlarmLabel.Location = new System.Drawing.Point(30, 768); - - this.lbl_S1_AlarmLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_AlarmLabel.Name = "lbl_S1_AlarmLabel"; - - this.lbl_S1_AlarmLabel.Size = new System.Drawing.Size(112, 42); - - this.lbl_S1_AlarmLabel.TabIndex = 1; - - this.lbl_S1_AlarmLabel.Text = "报警:"; - - // - - // lbl_S1_Info1 - - // - - this.lbl_S1_Info1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_Info1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_Info1.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_Info1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_Info1.Location = new System.Drawing.Point(660, 375); - - this.lbl_S1_Info1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_Info1.Name = "lbl_S1_Info1"; - - this.lbl_S1_Info1.Size = new System.Drawing.Size(599, 164); - - this.lbl_S1_Info1.TabIndex = 2; - - this.lbl_S1_Info1.Text = "水含量:0.00"; - - this.lbl_S1_Info1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // pnl_S1_MetricBox - - // - - this.pnl_S1_MetricBox.BackColor = System.Drawing.Color.White; - - this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_QualityVal); - - this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_ResidualOilVal); - - this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_OilReleaseVal); - - this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_DensityVal); - - this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_ExtractOilVal); - - this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_Info2); - - this.pnl_S1_MetricBox.Location = new System.Drawing.Point(30, 570); - - this.pnl_S1_MetricBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.pnl_S1_MetricBox.Name = "pnl_S1_MetricBox"; - - this.pnl_S1_MetricBox.Size = new System.Drawing.Size(1230, 174); - - this.pnl_S1_MetricBox.TabIndex = 3; - - // - - // lbl_S1_QualityVal - - // - - this.lbl_S1_QualityVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_QualityVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_QualityVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_QualityVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_QualityVal.Location = new System.Drawing.Point(840, 93); - - this.lbl_S1_QualityVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_QualityVal.Name = "lbl_S1_QualityVal"; - - this.lbl_S1_QualityVal.Size = new System.Drawing.Size(389, 80); - - this.lbl_S1_QualityVal.TabIndex = 0; - - this.lbl_S1_QualityVal.Text = "合格结果:--"; - - this.lbl_S1_QualityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // lbl_S1_ResidualOilVal - - // - - this.lbl_S1_ResidualOilVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_ResidualOilVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_ResidualOilVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_ResidualOilVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_ResidualOilVal.Location = new System.Drawing.Point(420, 93); - - this.lbl_S1_ResidualOilVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_ResidualOilVal.Name = "lbl_S1_ResidualOilVal"; - - this.lbl_S1_ResidualOilVal.Size = new System.Drawing.Size(389, 80); - - this.lbl_S1_ResidualOilVal.TabIndex = 1; - - this.lbl_S1_ResidualOilVal.Text = "残油量:0.00"; - - this.lbl_S1_ResidualOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // lbl_S1_OilReleaseVal - - // - - this.lbl_S1_OilReleaseVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_OilReleaseVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_OilReleaseVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_OilReleaseVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_OilReleaseVal.Location = new System.Drawing.Point(0, 93); - - this.lbl_S1_OilReleaseVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_OilReleaseVal.Name = "lbl_S1_OilReleaseVal"; - - this.lbl_S1_OilReleaseVal.Size = new System.Drawing.Size(389, 80); - - this.lbl_S1_OilReleaseVal.TabIndex = 2; - - this.lbl_S1_OilReleaseVal.Text = "放油量:0.00"; - - this.lbl_S1_OilReleaseVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // lbl_S1_DensityVal - - // - - this.lbl_S1_DensityVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_DensityVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_DensityVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_DensityVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_DensityVal.Location = new System.Drawing.Point(0, 0); - - this.lbl_S1_DensityVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_DensityVal.Name = "lbl_S1_DensityVal"; - - this.lbl_S1_DensityVal.Size = new System.Drawing.Size(389, 80); - - this.lbl_S1_DensityVal.TabIndex = 3; - - this.lbl_S1_DensityVal.Text = "油密度:0.00"; - - this.lbl_S1_DensityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // lbl_S1_ExtractOilVal - - // - - this.lbl_S1_ExtractOilVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_ExtractOilVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_ExtractOilVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_ExtractOilVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_ExtractOilVal.Location = new System.Drawing.Point(840, 0); - - this.lbl_S1_ExtractOilVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_ExtractOilVal.Name = "lbl_S1_ExtractOilVal"; - - this.lbl_S1_ExtractOilVal.Size = new System.Drawing.Size(389, 80); - - this.lbl_S1_ExtractOilVal.TabIndex = 4; - - this.lbl_S1_ExtractOilVal.Text = "抽油量:0.00"; - - this.lbl_S1_ExtractOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // lbl_S1_Info2 - - // - - this.lbl_S1_Info2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.lbl_S1_Info2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.lbl_S1_Info2.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_Info2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.lbl_S1_Info2.Location = new System.Drawing.Point(420, 0); - - this.lbl_S1_Info2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_Info2.Name = "lbl_S1_Info2"; - - this.lbl_S1_Info2.Size = new System.Drawing.Size(389, 80); - - this.lbl_S1_Info2.TabIndex = 5; - - this.lbl_S1_Info2.Text = "加油量:0.00"; - - this.lbl_S1_Info2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - // - - // pnl_S1_WeightBox - - // - - this.pnl_S1_WeightBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.pnl_S1_WeightBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - - this.pnl_S1_WeightBox.Controls.Add(this.label1); - - this.pnl_S1_WeightBox.Controls.Add(this.lbl_S1_WeightUnit); - - this.pnl_S1_WeightBox.Controls.Add(this.lbl_S1_Weight); - - this.pnl_S1_WeightBox.Location = new System.Drawing.Point(30, 375); - - this.pnl_S1_WeightBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.pnl_S1_WeightBox.Name = "pnl_S1_WeightBox"; - - this.pnl_S1_WeightBox.Size = new System.Drawing.Size(599, 164); - - this.pnl_S1_WeightBox.TabIndex = 4; - - // - - // lbl_S1_WeightUnit - - // - - this.lbl_S1_WeightUnit.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_WeightUnit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_WeightUnit.Location = new System.Drawing.Point(456, 60); - - this.lbl_S1_WeightUnit.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_WeightUnit.Name = "lbl_S1_WeightUnit"; - - this.lbl_S1_WeightUnit.Size = new System.Drawing.Size(135, 87); - - this.lbl_S1_WeightUnit.TabIndex = 0; - - this.lbl_S1_WeightUnit.Text = "KG"; - - this.lbl_S1_WeightUnit.TextAlign = System.Drawing.ContentAlignment.BottomLeft; - - // - - // lbl_S1_Weight - - // - - this.lbl_S1_Weight.Font = new System.Drawing.Font("Consolas", 54F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_Weight.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S1_Weight.Location = new System.Drawing.Point(114, 9); - - this.lbl_S1_Weight.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_Weight.Name = "lbl_S1_Weight"; - - this.lbl_S1_Weight.Size = new System.Drawing.Size(327, 144); - - this.lbl_S1_Weight.TabIndex = 1; - - this.lbl_S1_Weight.Text = "0.00"; - - this.lbl_S1_Weight.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - - // - - // lbl_S1_PalletVal - - // - - this.lbl_S1_PalletVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_PalletVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S1_PalletVal.Location = new System.Drawing.Point(780, 132); - - this.lbl_S1_PalletVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_PalletVal.Name = "lbl_S1_PalletVal"; - - this.lbl_S1_PalletVal.Size = new System.Drawing.Size(450, 45); - - this.lbl_S1_PalletVal.TabIndex = 5; - - this.lbl_S1_PalletVal.Text = "—"; - - // - - // lbl_S1_PalletLabel - - // - - this.lbl_S1_PalletLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_PalletLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_PalletLabel.Location = new System.Drawing.Point(645, 132); - - this.lbl_S1_PalletLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_PalletLabel.Name = "lbl_S1_PalletLabel"; - - this.lbl_S1_PalletLabel.Size = new System.Drawing.Size(128, 45); - - this.lbl_S1_PalletLabel.TabIndex = 6; - - this.lbl_S1_PalletLabel.Text = "托盘号:"; - - // - - // lbl_S1_OrderVal - - // - - this.lbl_S1_OrderVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_OrderVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S1_OrderVal.Location = new System.Drawing.Point(177, 132); - - this.lbl_S1_OrderVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_OrderVal.Name = "lbl_S1_OrderVal"; - - this.lbl_S1_OrderVal.Size = new System.Drawing.Size(420, 45); - - this.lbl_S1_OrderVal.TabIndex = 7; - - this.lbl_S1_OrderVal.Text = "—"; - - // - - // lbl_S1_OrderLabel - - // - - this.lbl_S1_OrderLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_OrderLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_OrderLabel.Location = new System.Drawing.Point(30, 132); - - this.lbl_S1_OrderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_OrderLabel.Name = "lbl_S1_OrderLabel"; - - this.lbl_S1_OrderLabel.Size = new System.Drawing.Size(128, 45); - - this.lbl_S1_OrderLabel.TabIndex = 8; - - this.lbl_S1_OrderLabel.Text = "订货号:"; - - // - - // lbl_S1_ModelVal - - // - - this.lbl_S1_ModelVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_ModelVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S1_ModelVal.Location = new System.Drawing.Point(780, 81); - - this.lbl_S1_ModelVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_ModelVal.Name = "lbl_S1_ModelVal"; - - this.lbl_S1_ModelVal.Size = new System.Drawing.Size(450, 45); - - this.lbl_S1_ModelVal.TabIndex = 9; - - this.lbl_S1_ModelVal.Text = "—"; - - // - - // lbl_S1_ModelLabel - - // - - this.lbl_S1_ModelLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_ModelLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_ModelLabel.Location = new System.Drawing.Point(645, 81); - - this.lbl_S1_ModelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_ModelLabel.Name = "lbl_S1_ModelLabel"; - - this.lbl_S1_ModelLabel.Size = new System.Drawing.Size(128, 45); - - this.lbl_S1_ModelLabel.TabIndex = 10; - - this.lbl_S1_ModelLabel.Text = "机型号:"; - - // - - // lbl_S1_EngineVal - - // - - this.lbl_S1_EngineVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_EngineVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_S1_EngineVal.Location = new System.Drawing.Point(177, 81); - - this.lbl_S1_EngineVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_EngineVal.Name = "lbl_S1_EngineVal"; - - this.lbl_S1_EngineVal.Size = new System.Drawing.Size(420, 45); - - this.lbl_S1_EngineVal.TabIndex = 11; - - this.lbl_S1_EngineVal.Text = "—"; - - // - - // lbl_S1_EngineLabel - - // - - this.lbl_S1_EngineLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_EngineLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); - - this.lbl_S1_EngineLabel.Location = new System.Drawing.Point(30, 81); - - this.lbl_S1_EngineLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_EngineLabel.Name = "lbl_S1_EngineLabel"; - - this.lbl_S1_EngineLabel.Size = new System.Drawing.Size(142, 45); - - this.lbl_S1_EngineLabel.TabIndex = 12; - - this.lbl_S1_EngineLabel.Text = "发动机号:"; - - // - - // pnl_S1_Header - - // - - this.pnl_S1_Header.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(144)))), ((int)(((byte)(217))))); - - this.pnl_S1_Header.Controls.Add(this.lbl_S1_Title); - - this.pnl_S1_Header.Dock = System.Windows.Forms.DockStyle.Top; - - this.pnl_S1_Header.Location = new System.Drawing.Point(0, 0); - - this.pnl_S1_Header.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.pnl_S1_Header.Name = "pnl_S1_Header"; - - this.pnl_S1_Header.Size = new System.Drawing.Size(1305, 63); - - this.pnl_S1_Header.TabIndex = 13; - - // - - // lbl_S1_Title - - // - - this.lbl_S1_Title.Dock = System.Windows.Forms.DockStyle.Fill; - - this.lbl_S1_Title.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); - - this.lbl_S1_Title.ForeColor = System.Drawing.Color.White; - - this.lbl_S1_Title.Location = new System.Drawing.Point(0, 0); - - this.lbl_S1_Title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_S1_Title.Name = "lbl_S1_Title"; - - this.lbl_S1_Title.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); - - this.lbl_S1_Title.Size = new System.Drawing.Size(1305, 63); - - this.lbl_S1_Title.TabIndex = 0; - - this.lbl_S1_Title.Text = "工位1 — 放油前称重"; - - this.lbl_S1_Title.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - - // - - // pnl_Log - - // - - this.pnl_Log.BackColor = System.Drawing.Color.White; - - this.pnl_Log.Controls.Add(this.txt_Log); - - this.pnl_Log.Controls.Add(this.lbl_LogTitle); - - this.pnl_Log.Dock = System.Windows.Forms.DockStyle.Bottom; - - this.pnl_Log.Location = new System.Drawing.Point(0, 975); - - this.pnl_Log.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.pnl_Log.Name = "pnl_Log"; - - this.pnl_Log.Padding = new System.Windows.Forms.Padding(24, 6, 24, 12); - - this.pnl_Log.Size = new System.Drawing.Size(2730, 525); - - this.pnl_Log.TabIndex = 1; - - // - - // txt_Log - - // - - this.txt_Log.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - - this.txt_Log.BorderStyle = System.Windows.Forms.BorderStyle.None; - - this.txt_Log.Dock = System.Windows.Forms.DockStyle.Fill; - - this.txt_Log.Font = new System.Drawing.Font("Consolas", 10F); - - this.txt_Log.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); - - this.txt_Log.Location = new System.Drawing.Point(24, 48); - - this.txt_Log.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - - this.txt_Log.Multiline = true; - - this.txt_Log.Name = "txt_Log"; - - this.txt_Log.ReadOnly = true; - - this.txt_Log.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - - this.txt_Log.Size = new System.Drawing.Size(2682, 465); - - this.txt_Log.TabIndex = 0; - - // - - // lbl_LogTitle - - // - - this.lbl_LogTitle.Dock = System.Windows.Forms.DockStyle.Top; - - this.lbl_LogTitle.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold); - - this.lbl_LogTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); - - this.lbl_LogTitle.Location = new System.Drawing.Point(24, 6); - - this.lbl_LogTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - - this.lbl_LogTitle.Name = "lbl_LogTitle"; - - this.lbl_LogTitle.Size = new System.Drawing.Size(2682, 42); - - this.lbl_LogTitle.TabIndex = 1; - - this.lbl_LogTitle.Text = "操作消息"; - - this.lbl_LogTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - - // - - // label1 - - // - - this.label1.AutoSize = true; - - this.label1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); - - this.label1.Location = new System.Drawing.Point(15, 9); - - this.label1.Name = "label1"; - - this.label1.Size = new System.Drawing.Size(137, 30); - - this.label1.TabIndex = 2; - - this.label1.Text = "实时重量"; - - // - - // S2设计器预览布局:与S1保持同一套静态预览结构 - - // - - this.pnl_Station2.Controls.Remove(this.pnl_S2_WaterBox); - this.pnl_Station2.Controls.Add(this.lbl_S2_Info1); - this.pnl_Station2.Controls.Add(this.pnl_S2_MetricBox); - this.pnl_Station2.Controls.Add(this.pnl_S2_WeightBox); - this.pnl_Station2.Controls.Add(this.lbl_S2_AlarmLabel); - this.pnl_Station2.Controls.Add(this.lbl_S2_AlarmVal); - - this.pnl_S2_MetricBox.Controls.Clear(); this.pnl_S2_MetricBox.Controls.Add(this.lbl_S2_QualityVal); this.pnl_S2_MetricBox.Controls.Add(this.lbl_S2_ResidualOilVal); this.pnl_S2_MetricBox.Controls.Add(this.lbl_S2_OilReleaseVal); this.pnl_S2_MetricBox.Controls.Add(this.lbl_S2_DensityVal); this.pnl_S2_MetricBox.Controls.Add(this.lbl_S2_ExtractOilVal); this.pnl_S2_MetricBox.Controls.Add(this.lbl_S2_Info2); - - this.pnl_S2_WeightBox.Location = new System.Drawing.Point(30, 375); - this.pnl_S2_WeightBox.Size = new System.Drawing.Size(599, 164); - - this.lbl_S2_WeightTitle.AutoSize = true; - this.lbl_S2_WeightTitle.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); - this.lbl_S2_WeightTitle.Location = new System.Drawing.Point(15, 9); - this.lbl_S2_WeightTitle.Size = new System.Drawing.Size(137, 30); - this.lbl_S2_WeightTitle.Text = "实时重量"; - - this.lbl_S2_Weight.Font = new System.Drawing.Font("Consolas", 54F, System.Drawing.FontStyle.Bold); - this.lbl_S2_Weight.Location = new System.Drawing.Point(114, 9); - this.lbl_S2_Weight.Size = new System.Drawing.Size(327, 144); - this.lbl_S2_Weight.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - - this.lbl_S2_WeightUnit.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold); - this.lbl_S2_WeightUnit.Location = new System.Drawing.Point(456, 60); - this.lbl_S2_WeightUnit.Size = new System.Drawing.Size(135, 87); - this.lbl_S2_WeightUnit.TextAlign = System.Drawing.ContentAlignment.BottomLeft; - - this.lbl_S2_Info1.AutoSize = false; - this.lbl_S2_Info1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - this.lbl_S2_Info1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lbl_S2_Info1.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold); - this.lbl_S2_Info1.Location = new System.Drawing.Point(660, 375); - this.lbl_S2_Info1.Size = new System.Drawing.Size(599, 164); - this.lbl_S2_Info1.Text = "水含量:0.00"; - this.lbl_S2_Info1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.pnl_S2_MetricBox.Location = new System.Drawing.Point(30, 570); + this.pnl_S2_MetricBox.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.pnl_S2_MetricBox.Name = "pnl_S2_MetricBox"; this.pnl_S2_MetricBox.Size = new System.Drawing.Size(1230, 174); - + this.pnl_S2_MetricBox.TabIndex = 3; + // + // pnl_S2_DensityBox + // + this.pnl_S2_DensityBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_DensityBox.Controls.Add(this.lbl_S2_DensityTitle); + this.pnl_S2_DensityBox.Controls.Add(this.lbl_S2_DensityUnit); + this.pnl_S2_DensityBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S2_DensityBox.Name = "pnl_S2_DensityBox"; + this.pnl_S2_DensityBox.Size = new System.Drawing.Size(389, 72); + this.pnl_S2_DensityBox.TabIndex = 0; + // + // lbl_S2_DensityTitle + // + this.lbl_S2_DensityTitle.Location = new System.Drawing.Point(15, 7); + this.lbl_S2_DensityTitle.Name = "lbl_S2_DensityTitle"; + this.lbl_S2_DensityTitle.Size = new System.Drawing.Size(120, 22); + this.lbl_S2_DensityTitle.TabIndex = 0; + this.lbl_S2_DensityTitle.Text = "油密度"; + // + // lbl_S2_DensityVal + // this.lbl_S2_DensityVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); this.lbl_S2_DensityVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lbl_S2_DensityVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_DensityVal.Location = new System.Drawing.Point(0, 0); + this.lbl_S2_DensityVal.Name = "lbl_S2_DensityVal"; this.lbl_S2_DensityVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S2_DensityVal.TabIndex = 1; this.lbl_S2_DensityVal.Text = "油密度:0.00"; this.lbl_S2_DensityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - this.lbl_S2_Info2.AutoSize = false; - this.lbl_S2_Info2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); - this.lbl_S2_Info2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lbl_S2_Info2.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - this.lbl_S2_Info2.Location = new System.Drawing.Point(420, 0); - this.lbl_S2_Info2.Size = new System.Drawing.Size(389, 80); - this.lbl_S2_Info2.Text = "加油量:0.00"; - this.lbl_S2_Info2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - + // + // lbl_S2_DensityUnit + // + this.lbl_S2_DensityUnit.Location = new System.Drawing.Point(320, 44); + this.lbl_S2_DensityUnit.Name = "lbl_S2_DensityUnit"; + this.lbl_S2_DensityUnit.Size = new System.Drawing.Size(60, 22); + this.lbl_S2_DensityUnit.TabIndex = 2; + this.lbl_S2_DensityUnit.Text = "KG/L"; + // + // pnl_S2_AddOilBox + // + this.pnl_S2_AddOilBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_AddOilBox.Controls.Add(this.lbl_S2_AddOilTitle); + this.pnl_S2_AddOilBox.Controls.Add(this.lbl_S2_AddOilUnit); + this.pnl_S2_AddOilBox.Location = new System.Drawing.Point(420, 0); + this.pnl_S2_AddOilBox.Name = "pnl_S2_AddOilBox"; + this.pnl_S2_AddOilBox.Size = new System.Drawing.Size(389, 72); + this.pnl_S2_AddOilBox.TabIndex = 1; + // + // lbl_S2_AddOilTitle + // + this.lbl_S2_AddOilTitle.Location = new System.Drawing.Point(15, 7); + this.lbl_S2_AddOilTitle.Name = "lbl_S2_AddOilTitle"; + this.lbl_S2_AddOilTitle.Size = new System.Drawing.Size(120, 22); + this.lbl_S2_AddOilTitle.TabIndex = 0; + this.lbl_S2_AddOilTitle.Text = "加油量"; + // + // lbl_S2_AddOilUnit + // + this.lbl_S2_AddOilUnit.Location = new System.Drawing.Point(342, 44); + this.lbl_S2_AddOilUnit.Name = "lbl_S2_AddOilUnit"; + this.lbl_S2_AddOilUnit.Size = new System.Drawing.Size(36, 22); + this.lbl_S2_AddOilUnit.TabIndex = 3; + this.lbl_S2_AddOilUnit.Text = "L"; + // + // pnl_S2_ExtractOilBox + // + this.pnl_S2_ExtractOilBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_ExtractOilBox.Controls.Add(this.lbl_S2_ExtractOilTitle); + this.pnl_S2_ExtractOilBox.Controls.Add(this.lbl_S2_ExtractOilUnit); + this.pnl_S2_ExtractOilBox.Location = new System.Drawing.Point(840, 0); + this.pnl_S2_ExtractOilBox.Name = "pnl_S2_ExtractOilBox"; + this.pnl_S2_ExtractOilBox.Size = new System.Drawing.Size(389, 72); + this.pnl_S2_ExtractOilBox.TabIndex = 2; + // + // lbl_S2_ExtractOilTitle + // + this.lbl_S2_ExtractOilTitle.Location = new System.Drawing.Point(15, 7); + this.lbl_S2_ExtractOilTitle.Name = "lbl_S2_ExtractOilTitle"; + this.lbl_S2_ExtractOilTitle.Size = new System.Drawing.Size(120, 22); + this.lbl_S2_ExtractOilTitle.TabIndex = 0; + this.lbl_S2_ExtractOilTitle.Text = "抽油量"; + // + // lbl_S2_ExtractOilVal + // this.lbl_S2_ExtractOilVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); this.lbl_S2_ExtractOilVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lbl_S2_ExtractOilVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_ExtractOilVal.Location = new System.Drawing.Point(840, 0); + this.lbl_S2_ExtractOilVal.Name = "lbl_S2_ExtractOilVal"; this.lbl_S2_ExtractOilVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S2_ExtractOilVal.TabIndex = 1; this.lbl_S2_ExtractOilVal.Text = "抽油量:0.00"; this.lbl_S2_ExtractOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - + // + // lbl_S2_ExtractOilUnit + // + this.lbl_S2_ExtractOilUnit.Location = new System.Drawing.Point(342, 44); + this.lbl_S2_ExtractOilUnit.Name = "lbl_S2_ExtractOilUnit"; + this.lbl_S2_ExtractOilUnit.Size = new System.Drawing.Size(36, 22); + this.lbl_S2_ExtractOilUnit.TabIndex = 2; + this.lbl_S2_ExtractOilUnit.Text = "L"; + // + // pnl_S2_OilReleaseBox + // + this.pnl_S2_OilReleaseBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_OilReleaseBox.Controls.Add(this.lbl_S2_OilReleaseTitle); + this.pnl_S2_OilReleaseBox.Controls.Add(this.lbl_S2_OilReleaseUnit); + this.pnl_S2_OilReleaseBox.Location = new System.Drawing.Point(0, 78); + this.pnl_S2_OilReleaseBox.Name = "pnl_S2_OilReleaseBox"; + this.pnl_S2_OilReleaseBox.Size = new System.Drawing.Size(389, 72); + this.pnl_S2_OilReleaseBox.TabIndex = 3; + // + // lbl_S2_OilReleaseTitle + // + this.lbl_S2_OilReleaseTitle.Location = new System.Drawing.Point(15, 7); + this.lbl_S2_OilReleaseTitle.Name = "lbl_S2_OilReleaseTitle"; + this.lbl_S2_OilReleaseTitle.Size = new System.Drawing.Size(120, 22); + this.lbl_S2_OilReleaseTitle.TabIndex = 0; + this.lbl_S2_OilReleaseTitle.Text = "放油量"; + // + // lbl_S2_OilReleaseVal + // this.lbl_S2_OilReleaseVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); this.lbl_S2_OilReleaseVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lbl_S2_OilReleaseVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_OilReleaseVal.Location = new System.Drawing.Point(0, 93); + this.lbl_S2_OilReleaseVal.Name = "lbl_S2_OilReleaseVal"; this.lbl_S2_OilReleaseVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S2_OilReleaseVal.TabIndex = 1; this.lbl_S2_OilReleaseVal.Text = "放油量:0.00"; this.lbl_S2_OilReleaseVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - + // + // lbl_S2_OilReleaseUnit + // + this.lbl_S2_OilReleaseUnit.Location = new System.Drawing.Point(342, 44); + this.lbl_S2_OilReleaseUnit.Name = "lbl_S2_OilReleaseUnit"; + this.lbl_S2_OilReleaseUnit.Size = new System.Drawing.Size(36, 22); + this.lbl_S2_OilReleaseUnit.TabIndex = 2; + this.lbl_S2_OilReleaseUnit.Text = "L"; + // + // pnl_S2_ResidualOilBox + // + this.pnl_S2_ResidualOilBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_ResidualOilBox.Controls.Add(this.lbl_S2_ResidualOilTitle); + this.pnl_S2_ResidualOilBox.Controls.Add(this.lbl_S2_ResidualOilUnit); + this.pnl_S2_ResidualOilBox.Location = new System.Drawing.Point(420, 78); + this.pnl_S2_ResidualOilBox.Name = "pnl_S2_ResidualOilBox"; + this.pnl_S2_ResidualOilBox.Size = new System.Drawing.Size(389, 72); + this.pnl_S2_ResidualOilBox.TabIndex = 4; + // + // lbl_S2_ResidualOilTitle + // + this.lbl_S2_ResidualOilTitle.Location = new System.Drawing.Point(15, 7); + this.lbl_S2_ResidualOilTitle.Name = "lbl_S2_ResidualOilTitle"; + this.lbl_S2_ResidualOilTitle.Size = new System.Drawing.Size(120, 22); + this.lbl_S2_ResidualOilTitle.TabIndex = 0; + this.lbl_S2_ResidualOilTitle.Text = "残油量"; + // + // lbl_S2_ResidualOilVal + // this.lbl_S2_ResidualOilVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); this.lbl_S2_ResidualOilVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lbl_S2_ResidualOilVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_ResidualOilVal.Location = new System.Drawing.Point(420, 93); + this.lbl_S2_ResidualOilVal.Name = "lbl_S2_ResidualOilVal"; this.lbl_S2_ResidualOilVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S2_ResidualOilVal.TabIndex = 1; this.lbl_S2_ResidualOilVal.Text = "残油量:0.00"; this.lbl_S2_ResidualOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - + // + // lbl_S2_ResidualOilUnit + // + this.lbl_S2_ResidualOilUnit.Location = new System.Drawing.Point(342, 44); + this.lbl_S2_ResidualOilUnit.Name = "lbl_S2_ResidualOilUnit"; + this.lbl_S2_ResidualOilUnit.Size = new System.Drawing.Size(36, 22); + this.lbl_S2_ResidualOilUnit.TabIndex = 2; + this.lbl_S2_ResidualOilUnit.Text = "L"; + // + // pnl_S2_QualityBox + // + this.pnl_S2_QualityBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_QualityBox.Controls.Add(this.lbl_S2_QualityTitle); + this.pnl_S2_QualityBox.Location = new System.Drawing.Point(840, 78); + this.pnl_S2_QualityBox.Name = "pnl_S2_QualityBox"; + this.pnl_S2_QualityBox.Size = new System.Drawing.Size(389, 72); + this.pnl_S2_QualityBox.TabIndex = 5; + // + // lbl_S2_QualityTitle + // + this.lbl_S2_QualityTitle.Location = new System.Drawing.Point(15, 7); + this.lbl_S2_QualityTitle.Name = "lbl_S2_QualityTitle"; + this.lbl_S2_QualityTitle.Size = new System.Drawing.Size(120, 22); + this.lbl_S2_QualityTitle.TabIndex = 0; + this.lbl_S2_QualityTitle.Text = "合格结果"; + // + // lbl_S2_QualityVal + // this.lbl_S2_QualityVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); this.lbl_S2_QualityVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lbl_S2_QualityVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); this.lbl_S2_QualityVal.Location = new System.Drawing.Point(840, 93); + this.lbl_S2_QualityVal.Name = "lbl_S2_QualityVal"; this.lbl_S2_QualityVal.Size = new System.Drawing.Size(389, 80); - this.lbl_S2_QualityVal.Text = "合格结果:--"; + this.lbl_S2_QualityVal.TabIndex = 1; + this.lbl_S2_QualityVal.Text = "合格结果:--"; this.lbl_S2_QualityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - this.lbl_S2_AlarmLabel.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - this.lbl_S2_AlarmLabel.Location = new System.Drawing.Point(30, 768); - this.lbl_S2_AlarmLabel.Size = new System.Drawing.Size(112, 42); - - this.lbl_S2_AlarmVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); - this.lbl_S2_AlarmVal.Location = new System.Drawing.Point(180, 768); - this.lbl_S2_AlarmVal.Size = new System.Drawing.Size(1080, 42); - this.lbl_S2_AlarmVal.Text = "无报警"; - - // - + // + // pnl_S2_WeightBox + // + this.pnl_S2_WeightBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.pnl_S2_WeightBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S2_WeightBox.Controls.Add(this.lbl_S2_WeightTitle); + this.pnl_S2_WeightBox.Controls.Add(this.lbl_S2_WeightUnit); + this.pnl_S2_WeightBox.Controls.Add(this.lbl_S2_Weight); + this.pnl_S2_WeightBox.Location = new System.Drawing.Point(30, 375); + this.pnl_S2_WeightBox.Margin = new System.Windows.Forms.Padding(4); + this.pnl_S2_WeightBox.Name = "pnl_S2_WeightBox"; + this.pnl_S2_WeightBox.Size = new System.Drawing.Size(599, 164); + this.pnl_S2_WeightBox.TabIndex = 4; + // + // lbl_S2_WeightTitle + // + this.lbl_S2_WeightTitle.AutoSize = true; + this.lbl_S2_WeightTitle.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); + this.lbl_S2_WeightTitle.Location = new System.Drawing.Point(15, 9); + this.lbl_S2_WeightTitle.Name = "lbl_S2_WeightTitle"; + this.lbl_S2_WeightTitle.Size = new System.Drawing.Size(137, 30); + this.lbl_S2_WeightTitle.TabIndex = 0; + this.lbl_S2_WeightTitle.Text = "实时重量"; + // + // lbl_S2_WeightUnit + // + this.lbl_S2_WeightUnit.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold); + this.lbl_S2_WeightUnit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S2_WeightUnit.Location = new System.Drawing.Point(456, 60); + this.lbl_S2_WeightUnit.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_WeightUnit.Name = "lbl_S2_WeightUnit"; + this.lbl_S2_WeightUnit.Size = new System.Drawing.Size(135, 87); + this.lbl_S2_WeightUnit.TabIndex = 0; + this.lbl_S2_WeightUnit.Text = "KG"; + this.lbl_S2_WeightUnit.TextAlign = System.Drawing.ContentAlignment.BottomLeft; + // + // lbl_S2_Weight + // + this.lbl_S2_Weight.Font = new System.Drawing.Font("Consolas", 54F, System.Drawing.FontStyle.Bold); + this.lbl_S2_Weight.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S2_Weight.Location = new System.Drawing.Point(114, 9); + this.lbl_S2_Weight.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_Weight.Name = "lbl_S2_Weight"; + this.lbl_S2_Weight.Size = new System.Drawing.Size(327, 144); + this.lbl_S2_Weight.TabIndex = 1; + this.lbl_S2_Weight.Text = "0.00"; + this.lbl_S2_Weight.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lbl_S2_PalletVal + // + this.lbl_S2_PalletVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S2_PalletVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S2_PalletVal.Location = new System.Drawing.Point(780, 132); + this.lbl_S2_PalletVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_PalletVal.Name = "lbl_S2_PalletVal"; + this.lbl_S2_PalletVal.Size = new System.Drawing.Size(450, 45); + this.lbl_S2_PalletVal.TabIndex = 5; + this.lbl_S2_PalletVal.Text = "—"; + // + // lbl_S2_PalletLabel + // + this.lbl_S2_PalletLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S2_PalletLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S2_PalletLabel.Location = new System.Drawing.Point(645, 132); + this.lbl_S2_PalletLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_PalletLabel.Name = "lbl_S2_PalletLabel"; + this.lbl_S2_PalletLabel.Size = new System.Drawing.Size(128, 45); + this.lbl_S2_PalletLabel.TabIndex = 6; + this.lbl_S2_PalletLabel.Text = "托盘号:"; + // + // lbl_S2_OrderVal + // + this.lbl_S2_OrderVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S2_OrderVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S2_OrderVal.Location = new System.Drawing.Point(177, 132); + this.lbl_S2_OrderVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_OrderVal.Name = "lbl_S2_OrderVal"; + this.lbl_S2_OrderVal.Size = new System.Drawing.Size(420, 45); + this.lbl_S2_OrderVal.TabIndex = 7; + this.lbl_S2_OrderVal.Text = "—"; + // + // lbl_S2_OrderLabel + // + this.lbl_S2_OrderLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S2_OrderLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S2_OrderLabel.Location = new System.Drawing.Point(30, 132); + this.lbl_S2_OrderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_OrderLabel.Name = "lbl_S2_OrderLabel"; + this.lbl_S2_OrderLabel.Size = new System.Drawing.Size(128, 45); + this.lbl_S2_OrderLabel.TabIndex = 8; + this.lbl_S2_OrderLabel.Text = "订货号:"; + // + // lbl_S2_ModelVal + // + this.lbl_S2_ModelVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S2_ModelVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S2_ModelVal.Location = new System.Drawing.Point(780, 81); + this.lbl_S2_ModelVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_ModelVal.Name = "lbl_S2_ModelVal"; + this.lbl_S2_ModelVal.Size = new System.Drawing.Size(450, 45); + this.lbl_S2_ModelVal.TabIndex = 9; + this.lbl_S2_ModelVal.Text = "—"; + // + // lbl_S2_ModelLabel + // + this.lbl_S2_ModelLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S2_ModelLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S2_ModelLabel.Location = new System.Drawing.Point(645, 81); + this.lbl_S2_ModelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_ModelLabel.Name = "lbl_S2_ModelLabel"; + this.lbl_S2_ModelLabel.Size = new System.Drawing.Size(128, 45); + this.lbl_S2_ModelLabel.TabIndex = 10; + this.lbl_S2_ModelLabel.Text = "机型号:"; + // + // lbl_S2_EngineVal + // + this.lbl_S2_EngineVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S2_EngineVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S2_EngineVal.Location = new System.Drawing.Point(177, 81); + this.lbl_S2_EngineVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_EngineVal.Name = "lbl_S2_EngineVal"; + this.lbl_S2_EngineVal.Size = new System.Drawing.Size(420, 45); + this.lbl_S2_EngineVal.TabIndex = 11; + this.lbl_S2_EngineVal.Text = "—"; + // + // lbl_S2_EngineLabel + // + this.lbl_S2_EngineLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S2_EngineLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S2_EngineLabel.Location = new System.Drawing.Point(30, 81); + this.lbl_S2_EngineLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_EngineLabel.Name = "lbl_S2_EngineLabel"; + this.lbl_S2_EngineLabel.Size = new System.Drawing.Size(142, 45); + this.lbl_S2_EngineLabel.TabIndex = 12; + this.lbl_S2_EngineLabel.Text = "发动机号:"; + // + // pnl_S2_Header + // + this.pnl_S2_Header.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(148)))), ((int)(((byte)(136))))); + this.pnl_S2_Header.Controls.Add(this.lbl_S2_Title); + this.pnl_S2_Header.Dock = System.Windows.Forms.DockStyle.Top; + this.pnl_S2_Header.Location = new System.Drawing.Point(0, 0); + this.pnl_S2_Header.Margin = new System.Windows.Forms.Padding(4); + this.pnl_S2_Header.Name = "pnl_S2_Header"; + this.pnl_S2_Header.Size = new System.Drawing.Size(1389, 63); + this.pnl_S2_Header.TabIndex = 13; + // + // lbl_S2_Title + // + this.lbl_S2_Title.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbl_S2_Title.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); + this.lbl_S2_Title.ForeColor = System.Drawing.Color.White; + this.lbl_S2_Title.Location = new System.Drawing.Point(0, 0); + this.lbl_S2_Title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S2_Title.Name = "lbl_S2_Title"; + this.lbl_S2_Title.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); + this.lbl_S2_Title.Size = new System.Drawing.Size(1389, 63); + this.lbl_S2_Title.TabIndex = 0; + this.lbl_S2_Title.Text = "工位2 — 放油后称重"; + this.lbl_S2_Title.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // pnl_Station1 + // + this.pnl_Station1.BackColor = System.Drawing.Color.White; + this.pnl_Station1.Controls.Add(this.lbl_S1_AlarmVal); + this.pnl_Station1.Controls.Add(this.lbl_S1_AlarmLabel); + this.pnl_Station1.Controls.Add(this.lbl_S1_Info1); + this.pnl_Station1.Controls.Add(this.pnl_S1_MetricBox); + this.pnl_Station1.Controls.Add(this.pnl_S1_WeightBox); + this.pnl_Station1.Controls.Add(this.lbl_S1_PalletVal); + this.pnl_Station1.Controls.Add(this.lbl_S1_PalletLabel); + this.pnl_Station1.Controls.Add(this.lbl_S1_OrderVal); + this.pnl_Station1.Controls.Add(this.lbl_S1_OrderLabel); + this.pnl_Station1.Controls.Add(this.lbl_S1_ModelVal); + this.pnl_Station1.Controls.Add(this.lbl_S1_ModelLabel); + this.pnl_Station1.Controls.Add(this.lbl_S1_EngineVal); + this.pnl_Station1.Controls.Add(this.lbl_S1_EngineLabel); + this.pnl_Station1.Controls.Add(this.pnl_S1_Header); + this.pnl_Station1.Dock = System.Windows.Forms.DockStyle.Left; + this.pnl_Station1.Location = new System.Drawing.Point(18, 18); + this.pnl_Station1.Margin = new System.Windows.Forms.Padding(0, 0, 18, 0); + this.pnl_Station1.Name = "pnl_Station1"; + this.pnl_Station1.Size = new System.Drawing.Size(1305, 939); + this.pnl_Station1.TabIndex = 1; + // + // lbl_S1_AlarmVal + // + this.lbl_S1_AlarmVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_AlarmVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_AlarmVal.Location = new System.Drawing.Point(180, 768); + this.lbl_S1_AlarmVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_AlarmVal.Name = "lbl_S1_AlarmVal"; + this.lbl_S1_AlarmVal.Size = new System.Drawing.Size(1080, 42); + this.lbl_S1_AlarmVal.TabIndex = 0; + this.lbl_S1_AlarmVal.Text = "无报警"; + this.lbl_S1_AlarmVal.Visible = false; + // + // lbl_S1_AlarmLabel + // + this.lbl_S1_AlarmLabel.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_AlarmLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_AlarmLabel.Location = new System.Drawing.Point(30, 768); + this.lbl_S1_AlarmLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_AlarmLabel.Name = "lbl_S1_AlarmLabel"; + this.lbl_S1_AlarmLabel.Size = new System.Drawing.Size(112, 42); + this.lbl_S1_AlarmLabel.TabIndex = 1; + this.lbl_S1_AlarmLabel.Text = "报警:"; + this.lbl_S1_AlarmLabel.Visible = false; + // + // lbl_S1_Info1 + // + this.lbl_S1_Info1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_Info1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_Info1.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Bold); + this.lbl_S1_Info1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_Info1.Location = new System.Drawing.Point(660, 375); + this.lbl_S1_Info1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_Info1.Name = "lbl_S1_Info1"; + this.lbl_S1_Info1.Size = new System.Drawing.Size(599, 164); + this.lbl_S1_Info1.TabIndex = 2; + this.lbl_S1_Info1.Text = "水含量:0.00"; + this.lbl_S1_Info1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // pnl_S1_MetricBox + // + this.pnl_S1_MetricBox.BackColor = System.Drawing.Color.White; + this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_QualityVal); + this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_ResidualOilVal); + this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_OilReleaseVal); + this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_DensityVal); + this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_ExtractOilVal); + this.pnl_S1_MetricBox.Controls.Add(this.lbl_S1_Info2); + this.pnl_S1_MetricBox.Location = new System.Drawing.Point(30, 570); + this.pnl_S1_MetricBox.Margin = new System.Windows.Forms.Padding(4); + this.pnl_S1_MetricBox.Name = "pnl_S1_MetricBox"; + this.pnl_S1_MetricBox.Size = new System.Drawing.Size(1230, 174); + this.pnl_S1_MetricBox.TabIndex = 3; + // + // lbl_S1_QualityVal + // + this.lbl_S1_QualityVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_QualityVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_QualityVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_QualityVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_QualityVal.Location = new System.Drawing.Point(840, 93); + this.lbl_S1_QualityVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_QualityVal.Name = "lbl_S1_QualityVal"; + this.lbl_S1_QualityVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S1_QualityVal.TabIndex = 0; + this.lbl_S1_QualityVal.Text = "合格结果:--"; + this.lbl_S1_QualityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbl_S1_ResidualOilVal + // + this.lbl_S1_ResidualOilVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_ResidualOilVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_ResidualOilVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_ResidualOilVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_ResidualOilVal.Location = new System.Drawing.Point(420, 93); + this.lbl_S1_ResidualOilVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_ResidualOilVal.Name = "lbl_S1_ResidualOilVal"; + this.lbl_S1_ResidualOilVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S1_ResidualOilVal.TabIndex = 1; + this.lbl_S1_ResidualOilVal.Text = "残油量:0.00"; + this.lbl_S1_ResidualOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbl_S1_OilReleaseVal + // + this.lbl_S1_OilReleaseVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_OilReleaseVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_OilReleaseVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_OilReleaseVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_OilReleaseVal.Location = new System.Drawing.Point(0, 93); + this.lbl_S1_OilReleaseVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_OilReleaseVal.Name = "lbl_S1_OilReleaseVal"; + this.lbl_S1_OilReleaseVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S1_OilReleaseVal.TabIndex = 2; + this.lbl_S1_OilReleaseVal.Text = "放油量:0.00"; + this.lbl_S1_OilReleaseVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbl_S1_DensityVal + // + this.lbl_S1_DensityVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_DensityVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_DensityVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_DensityVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_DensityVal.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_DensityVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_DensityVal.Name = "lbl_S1_DensityVal"; + this.lbl_S1_DensityVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S1_DensityVal.TabIndex = 3; + this.lbl_S1_DensityVal.Text = "油密度:0.00"; + this.lbl_S1_DensityVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbl_S1_ExtractOilVal + // + this.lbl_S1_ExtractOilVal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_ExtractOilVal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_ExtractOilVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_ExtractOilVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_ExtractOilVal.Location = new System.Drawing.Point(840, 0); + this.lbl_S1_ExtractOilVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_ExtractOilVal.Name = "lbl_S1_ExtractOilVal"; + this.lbl_S1_ExtractOilVal.Size = new System.Drawing.Size(389, 80); + this.lbl_S1_ExtractOilVal.TabIndex = 4; + this.lbl_S1_ExtractOilVal.Text = "抽油量:0.00"; + this.lbl_S1_ExtractOilVal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lbl_S1_Info2 + // + this.lbl_S1_Info2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.lbl_S1_Info2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbl_S1_Info2.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_Info2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.lbl_S1_Info2.Location = new System.Drawing.Point(420, 0); + this.lbl_S1_Info2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_Info2.Name = "lbl_S1_Info2"; + this.lbl_S1_Info2.Size = new System.Drawing.Size(389, 80); + this.lbl_S1_Info2.TabIndex = 5; + this.lbl_S1_Info2.Text = "加油量:0.00"; + this.lbl_S1_Info2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // pnl_S1_WeightBox + // + this.pnl_S1_WeightBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.pnl_S1_WeightBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_S1_WeightBox.Controls.Add(this.label1); + this.pnl_S1_WeightBox.Controls.Add(this.lbl_S1_WeightUnit); + this.pnl_S1_WeightBox.Controls.Add(this.lbl_S1_Weight); + this.pnl_S1_WeightBox.Location = new System.Drawing.Point(30, 375); + this.pnl_S1_WeightBox.Margin = new System.Windows.Forms.Padding(4); + this.pnl_S1_WeightBox.Name = "pnl_S1_WeightBox"; + this.pnl_S1_WeightBox.Size = new System.Drawing.Size(599, 164); + this.pnl_S1_WeightBox.TabIndex = 4; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); + this.label1.Location = new System.Drawing.Point(15, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(137, 30); + this.label1.TabIndex = 2; + this.label1.Text = "实时重量"; + // + // lbl_S1_WeightUnit + // + this.lbl_S1_WeightUnit.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold); + this.lbl_S1_WeightUnit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_WeightUnit.Location = new System.Drawing.Point(456, 60); + this.lbl_S1_WeightUnit.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_WeightUnit.Name = "lbl_S1_WeightUnit"; + this.lbl_S1_WeightUnit.Size = new System.Drawing.Size(135, 87); + this.lbl_S1_WeightUnit.TabIndex = 0; + this.lbl_S1_WeightUnit.Text = "KG"; + this.lbl_S1_WeightUnit.TextAlign = System.Drawing.ContentAlignment.BottomLeft; + // + // lbl_S1_Weight + // + this.lbl_S1_Weight.Font = new System.Drawing.Font("Consolas", 54F, System.Drawing.FontStyle.Bold); + this.lbl_S1_Weight.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S1_Weight.Location = new System.Drawing.Point(114, 9); + this.lbl_S1_Weight.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_Weight.Name = "lbl_S1_Weight"; + this.lbl_S1_Weight.Size = new System.Drawing.Size(327, 144); + this.lbl_S1_Weight.TabIndex = 1; + this.lbl_S1_Weight.Text = "0.00"; + this.lbl_S1_Weight.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lbl_S1_PalletVal + // + this.lbl_S1_PalletVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_PalletVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S1_PalletVal.Location = new System.Drawing.Point(780, 132); + this.lbl_S1_PalletVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_PalletVal.Name = "lbl_S1_PalletVal"; + this.lbl_S1_PalletVal.Size = new System.Drawing.Size(450, 45); + this.lbl_S1_PalletVal.TabIndex = 5; + this.lbl_S1_PalletVal.Text = "—"; + // + // lbl_S1_PalletLabel + // + this.lbl_S1_PalletLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S1_PalletLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_PalletLabel.Location = new System.Drawing.Point(645, 132); + this.lbl_S1_PalletLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_PalletLabel.Name = "lbl_S1_PalletLabel"; + this.lbl_S1_PalletLabel.Size = new System.Drawing.Size(128, 45); + this.lbl_S1_PalletLabel.TabIndex = 6; + this.lbl_S1_PalletLabel.Text = "托盘号:"; + // + // lbl_S1_OrderVal + // + this.lbl_S1_OrderVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_OrderVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S1_OrderVal.Location = new System.Drawing.Point(177, 132); + this.lbl_S1_OrderVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_OrderVal.Name = "lbl_S1_OrderVal"; + this.lbl_S1_OrderVal.Size = new System.Drawing.Size(420, 45); + this.lbl_S1_OrderVal.TabIndex = 7; + this.lbl_S1_OrderVal.Text = "—"; + // + // lbl_S1_OrderLabel + // + this.lbl_S1_OrderLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S1_OrderLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_OrderLabel.Location = new System.Drawing.Point(30, 132); + this.lbl_S1_OrderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_OrderLabel.Name = "lbl_S1_OrderLabel"; + this.lbl_S1_OrderLabel.Size = new System.Drawing.Size(128, 45); + this.lbl_S1_OrderLabel.TabIndex = 8; + this.lbl_S1_OrderLabel.Text = "订货号:"; + // + // lbl_S1_ModelVal + // + this.lbl_S1_ModelVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_ModelVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S1_ModelVal.Location = new System.Drawing.Point(780, 81); + this.lbl_S1_ModelVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_ModelVal.Name = "lbl_S1_ModelVal"; + this.lbl_S1_ModelVal.Size = new System.Drawing.Size(450, 45); + this.lbl_S1_ModelVal.TabIndex = 9; + this.lbl_S1_ModelVal.Text = "—"; + // + // lbl_S1_ModelLabel + // + this.lbl_S1_ModelLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S1_ModelLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_ModelLabel.Location = new System.Drawing.Point(645, 81); + this.lbl_S1_ModelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_ModelLabel.Name = "lbl_S1_ModelLabel"; + this.lbl_S1_ModelLabel.Size = new System.Drawing.Size(128, 45); + this.lbl_S1_ModelLabel.TabIndex = 10; + this.lbl_S1_ModelLabel.Text = "机型号:"; + // + // lbl_S1_EngineVal + // + this.lbl_S1_EngineVal.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.lbl_S1_EngineVal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_S1_EngineVal.Location = new System.Drawing.Point(177, 81); + this.lbl_S1_EngineVal.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_EngineVal.Name = "lbl_S1_EngineVal"; + this.lbl_S1_EngineVal.Size = new System.Drawing.Size(420, 45); + this.lbl_S1_EngineVal.TabIndex = 11; + this.lbl_S1_EngineVal.Text = "—"; + // + // lbl_S1_EngineLabel + // + this.lbl_S1_EngineLabel.Font = new System.Drawing.Font("微软雅黑", 12.5F, System.Drawing.FontStyle.Bold); + this.lbl_S1_EngineLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(114)))), ((int)(((byte)(128))))); + this.lbl_S1_EngineLabel.Location = new System.Drawing.Point(30, 81); + this.lbl_S1_EngineLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_EngineLabel.Name = "lbl_S1_EngineLabel"; + this.lbl_S1_EngineLabel.Size = new System.Drawing.Size(142, 45); + this.lbl_S1_EngineLabel.TabIndex = 12; + this.lbl_S1_EngineLabel.Text = "发动机号:"; + // + // pnl_S1_Header + // + this.pnl_S1_Header.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(74)))), ((int)(((byte)(144)))), ((int)(((byte)(217))))); + this.pnl_S1_Header.Controls.Add(this.lbl_S1_Title); + this.pnl_S1_Header.Dock = System.Windows.Forms.DockStyle.Top; + this.pnl_S1_Header.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_Header.Margin = new System.Windows.Forms.Padding(4); + this.pnl_S1_Header.Name = "pnl_S1_Header"; + this.pnl_S1_Header.Size = new System.Drawing.Size(1305, 63); + this.pnl_S1_Header.TabIndex = 13; + // + // lbl_S1_Title + // + this.lbl_S1_Title.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbl_S1_Title.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); + this.lbl_S1_Title.ForeColor = System.Drawing.Color.White; + this.lbl_S1_Title.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_Title.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_S1_Title.Name = "lbl_S1_Title"; + this.lbl_S1_Title.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0); + this.lbl_S1_Title.Size = new System.Drawing.Size(1305, 63); + this.lbl_S1_Title.TabIndex = 0; + this.lbl_S1_Title.Text = "工位1 — 放油前称重"; + this.lbl_S1_Title.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // pnl_S1_WaterBox + // + this.pnl_S1_WaterBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_WaterBox.Name = "pnl_S1_WaterBox"; + this.pnl_S1_WaterBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_WaterBox.TabIndex = 0; + // + // lbl_S1_WaterTitle + // + this.lbl_S1_WaterTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_WaterTitle.Name = "lbl_S1_WaterTitle"; + this.lbl_S1_WaterTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_WaterTitle.TabIndex = 0; + // + // lbl_S1_WaterUnit + // + this.lbl_S1_WaterUnit.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_WaterUnit.Name = "lbl_S1_WaterUnit"; + this.lbl_S1_WaterUnit.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_WaterUnit.TabIndex = 0; + // + // pnl_S1_QualityBox + // + this.pnl_S1_QualityBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_QualityBox.Name = "pnl_S1_QualityBox"; + this.pnl_S1_QualityBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_QualityBox.TabIndex = 0; + // + // lbl_S1_QualityTitle + // + this.lbl_S1_QualityTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_QualityTitle.Name = "lbl_S1_QualityTitle"; + this.lbl_S1_QualityTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_QualityTitle.TabIndex = 0; + // + // pnl_S1_ResidualOilBox + // + this.pnl_S1_ResidualOilBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_ResidualOilBox.Name = "pnl_S1_ResidualOilBox"; + this.pnl_S1_ResidualOilBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_ResidualOilBox.TabIndex = 0; + // + // lbl_S1_ResidualOilTitle + // + this.lbl_S1_ResidualOilTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_ResidualOilTitle.Name = "lbl_S1_ResidualOilTitle"; + this.lbl_S1_ResidualOilTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_ResidualOilTitle.TabIndex = 0; + // + // lbl_S1_ResidualOilUnit + // + this.lbl_S1_ResidualOilUnit.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_ResidualOilUnit.Name = "lbl_S1_ResidualOilUnit"; + this.lbl_S1_ResidualOilUnit.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_ResidualOilUnit.TabIndex = 0; + // + // pnl_S1_OilReleaseBox + // + this.pnl_S1_OilReleaseBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_OilReleaseBox.Name = "pnl_S1_OilReleaseBox"; + this.pnl_S1_OilReleaseBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_OilReleaseBox.TabIndex = 0; + // + // lbl_S1_OilReleaseTitle + // + this.lbl_S1_OilReleaseTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_OilReleaseTitle.Name = "lbl_S1_OilReleaseTitle"; + this.lbl_S1_OilReleaseTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_OilReleaseTitle.TabIndex = 0; + // + // lbl_S1_OilReleaseUnit + // + this.lbl_S1_OilReleaseUnit.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_OilReleaseUnit.Name = "lbl_S1_OilReleaseUnit"; + this.lbl_S1_OilReleaseUnit.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_OilReleaseUnit.TabIndex = 0; + // + // pnl_S1_DensityBox + // + this.pnl_S1_DensityBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_DensityBox.Name = "pnl_S1_DensityBox"; + this.pnl_S1_DensityBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_DensityBox.TabIndex = 0; + // + // lbl_S1_DensityTitle + // + this.lbl_S1_DensityTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_DensityTitle.Name = "lbl_S1_DensityTitle"; + this.lbl_S1_DensityTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_DensityTitle.TabIndex = 0; + // + // lbl_S1_DensityUnit + // + this.lbl_S1_DensityUnit.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_DensityUnit.Name = "lbl_S1_DensityUnit"; + this.lbl_S1_DensityUnit.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_DensityUnit.TabIndex = 0; + // + // pnl_S1_ExtractOilBox + // + this.pnl_S1_ExtractOilBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_ExtractOilBox.Name = "pnl_S1_ExtractOilBox"; + this.pnl_S1_ExtractOilBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_ExtractOilBox.TabIndex = 0; + // + // lbl_S1_ExtractOilTitle + // + this.lbl_S1_ExtractOilTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_ExtractOilTitle.Name = "lbl_S1_ExtractOilTitle"; + this.lbl_S1_ExtractOilTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_ExtractOilTitle.TabIndex = 0; + // + // lbl_S1_ExtractOilUnit + // + this.lbl_S1_ExtractOilUnit.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_ExtractOilUnit.Name = "lbl_S1_ExtractOilUnit"; + this.lbl_S1_ExtractOilUnit.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_ExtractOilUnit.TabIndex = 0; + // + // pnl_S1_AddOilBox + // + this.pnl_S1_AddOilBox.Location = new System.Drawing.Point(0, 0); + this.pnl_S1_AddOilBox.Name = "pnl_S1_AddOilBox"; + this.pnl_S1_AddOilBox.Size = new System.Drawing.Size(200, 100); + this.pnl_S1_AddOilBox.TabIndex = 0; + // + // lbl_S1_AddOilTitle + // + this.lbl_S1_AddOilTitle.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_AddOilTitle.Name = "lbl_S1_AddOilTitle"; + this.lbl_S1_AddOilTitle.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_AddOilTitle.TabIndex = 0; + // + // lbl_S1_AddOilUnit + // + this.lbl_S1_AddOilUnit.Location = new System.Drawing.Point(0, 0); + this.lbl_S1_AddOilUnit.Name = "lbl_S1_AddOilUnit"; + this.lbl_S1_AddOilUnit.Size = new System.Drawing.Size(100, 23); + this.lbl_S1_AddOilUnit.TabIndex = 0; + // + // pnl_Log + // + this.pnl_Log.BackColor = System.Drawing.Color.White; + this.pnl_Log.Controls.Add(this.txt_Log); + this.pnl_Log.Controls.Add(this.lbl_LogTitle); + this.pnl_Log.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pnl_Log.Location = new System.Drawing.Point(0, 975); + this.pnl_Log.Margin = new System.Windows.Forms.Padding(4); + this.pnl_Log.Name = "pnl_Log"; + this.pnl_Log.Padding = new System.Windows.Forms.Padding(24, 6, 24, 12); + this.pnl_Log.Size = new System.Drawing.Size(2730, 525); + this.pnl_Log.TabIndex = 1; + // + // txt_Log + // + this.txt_Log.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252))))); + this.txt_Log.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txt_Log.Dock = System.Windows.Forms.DockStyle.Fill; + this.txt_Log.Font = new System.Drawing.Font("Consolas", 10F); + this.txt_Log.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(65)))), ((int)(((byte)(81))))); + this.txt_Log.Location = new System.Drawing.Point(24, 48); + this.txt_Log.Margin = new System.Windows.Forms.Padding(4); + this.txt_Log.Multiline = true; + this.txt_Log.Name = "txt_Log"; + this.txt_Log.ReadOnly = true; + this.txt_Log.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txt_Log.Size = new System.Drawing.Size(2682, 465); + this.txt_Log.TabIndex = 0; + // + // lbl_LogTitle + // + this.lbl_LogTitle.Dock = System.Windows.Forms.DockStyle.Top; + this.lbl_LogTitle.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold); + this.lbl_LogTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(58)))), ((int)(((byte)(95))))); + this.lbl_LogTitle.Location = new System.Drawing.Point(24, 6); + this.lbl_LogTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_LogTitle.Name = "lbl_LogTitle"; + this.lbl_LogTitle.Size = new System.Drawing.Size(2682, 42); + this.lbl_LogTitle.TabIndex = 1; + this.lbl_LogTitle.Text = "操作消息"; + this.lbl_LogTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // UC_Weighing - - // - + // this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(247)))), ((int)(((byte)(250))))); - this.Controls.Add(this.pnl_Stations); - this.Controls.Add(this.pnl_Log); - - this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - + this.Margin = new System.Windows.Forms.Padding(4); this.Name = "UC_Weighing"; - this.Size = new System.Drawing.Size(2730, 1500); - this.pnl_Stations.ResumeLayout(false); - this.pnl_Station2.ResumeLayout(false); - - this.pnl_Station2.PerformLayout(); - this.pnl_S2_WaterBox.ResumeLayout(false); - this.pnl_S2_WaterBox.PerformLayout(); - this.pnl_S2_MetricBox.ResumeLayout(false); - + this.pnl_S2_DensityBox.ResumeLayout(false); + this.pnl_S2_AddOilBox.ResumeLayout(false); + this.pnl_S2_ExtractOilBox.ResumeLayout(false); + this.pnl_S2_OilReleaseBox.ResumeLayout(false); + this.pnl_S2_ResidualOilBox.ResumeLayout(false); + this.pnl_S2_QualityBox.ResumeLayout(false); this.pnl_S2_WeightBox.ResumeLayout(false); - this.pnl_S2_WeightBox.PerformLayout(); - this.pnl_S2_Header.ResumeLayout(false); - this.pnl_Station1.ResumeLayout(false); - this.pnl_S1_MetricBox.ResumeLayout(false); - this.pnl_S1_WeightBox.ResumeLayout(false); - this.pnl_S1_WeightBox.PerformLayout(); - this.pnl_S1_Header.ResumeLayout(false); - this.pnl_Log.ResumeLayout(false); - this.pnl_Log.PerformLayout(); - this.ResumeLayout(false); } diff --git a/SCADA/Pages/UC_Weighing.resx b/SCADA/Pages/UC_Weighing.resx index 1af7de1..29dcb1b 100644 --- a/SCADA/Pages/UC_Weighing.resx +++ b/SCADA/Pages/UC_Weighing.resx @@ -1,120 +1,120 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/SCADA/WebApi/HttpCli.cs b/SCADA/WebApi/HttpCli.cs index f3d8c17..0d7b5f9 100644 --- a/SCADA/WebApi/HttpCli.cs +++ b/SCADA/WebApi/HttpCli.cs @@ -1,8 +1,8 @@ using MesWork; using System; using System.Collections.Generic; -using System.Configuration; -using System.IO; +using System.Configuration; +using System.IO; using System.Linq; using System.Net; using System.Text; @@ -222,11 +222,11 @@ namespace PLMTEST req.ContentType = "application/json"; // 添加自定义 Header - string authorization = ConfigurationManager.AppSettings["AuthorizationSet"]; - if (!string.IsNullOrWhiteSpace(authorization)) - { - req.Headers.Add("Authorization", authorization); - } + string authorization = ConfigurationManager.AppSettings["AuthorizationSet"]; + if (!string.IsNullOrWhiteSpace(authorization)) + { + req.Headers.Add("Authorization", authorization); + } req.Headers.Add("uuid", Guid.NewGuid().ToString().ToUpper()); #region 添加Post 参数