From f6a0731acd858a13cf26cac538d0ae5c8fa82edb Mon Sep 17 00:00:00 2001 From: wxt Date: Sat, 3 Jan 2026 13:29:46 +0800 Subject: [PATCH] --- .../ParameterSetting.Designer.cs | 20 +- .../外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.cs | 2 +- .../SecondaryIgnitionForm.Designer.cs | 436 +++++++----------- .../SecondaryIgnitionForm.cs | 7 +- 4 files changed, 193 insertions(+), 272 deletions(-) diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.Designer.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.Designer.cs index b5c6a67..ed03152 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.Designer.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.Designer.cs @@ -126,7 +126,7 @@ // uiTextBox3 // uiTextBox3.Font = new Font("微软雅黑", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiTextBox3.Location = new Point(708, 111); + uiTextBox3.Location = new Point(708, 109); uiTextBox3.Margin = new Padding(4, 5, 4, 5); uiTextBox3.MinimumSize = new Size(1, 16); uiTextBox3.Name = "uiTextBox3"; @@ -134,7 +134,7 @@ uiTextBox3.Radius = 3; uiTextBox3.RectColor = Color.FromArgb(220, 220, 220); uiTextBox3.ShowText = false; - uiTextBox3.Size = new Size(186, 35); + uiTextBox3.Size = new Size(186, 40); uiTextBox3.Style = Sunny.UI.UIStyle.Custom; uiTextBox3.StyleCustomMode = true; uiTextBox3.TabIndex = 6; @@ -177,7 +177,7 @@ // uiTextBox4 // uiTextBox4.Font = new Font("微软雅黑", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiTextBox4.Location = new Point(708, 31); + uiTextBox4.Location = new Point(708, 29); uiTextBox4.Margin = new Padding(4, 5, 4, 5); uiTextBox4.MinimumSize = new Size(1, 16); uiTextBox4.Name = "uiTextBox4"; @@ -185,7 +185,7 @@ uiTextBox4.Radius = 3; uiTextBox4.RectColor = Color.FromArgb(220, 220, 220); uiTextBox4.ShowText = false; - uiTextBox4.Size = new Size(186, 35); + uiTextBox4.Size = new Size(186, 40); uiTextBox4.Style = Sunny.UI.UIStyle.Custom; uiTextBox4.StyleCustomMode = true; uiTextBox4.TabIndex = 1; @@ -253,7 +253,7 @@ // uiTextBox2 // uiTextBox2.Font = new Font("微软雅黑", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiTextBox2.Location = new Point(708, 111); + uiTextBox2.Location = new Point(708, 109); uiTextBox2.Margin = new Padding(4, 5, 4, 5); uiTextBox2.MinimumSize = new Size(1, 16); uiTextBox2.Name = "uiTextBox2"; @@ -261,7 +261,7 @@ uiTextBox2.Radius = 3; uiTextBox2.RectColor = Color.FromArgb(220, 220, 220); uiTextBox2.ShowText = false; - uiTextBox2.Size = new Size(186, 35); + uiTextBox2.Size = new Size(186, 40); uiTextBox2.Style = Sunny.UI.UIStyle.Custom; uiTextBox2.StyleCustomMode = true; uiTextBox2.TabIndex = 6; @@ -303,8 +303,10 @@ // // uiTextBox1 // + uiTextBox1.DoubleValue = 11D; uiTextBox1.Font = new Font("微软雅黑", 12F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiTextBox1.Location = new Point(708, 31); + uiTextBox1.IntValue = 11; + uiTextBox1.Location = new Point(708, 29); uiTextBox1.Margin = new Padding(4, 5, 4, 5); uiTextBox1.MinimumSize = new Size(1, 16); uiTextBox1.Name = "uiTextBox1"; @@ -312,11 +314,11 @@ uiTextBox1.Radius = 3; uiTextBox1.RectColor = Color.FromArgb(220, 220, 220); uiTextBox1.ShowText = false; - uiTextBox1.Size = new Size(186, 35); + uiTextBox1.Size = new Size(186, 40); uiTextBox1.Style = Sunny.UI.UIStyle.Custom; uiTextBox1.StyleCustomMode = true; uiTextBox1.TabIndex = 1; - uiTextBox1.Text = "0.000"; + uiTextBox1.Text = "11"; uiTextBox1.TextAlignment = ContentAlignment.MiddleLeft; uiTextBox1.Watermark = ""; uiTextBox1.Click += uiTextBox1_Click; diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.cs index af31ae0..8cac8da 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/ParameterSetting.cs @@ -68,7 +68,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 ReadFloatAsync(1334,2,uiLabel4,"F1",""),//温度 ReadFloatAsync(1384,2,uiLabel5,"F1",""),//湿度 - ReadFloatAsync(102,2,uiLabel1,"F1",""),//氧浓度 + ReadFloatAsync(102,2,uiLabel11,"F1",""),//氧浓度 ReadFloatAsync(106,2,uiLabel8,"F1",""),//穿透温度 ReadAndUpdateFloatAsync(1328,2,uiTextBox1,"F3",""),//温度系数 diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.Designer.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.Designer.cs index 3013b0f..ad0d4b0 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.Designer.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.Designer.cs @@ -28,11 +28,6 @@ /// private void InitializeComponent() { - DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle(); - DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle(); - DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle(); - DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle(); - DataGridViewCellStyle dataGridViewCellStyle5 = new DataGridViewCellStyle(); uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel(); uiTableLayoutPanel2 = new Sunny.UI.UITableLayoutPanel(); uiPanel3 = new Sunny.UI.UIPanel(); @@ -82,20 +77,18 @@ uiLabel20 = new Sunny.UI.UILabel(); uiLabel18 = new Sunny.UI.UILabel(); uiLabel17 = new Sunny.UI.UILabel(); - uiTableLayoutPanel6 = new Sunny.UI.UITableLayoutPanel(); - uiPanel4 = new Sunny.UI.UIPanel(); - uiDataGridView1 = new Sunny.UI.UIDataGridView(); - Column1 = new DataGridViewTextBoxColumn(); - Column7 = new DataGridViewTextBoxColumn(); - Column2 = new DataGridViewTextBoxColumn(); - Column3 = new DataGridViewTextBoxColumn(); - Column4 = new DataGridViewTextBoxColumn(); - Column5 = new DataGridViewTextBoxColumn(); - Column6 = new DataGridViewTextBoxColumn(); - uiPanel5 = new Sunny.UI.UIPanel(); - uiButton10 = new Sunny.UI.UIButton(); - uiButton9 = new Sunny.UI.UIButton(); - uiButton8 = new Sunny.UI.UIButton(); + uiLabel10 = new Sunny.UI.UILabel(); + uiLabel11 = new Sunny.UI.UILabel(); + uiLabel27 = new Sunny.UI.UILabel(); + uiLabel28 = new Sunny.UI.UILabel(); + uiLabel29 = new Sunny.UI.UILabel(); + uiLabel30 = new Sunny.UI.UILabel(); + uiLabel31 = new Sunny.UI.UILabel(); + uiLabel32 = new Sunny.UI.UILabel(); + uiLabel33 = new Sunny.UI.UILabel(); + uiLabel34 = new Sunny.UI.UILabel(); + uiLabel35 = new Sunny.UI.UILabel(); + uiLabel36 = new Sunny.UI.UILabel(); uiTableLayoutPanel1.SuspendLayout(); uiTableLayoutPanel2.SuspendLayout(); uiPanel3.SuspendLayout(); @@ -110,10 +103,6 @@ uiTableLayoutPanel5.SuspendLayout(); uiGroupBox5.SuspendLayout(); uiGroupBox4.SuspendLayout(); - uiTableLayoutPanel6.SuspendLayout(); - uiPanel4.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)uiDataGridView1).BeginInit(); - uiPanel5.SuspendLayout(); SuspendLayout(); // // uiTableLayoutPanel1 @@ -830,13 +819,12 @@ uiTableLayoutPanel4.ColumnCount = 1; uiTableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); uiTableLayoutPanel4.Controls.Add(uiTableLayoutPanel5, 0, 0); - uiTableLayoutPanel4.Controls.Add(uiTableLayoutPanel6, 0, 1); uiTableLayoutPanel4.Dock = DockStyle.Fill; uiTableLayoutPanel4.Location = new Point(763, 3); uiTableLayoutPanel4.Name = "uiTableLayoutPanel4"; - uiTableLayoutPanel4.RowCount = 2; - uiTableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 30F)); - uiTableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 70F)); + uiTableLayoutPanel4.RowCount = 1; + uiTableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); + uiTableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); uiTableLayoutPanel4.Size = new Size(1134, 934); uiTableLayoutPanel4.TabIndex = 1; uiTableLayoutPanel4.TagString = null; @@ -853,7 +841,7 @@ uiTableLayoutPanel5.Name = "uiTableLayoutPanel5"; uiTableLayoutPanel5.RowCount = 1; uiTableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); - uiTableLayoutPanel5.Size = new Size(1128, 274); + uiTableLayoutPanel5.Size = new Size(1128, 928); uiTableLayoutPanel5.TabIndex = 2; uiTableLayoutPanel5.TagString = null; // @@ -872,7 +860,7 @@ uiGroupBox5.Padding = new Padding(0, 32, 0, 0); uiGroupBox5.Radius = 6; uiGroupBox5.RectColor = Color.FromArgb(220, 223, 230); - uiGroupBox5.Size = new Size(556, 264); + uiGroupBox5.Size = new Size(556, 918); uiGroupBox5.Style = Sunny.UI.UIStyle.Custom; uiGroupBox5.StyleCustomMode = true; uiGroupBox5.TabIndex = 1; @@ -890,10 +878,23 @@ uiLabel16.StyleCustomMode = true; uiLabel16.TabIndex = 0; uiLabel16.Text = "SI1: 未点火\r\nSI2:点火后自熄\r\nSI3:点火且不自熄\r\n\r\n根据 BS EN ISO 11810:2015 标准\r\n\r\n测试条件: 试样下方放置棉纱布,激光穿透试样后是否引燃棉纱布"; + uiLabel16.Click += uiLabel16_Click; // // uiGroupBox4 // uiGroupBox4.BackColor = Color.White; + uiGroupBox4.Controls.Add(uiLabel35); + uiGroupBox4.Controls.Add(uiLabel36); + uiGroupBox4.Controls.Add(uiLabel33); + uiGroupBox4.Controls.Add(uiLabel34); + uiGroupBox4.Controls.Add(uiLabel31); + uiGroupBox4.Controls.Add(uiLabel32); + uiGroupBox4.Controls.Add(uiLabel29); + uiGroupBox4.Controls.Add(uiLabel30); + uiGroupBox4.Controls.Add(uiLabel27); + uiGroupBox4.Controls.Add(uiLabel28); + uiGroupBox4.Controls.Add(uiLabel10); + uiGroupBox4.Controls.Add(uiLabel11); uiGroupBox4.Controls.Add(uiLabel21); uiGroupBox4.Controls.Add(uiLabel22); uiGroupBox4.Controls.Add(uiLabel19); @@ -911,7 +912,7 @@ uiGroupBox4.Padding = new Padding(0, 32, 0, 0); uiGroupBox4.Radius = 6; uiGroupBox4.RectColor = Color.FromArgb(220, 223, 230); - uiGroupBox4.Size = new Size(556, 264); + uiGroupBox4.Size = new Size(556, 918); uiGroupBox4.Style = Sunny.UI.UIStyle.Custom; uiGroupBox4.StyleCustomMode = true; uiGroupBox4.TabIndex = 0; @@ -996,242 +997,161 @@ uiLabel17.Text = "测试样品项:"; uiLabel17.TextAlign = ContentAlignment.MiddleLeft; // - // uiTableLayoutPanel6 + // uiLabel10 // - uiTableLayoutPanel6.ColumnCount = 1; - uiTableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); - uiTableLayoutPanel6.Controls.Add(uiPanel4, 0, 0); - uiTableLayoutPanel6.Controls.Add(uiPanel5, 0, 1); - uiTableLayoutPanel6.Dock = DockStyle.Fill; - uiTableLayoutPanel6.Location = new Point(3, 283); - uiTableLayoutPanel6.Name = "uiTableLayoutPanel6"; - uiTableLayoutPanel6.RowCount = 2; - uiTableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 88F)); - uiTableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 12F)); - uiTableLayoutPanel6.Size = new Size(1128, 648); - uiTableLayoutPanel6.TabIndex = 3; - uiTableLayoutPanel6.TagString = null; + uiLabel10.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134); + uiLabel10.ForeColor = Color.FromArgb(64, 158, 255); + uiLabel10.Location = new Point(200, 234); + uiLabel10.Name = "uiLabel10"; + uiLabel10.Size = new Size(169, 31); + uiLabel10.Style = Sunny.UI.UIStyle.Custom; + uiLabel10.StyleCustomMode = true; + uiLabel10.TabIndex = 7; + uiLabel10.Text = "I1"; + uiLabel10.TextAlign = ContentAlignment.MiddleCenter; // - // uiPanel4 + // uiLabel11 // - uiPanel4.BackColor = Color.White; - uiPanel4.Controls.Add(uiDataGridView1); - uiPanel4.Dock = DockStyle.Fill; - uiPanel4.FillColor = Color.White; - uiPanel4.Font = new Font("微软雅黑", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiPanel4.Location = new Point(4, 5); - uiPanel4.Margin = new Padding(4, 5, 4, 5); - uiPanel4.MinimumSize = new Size(1, 1); - uiPanel4.Name = "uiPanel4"; - uiPanel4.Padding = new Padding(1); - uiPanel4.Radius = 0; - uiPanel4.RectColor = Color.FromArgb(220, 223, 230); - uiPanel4.Size = new Size(1120, 560); - uiPanel4.Style = Sunny.UI.UIStyle.Custom; - uiPanel4.StyleCustomMode = true; - uiPanel4.TabIndex = 0; - uiPanel4.Text = null; - uiPanel4.TextAlignment = ContentAlignment.MiddleCenter; + uiLabel11.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel11.ForeColor = Color.FromArgb(96, 98, 102); + uiLabel11.Location = new Point(70, 234); + uiLabel11.Name = "uiLabel11"; + uiLabel11.Size = new Size(132, 31); + uiLabel11.Style = Sunny.UI.UIStyle.Custom; + uiLabel11.StyleCustomMode = true; + uiLabel11.TabIndex = 6; + uiLabel11.Text = "分类结果:"; + uiLabel11.TextAlign = ContentAlignment.MiddleLeft; // - // uiDataGridView1 + // uiLabel27 // - dataGridViewCellStyle1.BackColor = Color.FromArgb(250, 252, 255); - uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; - uiDataGridView1.BackgroundColor = Color.White; - uiDataGridView1.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle2.BackColor = Color.FromArgb(64, 158, 255); - dataGridViewCellStyle2.Font = new Font("微软雅黑", 10F, FontStyle.Regular, GraphicsUnit.Point, 134); - dataGridViewCellStyle2.ForeColor = Color.White; - dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; - uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; - uiDataGridView1.ColumnHeadersHeight = 40; - uiDataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing; - uiDataGridView1.Columns.AddRange(new DataGridViewColumn[] { Column1, Column7, Column2, Column3, Column4, Column5, Column6 }); - dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = SystemColors.Window; - dataGridViewCellStyle3.Font = new Font("微软雅黑", 10F, FontStyle.Regular, GraphicsUnit.Point, 134); - dataGridViewCellStyle3.ForeColor = Color.FromArgb(48, 48, 48); - dataGridViewCellStyle3.SelectionBackColor = Color.FromArgb(235, 243, 255); - dataGridViewCellStyle3.SelectionForeColor = Color.FromArgb(48, 49, 51); - dataGridViewCellStyle3.WrapMode = DataGridViewTriState.False; - uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle3; - uiDataGridView1.Dock = DockStyle.Fill; - uiDataGridView1.EnableHeadersVisualStyles = false; - uiDataGridView1.Font = new Font("微软雅黑", 10F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiDataGridView1.GridColor = Color.FromArgb(220, 223, 230); - uiDataGridView1.Location = new Point(1, 1); - uiDataGridView1.Name = "uiDataGridView1"; - uiDataGridView1.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single; - dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = Color.FromArgb(250, 252, 255); - dataGridViewCellStyle4.Font = new Font("微软雅黑", 10F, FontStyle.Regular, GraphicsUnit.Point, 134); - dataGridViewCellStyle4.ForeColor = Color.FromArgb(48, 48, 48); - dataGridViewCellStyle4.SelectionBackColor = Color.FromArgb(64, 158, 255); - dataGridViewCellStyle4.SelectionForeColor = Color.White; - dataGridViewCellStyle4.WrapMode = DataGridViewTriState.True; - uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; - uiDataGridView1.RowHeadersWidth = 62; - dataGridViewCellStyle5.BackColor = Color.White; - dataGridViewCellStyle5.Font = new Font("微软雅黑", 10F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5; - uiDataGridView1.SelectedIndex = -1; - uiDataGridView1.Size = new Size(1118, 558); - uiDataGridView1.StripeOddColor = Color.FromArgb(250, 252, 255); - uiDataGridView1.TabIndex = 0; + uiLabel27.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134); + uiLabel27.ForeColor = Color.FromArgb(64, 158, 255); + uiLabel27.Location = new Point(200, 295); + uiLabel27.Name = "uiLabel27"; + uiLabel27.Size = new Size(169, 31); + uiLabel27.Style = Sunny.UI.UIStyle.Custom; + uiLabel27.StyleCustomMode = true; + uiLabel27.TabIndex = 9; + uiLabel27.Text = "I1"; + uiLabel27.TextAlign = ContentAlignment.MiddleCenter; // - // Column1 + // uiLabel28 // - Column1.HeaderText = "测试项"; - Column1.MinimumWidth = 8; - Column1.Name = "Column1"; - Column1.ReadOnly = true; - Column1.Width = 150; + uiLabel28.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel28.ForeColor = Color.FromArgb(96, 98, 102); + uiLabel28.Location = new Point(70, 295); + uiLabel28.Name = "uiLabel28"; + uiLabel28.Size = new Size(132, 31); + uiLabel28.Style = Sunny.UI.UIStyle.Custom; + uiLabel28.StyleCustomMode = true; + uiLabel28.TabIndex = 8; + uiLabel28.Text = "分类结果:"; + uiLabel28.TextAlign = ContentAlignment.MiddleLeft; // - // Column7 + // uiLabel29 // - Column7.HeaderText = "是否自熄"; - Column7.MinimumWidth = 8; - Column7.Name = "Column7"; - Column7.ReadOnly = true; - Column7.Width = 150; + uiLabel29.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134); + uiLabel29.ForeColor = Color.FromArgb(64, 158, 255); + uiLabel29.Location = new Point(192, 364); + uiLabel29.Name = "uiLabel29"; + uiLabel29.Size = new Size(169, 31); + uiLabel29.Style = Sunny.UI.UIStyle.Custom; + uiLabel29.StyleCustomMode = true; + uiLabel29.TabIndex = 11; + uiLabel29.Text = "I1"; + uiLabel29.TextAlign = ContentAlignment.MiddleCenter; // - // Column2 + // uiLabel30 // - Column2.HeaderText = "分类结果"; - Column2.MinimumWidth = 8; - Column2.Name = "Column2"; - Column2.ReadOnly = true; - Column2.Width = 150; + uiLabel30.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel30.ForeColor = Color.FromArgb(96, 98, 102); + uiLabel30.Location = new Point(62, 364); + uiLabel30.Name = "uiLabel30"; + uiLabel30.Size = new Size(132, 31); + uiLabel30.Style = Sunny.UI.UIStyle.Custom; + uiLabel30.StyleCustomMode = true; + uiLabel30.TabIndex = 10; + uiLabel30.Text = "分类结果:"; + uiLabel30.TextAlign = ContentAlignment.MiddleLeft; // - // Column3 + // uiLabel31 // - Column3.HeaderText = "氧浓度(%)"; - Column3.MinimumWidth = 8; - Column3.Name = "Column3"; - Column3.ReadOnly = true; - Column3.Width = 150; + uiLabel31.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134); + uiLabel31.ForeColor = Color.FromArgb(64, 158, 255); + uiLabel31.Location = new Point(192, 434); + uiLabel31.Name = "uiLabel31"; + uiLabel31.Size = new Size(169, 31); + uiLabel31.Style = Sunny.UI.UIStyle.Custom; + uiLabel31.StyleCustomMode = true; + uiLabel31.TabIndex = 13; + uiLabel31.Text = "I1"; + uiLabel31.TextAlign = ContentAlignment.MiddleCenter; // - // Column4 + // uiLabel32 // - Column4.HeaderText = "点火时间(s)"; - Column4.MinimumWidth = 8; - Column4.Name = "Column4"; - Column4.ReadOnly = true; - Column4.Width = 150; + uiLabel32.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel32.ForeColor = Color.FromArgb(96, 98, 102); + uiLabel32.Location = new Point(62, 434); + uiLabel32.Name = "uiLabel32"; + uiLabel32.Size = new Size(132, 31); + uiLabel32.Style = Sunny.UI.UIStyle.Custom; + uiLabel32.StyleCustomMode = true; + uiLabel32.TabIndex = 12; + uiLabel32.Text = "分类结果:"; + uiLabel32.TextAlign = ContentAlignment.MiddleLeft; // - // Column5 + // uiLabel33 // - Column5.HeaderText = "余焰时间(s)"; - Column5.MinimumWidth = 8; - Column5.Name = "Column5"; - Column5.ReadOnly = true; - Column5.Width = 150; + uiLabel33.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134); + uiLabel33.ForeColor = Color.FromArgb(64, 158, 255); + uiLabel33.Location = new Point(192, 492); + uiLabel33.Name = "uiLabel33"; + uiLabel33.Size = new Size(169, 31); + uiLabel33.Style = Sunny.UI.UIStyle.Custom; + uiLabel33.StyleCustomMode = true; + uiLabel33.TabIndex = 15; + uiLabel33.Text = "I1"; + uiLabel33.TextAlign = ContentAlignment.MiddleCenter; // - // Column6 + // uiLabel34 // - Column6.HeaderText = "余辉时间(s)"; - Column6.MinimumWidth = 8; - Column6.Name = "Column6"; - Column6.ReadOnly = true; - Column6.Width = 150; + uiLabel34.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel34.ForeColor = Color.FromArgb(96, 98, 102); + uiLabel34.Location = new Point(62, 492); + uiLabel34.Name = "uiLabel34"; + uiLabel34.Size = new Size(132, 31); + uiLabel34.Style = Sunny.UI.UIStyle.Custom; + uiLabel34.StyleCustomMode = true; + uiLabel34.TabIndex = 14; + uiLabel34.Text = "分类结果:"; + uiLabel34.TextAlign = ContentAlignment.MiddleLeft; // - // uiPanel5 + // uiLabel35 // - uiPanel5.BackColor = Color.White; - uiPanel5.Controls.Add(uiButton10); - uiPanel5.Controls.Add(uiButton9); - uiPanel5.Controls.Add(uiButton8); - uiPanel5.Dock = DockStyle.Fill; - uiPanel5.FillColor = Color.White; - uiPanel5.Font = new Font("微软雅黑", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiPanel5.Location = new Point(4, 575); - uiPanel5.Margin = new Padding(4, 5, 4, 5); - uiPanel5.MinimumSize = new Size(1, 1); - uiPanel5.Name = "uiPanel5"; - uiPanel5.Radius = 0; - uiPanel5.RectColor = Color.FromArgb(220, 223, 230); - uiPanel5.Size = new Size(1120, 68); - uiPanel5.Style = Sunny.UI.UIStyle.Custom; - uiPanel5.StyleCustomMode = true; - uiPanel5.TabIndex = 1; - uiPanel5.Text = null; - uiPanel5.TextAlignment = ContentAlignment.MiddleCenter; + uiLabel35.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134); + uiLabel35.ForeColor = Color.FromArgb(64, 158, 255); + uiLabel35.Location = new Point(200, 559); + uiLabel35.Name = "uiLabel35"; + uiLabel35.Size = new Size(169, 31); + uiLabel35.Style = Sunny.UI.UIStyle.Custom; + uiLabel35.StyleCustomMode = true; + uiLabel35.TabIndex = 17; + uiLabel35.Text = "I1"; + uiLabel35.TextAlign = ContentAlignment.MiddleCenter; // - // uiButton10 + // uiLabel36 // - uiButton10.Cursor = Cursors.Hand; - uiButton10.FillColor = Color.FromArgb(64, 158, 255); - uiButton10.FillColor2 = Color.FromArgb(64, 158, 255); - uiButton10.FillHoverColor = Color.FromArgb(102, 177, 255); - uiButton10.FillPressColor = Color.FromArgb(47, 144, 255); - uiButton10.FillSelectedColor = Color.FromArgb(47, 144, 255); - uiButton10.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiButton10.Location = new Point(306, 15); - uiButton10.MinimumSize = new Size(1, 1); - uiButton10.Name = "uiButton10"; - uiButton10.Radius = 6; - uiButton10.RectColor = Color.FromArgb(64, 158, 255); - uiButton10.RectHoverColor = Color.FromArgb(102, 177, 255); - uiButton10.RectPressColor = Color.FromArgb(47, 144, 255); - uiButton10.RectSelectedColor = Color.FromArgb(47, 144, 255); - uiButton10.Size = new Size(150, 45); - uiButton10.Style = Sunny.UI.UIStyle.Custom; - uiButton10.StyleCustomMode = true; - uiButton10.TabIndex = 12; - uiButton10.Text = "返回"; - uiButton10.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiButton10.Click += uiButton10_Click; - // - // uiButton9 - // - uiButton9.Cursor = Cursors.Hand; - uiButton9.FillColor = Color.FromArgb(245, 108, 108); - uiButton9.FillColor2 = Color.FromArgb(245, 108, 108); - uiButton9.FillHoverColor = Color.FromArgb(247, 136, 136); - uiButton9.FillPressColor = Color.FromArgb(230, 81, 81); - uiButton9.FillSelectedColor = Color.FromArgb(230, 81, 81); - uiButton9.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiButton9.Location = new Point(660, 15); - uiButton9.MinimumSize = new Size(1, 1); - uiButton9.Name = "uiButton9"; - uiButton9.Radius = 6; - uiButton9.RectColor = Color.FromArgb(245, 108, 108); - uiButton9.RectHoverColor = Color.FromArgb(247, 136, 136); - uiButton9.RectPressColor = Color.FromArgb(230, 81, 81); - uiButton9.RectSelectedColor = Color.FromArgb(230, 81, 81); - uiButton9.Size = new Size(150, 45); - uiButton9.Style = Sunny.UI.UIStyle.Custom; - uiButton9.StyleCustomMode = true; - uiButton9.TabIndex = 9; - uiButton9.Text = "清除记录"; - uiButton9.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); - // - // uiButton8 - // - uiButton8.Cursor = Cursors.Hand; - uiButton8.FillColor = Color.FromArgb(103, 194, 58); - uiButton8.FillColor2 = Color.FromArgb(103, 194, 58); - uiButton8.FillHoverColor = Color.FromArgb(133, 206, 97); - uiButton8.FillPressColor = Color.FromArgb(84, 178, 38); - uiButton8.FillSelectedColor = Color.FromArgb(84, 178, 38); - uiButton8.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); - uiButton8.Location = new Point(480, 15); - uiButton8.MinimumSize = new Size(1, 1); - uiButton8.Name = "uiButton8"; - uiButton8.Radius = 6; - uiButton8.RectColor = Color.FromArgb(103, 194, 58); - uiButton8.RectHoverColor = Color.FromArgb(133, 206, 97); - uiButton8.RectPressColor = Color.FromArgb(84, 178, 38); - uiButton8.RectSelectedColor = Color.FromArgb(84, 178, 38); - uiButton8.Size = new Size(150, 45); - uiButton8.Style = Sunny.UI.UIStyle.Custom; - uiButton8.StyleCustomMode = true; - uiButton8.TabIndex = 8; - uiButton8.Text = "保存记录"; - uiButton8.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel36.Font = new Font("微软雅黑", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134); + uiLabel36.ForeColor = Color.FromArgb(96, 98, 102); + uiLabel36.Location = new Point(70, 559); + uiLabel36.Name = "uiLabel36"; + uiLabel36.Size = new Size(132, 31); + uiLabel36.Style = Sunny.UI.UIStyle.Custom; + uiLabel36.StyleCustomMode = true; + uiLabel36.TabIndex = 16; + uiLabel36.Text = "分类结果:"; + uiLabel36.TextAlign = ContentAlignment.MiddleLeft; // // SecondaryIgnitionForm // @@ -1261,10 +1181,6 @@ uiTableLayoutPanel5.ResumeLayout(false); uiGroupBox5.ResumeLayout(false); uiGroupBox4.ResumeLayout(false); - uiTableLayoutPanel6.ResumeLayout(false); - uiPanel4.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)uiDataGridView1).EndInit(); - uiPanel5.ResumeLayout(false); ResumeLayout(false); } @@ -1316,22 +1232,20 @@ private Sunny.UI.UILabel uiLabel20; private Sunny.UI.UILabel uiLabel18; private Sunny.UI.UILabel uiLabel17; - private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel6; - private Sunny.UI.UIPanel uiPanel4; - private Sunny.UI.UIDataGridView uiDataGridView1; - private DataGridViewTextBoxColumn Column1; - private DataGridViewTextBoxColumn Column7; - private DataGridViewTextBoxColumn Column2; - private DataGridViewTextBoxColumn Column3; - private DataGridViewTextBoxColumn Column4; - private DataGridViewTextBoxColumn Column5; - private DataGridViewTextBoxColumn Column6; - private Sunny.UI.UIPanel uiPanel5; - private Sunny.UI.UIButton uiButton10; - private Sunny.UI.UIButton uiButton9; - private Sunny.UI.UIButton uiButton8; private Sunny.UI.UIButton uiButton12; private Sunny.UI.UIButton uiButton11; private Sunny.UI.UIButton uiButton6; + private Sunny.UI.UILabel uiLabel35; + private Sunny.UI.UILabel uiLabel36; + private Sunny.UI.UILabel uiLabel33; + private Sunny.UI.UILabel uiLabel34; + private Sunny.UI.UILabel uiLabel31; + private Sunny.UI.UILabel uiLabel32; + private Sunny.UI.UILabel uiLabel29; + private Sunny.UI.UILabel uiLabel30; + private Sunny.UI.UILabel uiLabel27; + private Sunny.UI.UILabel uiLabel28; + private Sunny.UI.UILabel uiLabel10; + private Sunny.UI.UILabel uiLabel11; } } \ No newline at end of file diff --git a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs index ffd0141..9f56836 100644 --- a/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs +++ b/外科辅料和患者防护罩激光抗性测试仪/外科辅料和患者防护罩激光抗性测试仪/SecondaryIgnitionForm.cs @@ -396,7 +396,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 _modbusMaster?.WriteSingleRegister(1, 10, selectedIndex);//下拉框 } - + private void SecondaryIgnitionForm_FormClosing(object sender, FormClosingEventArgs e) { @@ -406,5 +406,10 @@ namespace 外科辅料和患者防护罩激光抗性测试仪 _readtimer.Dispose(); } } + + private void uiLabel16_Click(object sender, EventArgs e) + { + + } } }