This commit is contained in:
wxt
2026-01-24 13:50:14 +08:00
parent b0a2bce1f3
commit f02101e26b
2 changed files with 172 additions and 297 deletions

View File

@@ -85,24 +85,9 @@ namespace 全自动水压检测仪
this.uiPanel33 = new Sunny.UI.UIPanel(); this.uiPanel33 = new Sunny.UI.UIPanel();
this.uiLabel38 = new Sunny.UI.UILabel(); this.uiLabel38 = new Sunny.UI.UILabel();
this.uiLabel39 = new Sunny.UI.UILabel(); this.uiLabel39 = new Sunny.UI.UILabel();
this.uiLabel40 = new Sunny.UI.UILabel();
this.uiPanel35 = new Sunny.UI.UIPanel(); this.uiPanel35 = new Sunny.UI.UIPanel();
this.uiLabel42 = new Sunny.UI.UILabel(); this.uiLabel42 = new Sunny.UI.UILabel();
this.uiLabel43 = new Sunny.UI.UILabel(); this.uiLabel43 = new Sunny.UI.UILabel();
this.uiLabel44 = new Sunny.UI.UILabel();
this.uiTableLayoutPanel14 = new Sunny.UI.UITableLayoutPanel();
this.uiPanel28 = new Sunny.UI.UIPanel();
this.uiLabel31 = new Sunny.UI.UILabel();
this.uiLabel32 = new Sunny.UI.UILabel();
this.uiLabel33 = new Sunny.UI.UILabel();
this.uiPanel20 = new Sunny.UI.UIPanel();
this.uiLabel9 = new Sunny.UI.UILabel();
this.uiLabel10 = new Sunny.UI.UILabel();
this.uiLabel11 = new Sunny.UI.UILabel();
this.uiPanel25 = new Sunny.UI.UIPanel();
this.uiLabel25 = new Sunny.UI.UILabel();
this.uiLabel26 = new Sunny.UI.UILabel();
this.uiLabel27 = new Sunny.UI.UILabel();
this.uiTableLayoutPanel13 = new Sunny.UI.UITableLayoutPanel(); this.uiTableLayoutPanel13 = new Sunny.UI.UITableLayoutPanel();
this.uiPanel31 = new Sunny.UI.UIPanel(); this.uiPanel31 = new Sunny.UI.UIPanel();
this.uiLabel7 = new Sunny.UI.UILabel(); this.uiLabel7 = new Sunny.UI.UILabel();
@@ -169,6 +154,11 @@ namespace 全自动水压检测仪
this.uiPanel2 = new Sunny.UI.UIPanel(); this.uiPanel2 = new Sunny.UI.UIPanel();
this.uiLabel1 = new Sunny.UI.UILabel(); this.uiLabel1 = new Sunny.UI.UILabel();
this.uiLight1 = new Sunny.UI.UILight(); this.uiLight1 = new Sunny.UI.UILight();
this.uiPanel20 = new Sunny.UI.UIPanel();
this.uiLabel9 = new Sunny.UI.UILabel();
this.uiLabel10 = new Sunny.UI.UILabel();
this.uiProcessBar1 = new Sunny.UI.UIProcessBar();
this.uiProcessBar2 = new Sunny.UI.UIProcessBar();
this.uiTableLayoutPanel1.SuspendLayout(); this.uiTableLayoutPanel1.SuspendLayout();
this.uiTableLayoutPanel2.SuspendLayout(); this.uiTableLayoutPanel2.SuspendLayout();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
@@ -202,10 +192,6 @@ namespace 全自动水压检测仪
this.uiTableLayoutPanel16.SuspendLayout(); this.uiTableLayoutPanel16.SuspendLayout();
this.uiPanel33.SuspendLayout(); this.uiPanel33.SuspendLayout();
this.uiPanel35.SuspendLayout(); this.uiPanel35.SuspendLayout();
this.uiTableLayoutPanel14.SuspendLayout();
this.uiPanel28.SuspendLayout();
this.uiPanel20.SuspendLayout();
this.uiPanel25.SuspendLayout();
this.uiTableLayoutPanel13.SuspendLayout(); this.uiTableLayoutPanel13.SuspendLayout();
this.uiPanel31.SuspendLayout(); this.uiPanel31.SuspendLayout();
this.uiPanel23.SuspendLayout(); this.uiPanel23.SuspendLayout();
@@ -224,6 +210,7 @@ namespace 全自动水压检测仪
this.uiPanel4.SuspendLayout(); this.uiPanel4.SuspendLayout();
this.uiPanel3.SuspendLayout(); this.uiPanel3.SuspendLayout();
this.uiPanel2.SuspendLayout(); this.uiPanel2.SuspendLayout();
this.uiPanel20.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// uiTableLayoutPanel1 // uiTableLayoutPanel1
@@ -1034,13 +1021,11 @@ namespace 全自动水压检测仪
// //
// uiTableLayoutPanel11 // uiTableLayoutPanel11
// //
this.uiTableLayoutPanel11.ColumnCount = 4; this.uiTableLayoutPanel11.ColumnCount = 3;
this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 26F));
this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F)); this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35F));
this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24F)); this.uiTableLayoutPanel11.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35F));
this.uiTableLayoutPanel11.Controls.Add(this.uiTableLayoutPanel16, 3, 0); this.uiTableLayoutPanel11.Controls.Add(this.uiTableLayoutPanel16, 2, 0);
this.uiTableLayoutPanel11.Controls.Add(this.uiTableLayoutPanel14, 2, 0);
this.uiTableLayoutPanel11.Controls.Add(this.uiTableLayoutPanel13, 1, 0); this.uiTableLayoutPanel11.Controls.Add(this.uiTableLayoutPanel13, 1, 0);
this.uiTableLayoutPanel11.Controls.Add(this.uiPanel26, 0, 0); this.uiTableLayoutPanel11.Controls.Add(this.uiPanel26, 0, 0);
this.uiTableLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill; this.uiTableLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -1058,16 +1043,18 @@ namespace 全自动水压检测仪
this.uiTableLayoutPanel16.ColumnCount = 1; this.uiTableLayoutPanel16.ColumnCount = 1;
this.uiTableLayoutPanel16.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.uiTableLayoutPanel16.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.uiTableLayoutPanel16.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.uiTableLayoutPanel16.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.uiTableLayoutPanel16.Controls.Add(this.uiPanel35, 0, 2);
this.uiTableLayoutPanel16.Controls.Add(this.uiPanel20, 0, 0);
this.uiTableLayoutPanel16.Controls.Add(this.uiPanel33, 0, 1); this.uiTableLayoutPanel16.Controls.Add(this.uiPanel33, 0, 1);
this.uiTableLayoutPanel16.Controls.Add(this.uiPanel35, 0, 0);
this.uiTableLayoutPanel16.Dock = System.Windows.Forms.DockStyle.Fill; this.uiTableLayoutPanel16.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiTableLayoutPanel16.Location = new System.Drawing.Point(559, 3); this.uiTableLayoutPanel16.Location = new System.Drawing.Point(479, 3);
this.uiTableLayoutPanel16.Name = "uiTableLayoutPanel16"; this.uiTableLayoutPanel16.Name = "uiTableLayoutPanel16";
this.uiTableLayoutPanel16.RowCount = 3; this.uiTableLayoutPanel16.RowCount = 3;
this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F)); this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F)); this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F)); this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F));
this.uiTableLayoutPanel16.Size = new System.Drawing.Size(172, 158); this.uiTableLayoutPanel16.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.uiTableLayoutPanel16.Size = new System.Drawing.Size(252, 158);
this.uiTableLayoutPanel16.TabIndex = 11; this.uiTableLayoutPanel16.TabIndex = 11;
this.uiTableLayoutPanel16.TagString = null; this.uiTableLayoutPanel16.TagString = null;
// //
@@ -1075,8 +1062,6 @@ namespace 全自动水压检测仪
// //
this.uiPanel33.Controls.Add(this.uiLabel38); this.uiPanel33.Controls.Add(this.uiLabel38);
this.uiPanel33.Controls.Add(this.uiLabel39); this.uiPanel33.Controls.Add(this.uiLabel39);
this.uiPanel33.Controls.Add(this.uiLabel40);
this.uiPanel33.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel33.FillColor = System.Drawing.Color.White; this.uiPanel33.FillColor = System.Drawing.Color.White;
this.uiPanel33.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiPanel33.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel33.Location = new System.Drawing.Point(4, 57); this.uiPanel33.Location = new System.Drawing.Point(4, 57);
@@ -1084,7 +1069,7 @@ namespace 全自动水压检测仪
this.uiPanel33.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel33.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel33.Name = "uiPanel33"; this.uiPanel33.Name = "uiPanel33";
this.uiPanel33.RectColor = System.Drawing.Color.White; this.uiPanel33.RectColor = System.Drawing.Color.White;
this.uiPanel33.Size = new System.Drawing.Size(164, 42); this.uiPanel33.Size = new System.Drawing.Size(244, 42);
this.uiPanel33.TabIndex = 5; this.uiPanel33.TabIndex = 5;
this.uiPanel33.Text = null; this.uiPanel33.Text = null;
this.uiPanel33.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel33.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1094,7 +1079,7 @@ namespace 全自动水压检测仪
this.uiLabel38.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel38.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel38.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel38.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel38.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel38.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel38.Location = new System.Drawing.Point(106, 3); this.uiLabel38.Location = new System.Drawing.Point(111, 3);
this.uiLabel38.Name = "uiLabel38"; this.uiLabel38.Name = "uiLabel38";
this.uiLabel38.Size = new System.Drawing.Size(63, 30); this.uiLabel38.Size = new System.Drawing.Size(63, 30);
this.uiLabel38.TabIndex = 2; this.uiLabel38.TabIndex = 2;
@@ -1109,33 +1094,21 @@ namespace 全自动水压检测仪
this.uiLabel39.Name = "uiLabel39"; this.uiLabel39.Name = "uiLabel39";
this.uiLabel39.Size = new System.Drawing.Size(121, 30); this.uiLabel39.Size = new System.Drawing.Size(121, 30);
this.uiLabel39.TabIndex = 0; this.uiLabel39.TabIndex = 0;
this.uiLabel39.Text = "出口温度(°C):"; this.uiLabel39.Text = "🌡️出口温度(°C):";
this.uiLabel39.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel39.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel40
//
this.uiLabel40.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel40.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel40.Location = new System.Drawing.Point(15, 7);
this.uiLabel40.Name = "uiLabel40";
this.uiLabel40.Size = new System.Drawing.Size(131, 35);
this.uiLabel40.TabIndex = 1;
this.uiLabel40.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiPanel35 // uiPanel35
// //
this.uiPanel35.Controls.Add(this.uiLabel42); this.uiPanel35.Controls.Add(this.uiLabel42);
this.uiPanel35.Controls.Add(this.uiLabel43); this.uiPanel35.Controls.Add(this.uiLabel43);
this.uiPanel35.Controls.Add(this.uiLabel44);
this.uiPanel35.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel35.FillColor = System.Drawing.Color.White; this.uiPanel35.FillColor = System.Drawing.Color.White;
this.uiPanel35.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiPanel35.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel35.Location = new System.Drawing.Point(4, 5); this.uiPanel35.Location = new System.Drawing.Point(4, 109);
this.uiPanel35.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel35.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel35.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel35.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel35.Name = "uiPanel35"; this.uiPanel35.Name = "uiPanel35";
this.uiPanel35.RectColor = System.Drawing.Color.White; this.uiPanel35.RectColor = System.Drawing.Color.White;
this.uiPanel35.Size = new System.Drawing.Size(164, 42); this.uiPanel35.Size = new System.Drawing.Size(244, 42);
this.uiPanel35.TabIndex = 4; this.uiPanel35.TabIndex = 4;
this.uiPanel35.Text = null; this.uiPanel35.Text = null;
this.uiPanel35.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel35.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1145,7 +1118,7 @@ namespace 全自动水压检测仪
this.uiLabel42.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel42.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel42.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel42.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel42.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel42.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel42.Location = new System.Drawing.Point(106, 3); this.uiLabel42.Location = new System.Drawing.Point(111, 3);
this.uiLabel42.Name = "uiLabel42"; this.uiLabel42.Name = "uiLabel42";
this.uiLabel42.Size = new System.Drawing.Size(63, 30); this.uiLabel42.Size = new System.Drawing.Size(63, 30);
this.uiLabel42.TabIndex = 2; this.uiLabel42.TabIndex = 2;
@@ -1160,191 +1133,9 @@ namespace 全自动水压检测仪
this.uiLabel43.Name = "uiLabel43"; this.uiLabel43.Name = "uiLabel43";
this.uiLabel43.Size = new System.Drawing.Size(121, 30); this.uiLabel43.Size = new System.Drawing.Size(121, 30);
this.uiLabel43.TabIndex = 0; this.uiLabel43.TabIndex = 0;
this.uiLabel43.Text = "箱体温度(°C):"; this.uiLabel43.Text = "🌡️箱体温度(°C):";
this.uiLabel43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel43.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel44
//
this.uiLabel44.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel44.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel44.Location = new System.Drawing.Point(15, 7);
this.uiLabel44.Name = "uiLabel44";
this.uiLabel44.Size = new System.Drawing.Size(131, 35);
this.uiLabel44.TabIndex = 1;
this.uiLabel44.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTableLayoutPanel14
//
this.uiTableLayoutPanel14.ColumnCount = 1;
this.uiTableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.uiTableLayoutPanel14.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.uiTableLayoutPanel14.Controls.Add(this.uiPanel28, 0, 2);
this.uiTableLayoutPanel14.Controls.Add(this.uiPanel20, 0, 1);
this.uiTableLayoutPanel14.Controls.Add(this.uiPanel25, 0, 0);
this.uiTableLayoutPanel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiTableLayoutPanel14.Location = new System.Drawing.Point(413, 3);
this.uiTableLayoutPanel14.Name = "uiTableLayoutPanel14";
this.uiTableLayoutPanel14.RowCount = 3;
this.uiTableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel14.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F));
this.uiTableLayoutPanel14.Size = new System.Drawing.Size(140, 158);
this.uiTableLayoutPanel14.TabIndex = 10;
this.uiTableLayoutPanel14.TagString = null;
//
// uiPanel28
//
this.uiPanel28.Controls.Add(this.uiLabel31);
this.uiPanel28.Controls.Add(this.uiLabel32);
this.uiPanel28.Controls.Add(this.uiLabel33);
this.uiPanel28.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel28.FillColor = System.Drawing.Color.White;
this.uiPanel28.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel28.Location = new System.Drawing.Point(4, 109);
this.uiPanel28.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel28.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel28.Name = "uiPanel28";
this.uiPanel28.RectColor = System.Drawing.Color.White;
this.uiPanel28.Size = new System.Drawing.Size(132, 44);
this.uiPanel28.TabIndex = 6;
this.uiPanel28.Text = null;
this.uiPanel28.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel31
//
this.uiLabel31.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel31.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel31.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel31.Location = new System.Drawing.Point(79, 3);
this.uiLabel31.Name = "uiLabel31";
this.uiLabel31.Size = new System.Drawing.Size(50, 30);
this.uiLabel31.TabIndex = 2;
this.uiLabel31.Text = "0";
this.uiLabel31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel32
//
this.uiLabel32.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel32.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel32.Location = new System.Drawing.Point(-2, 3);
this.uiLabel32.Name = "uiLabel32";
this.uiLabel32.Size = new System.Drawing.Size(95, 30);
this.uiLabel32.TabIndex = 0;
this.uiLabel32.Text = "计时(h):";
this.uiLabel32.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel33
//
this.uiLabel33.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel33.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel33.Location = new System.Drawing.Point(15, 7);
this.uiLabel33.Name = "uiLabel33";
this.uiLabel33.Size = new System.Drawing.Size(131, 35);
this.uiLabel33.TabIndex = 1;
this.uiLabel33.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiPanel20
//
this.uiPanel20.Controls.Add(this.uiLabel9);
this.uiPanel20.Controls.Add(this.uiLabel10);
this.uiPanel20.Controls.Add(this.uiLabel11);
this.uiPanel20.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel20.FillColor = System.Drawing.Color.White;
this.uiPanel20.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel20.Location = new System.Drawing.Point(4, 57);
this.uiPanel20.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel20.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel20.Name = "uiPanel20";
this.uiPanel20.RectColor = System.Drawing.Color.White;
this.uiPanel20.Size = new System.Drawing.Size(132, 42);
this.uiPanel20.TabIndex = 5;
this.uiPanel20.Text = null;
this.uiPanel20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel9
//
this.uiLabel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel9.Location = new System.Drawing.Point(79, 3);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(50, 30);
this.uiLabel9.TabIndex = 2;
this.uiLabel9.Text = "0";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel10
//
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel10.Location = new System.Drawing.Point(-2, 3);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(95, 30);
this.uiLabel10.TabIndex = 0;
this.uiLabel10.Text = "计时(min):";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel11
//
this.uiLabel11.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel11.Location = new System.Drawing.Point(15, 7);
this.uiLabel11.Name = "uiLabel11";
this.uiLabel11.Size = new System.Drawing.Size(100, 35);
this.uiLabel11.TabIndex = 1;
this.uiLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiPanel25
//
this.uiPanel25.Controls.Add(this.uiLabel25);
this.uiPanel25.Controls.Add(this.uiLabel26);
this.uiPanel25.Controls.Add(this.uiLabel27);
this.uiPanel25.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiPanel25.FillColor = System.Drawing.Color.White;
this.uiPanel25.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel25.Location = new System.Drawing.Point(4, 5);
this.uiPanel25.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel25.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel25.Name = "uiPanel25";
this.uiPanel25.RectColor = System.Drawing.Color.White;
this.uiPanel25.Size = new System.Drawing.Size(132, 42);
this.uiPanel25.TabIndex = 4;
this.uiPanel25.Text = null;
this.uiPanel25.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel25
//
this.uiLabel25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel25.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel25.Location = new System.Drawing.Point(79, 3);
this.uiLabel25.Name = "uiLabel25";
this.uiLabel25.Size = new System.Drawing.Size(50, 30);
this.uiLabel25.TabIndex = 2;
this.uiLabel25.Text = "0";
this.uiLabel25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel26
//
this.uiLabel26.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel26.Location = new System.Drawing.Point(-2, 3);
this.uiLabel26.Name = "uiLabel26";
this.uiLabel26.Size = new System.Drawing.Size(95, 30);
this.uiLabel26.TabIndex = 0;
this.uiLabel26.Text = "计时(s):";
this.uiLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel27
//
this.uiLabel27.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel27.Location = new System.Drawing.Point(15, 7);
this.uiLabel27.Name = "uiLabel27";
this.uiLabel27.Size = new System.Drawing.Size(131, 35);
this.uiLabel27.TabIndex = 1;
this.uiLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTableLayoutPanel13 // uiTableLayoutPanel13
// //
this.uiTableLayoutPanel13.BackColor = System.Drawing.Color.White; this.uiTableLayoutPanel13.BackColor = System.Drawing.Color.White;
@@ -1355,18 +1146,19 @@ namespace 全自动水压检测仪
this.uiTableLayoutPanel13.Controls.Add(this.uiPanel23, 0, 1); this.uiTableLayoutPanel13.Controls.Add(this.uiPanel23, 0, 1);
this.uiTableLayoutPanel13.Controls.Add(this.uiPanel27, 0, 0); this.uiTableLayoutPanel13.Controls.Add(this.uiPanel27, 0, 0);
this.uiTableLayoutPanel13.Dock = System.Windows.Forms.DockStyle.Fill; this.uiTableLayoutPanel13.Dock = System.Windows.Forms.DockStyle.Fill;
this.uiTableLayoutPanel13.Location = new System.Drawing.Point(193, 3); this.uiTableLayoutPanel13.Location = new System.Drawing.Point(223, 3);
this.uiTableLayoutPanel13.Name = "uiTableLayoutPanel13"; this.uiTableLayoutPanel13.Name = "uiTableLayoutPanel13";
this.uiTableLayoutPanel13.RowCount = 3; this.uiTableLayoutPanel13.RowCount = 3;
this.uiTableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F)); this.uiTableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F)); this.uiTableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F)); this.uiTableLayoutPanel13.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F));
this.uiTableLayoutPanel13.Size = new System.Drawing.Size(214, 158); this.uiTableLayoutPanel13.Size = new System.Drawing.Size(250, 158);
this.uiTableLayoutPanel13.TabIndex = 9; this.uiTableLayoutPanel13.TabIndex = 9;
this.uiTableLayoutPanel13.TagString = null; this.uiTableLayoutPanel13.TagString = null;
// //
// uiPanel31 // uiPanel31
// //
this.uiPanel31.Controls.Add(this.uiProcessBar2);
this.uiPanel31.Controls.Add(this.uiLabel7); this.uiPanel31.Controls.Add(this.uiLabel7);
this.uiPanel31.Controls.Add(this.uiLabel8); this.uiPanel31.Controls.Add(this.uiLabel8);
this.uiPanel31.Controls.Add(this.uiLabel34); this.uiPanel31.Controls.Add(this.uiLabel34);
@@ -1378,7 +1170,7 @@ namespace 全自动水压检测仪
this.uiPanel31.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel31.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel31.Name = "uiPanel31"; this.uiPanel31.Name = "uiPanel31";
this.uiPanel31.RectColor = System.Drawing.Color.White; this.uiPanel31.RectColor = System.Drawing.Color.White;
this.uiPanel31.Size = new System.Drawing.Size(206, 44); this.uiPanel31.Size = new System.Drawing.Size(242, 44);
this.uiPanel31.TabIndex = 6; this.uiPanel31.TabIndex = 6;
this.uiPanel31.Text = null; this.uiPanel31.Text = null;
this.uiPanel31.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel31.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1388,7 +1180,7 @@ namespace 全自动水压检测仪
this.uiLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel7.Location = new System.Drawing.Point(129, 3); this.uiLabel7.Location = new System.Drawing.Point(148, 1);
this.uiLabel7.Name = "uiLabel7"; this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(80, 30); this.uiLabel7.Size = new System.Drawing.Size(80, 30);
this.uiLabel7.TabIndex = 2; this.uiLabel7.TabIndex = 2;
@@ -1399,11 +1191,11 @@ namespace 全自动水压检测仪
// //
this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.uiLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel8.Location = new System.Drawing.Point(-2, 3); this.uiLabel8.Location = new System.Drawing.Point(-2, 1);
this.uiLabel8.Name = "uiLabel8"; this.uiLabel8.Name = "uiLabel8";
this.uiLabel8.Size = new System.Drawing.Size(139, 30); this.uiLabel8.Size = new System.Drawing.Size(158, 30);
this.uiLabel8.TabIndex = 0; this.uiLabel8.TabIndex = 0;
this.uiLabel8.Text = "高温实时液位(mm):"; this.uiLabel8.Text = "📊高温实时液位(mm):";
this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel34 // uiLabel34
@@ -1418,6 +1210,7 @@ namespace 全自动水压检测仪
// //
// uiPanel23 // uiPanel23
// //
this.uiPanel23.Controls.Add(this.uiProcessBar1);
this.uiPanel23.Controls.Add(this.uiLabel12); this.uiPanel23.Controls.Add(this.uiLabel12);
this.uiPanel23.Controls.Add(this.uiLabel16); this.uiPanel23.Controls.Add(this.uiLabel16);
this.uiPanel23.Controls.Add(this.uiLabel17); this.uiPanel23.Controls.Add(this.uiLabel17);
@@ -1429,7 +1222,7 @@ namespace 全自动水压检测仪
this.uiPanel23.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel23.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel23.Name = "uiPanel23"; this.uiPanel23.Name = "uiPanel23";
this.uiPanel23.RectColor = System.Drawing.Color.White; this.uiPanel23.RectColor = System.Drawing.Color.White;
this.uiPanel23.Size = new System.Drawing.Size(206, 42); this.uiPanel23.Size = new System.Drawing.Size(242, 42);
this.uiPanel23.TabIndex = 5; this.uiPanel23.TabIndex = 5;
this.uiPanel23.Text = null; this.uiPanel23.Text = null;
this.uiPanel23.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel23.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1439,7 +1232,7 @@ namespace 全自动水压检测仪
this.uiLabel12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel12.Location = new System.Drawing.Point(129, 3); this.uiLabel12.Location = new System.Drawing.Point(148, 0);
this.uiLabel12.Name = "uiLabel12"; this.uiLabel12.Name = "uiLabel12";
this.uiLabel12.Size = new System.Drawing.Size(80, 30); this.uiLabel12.Size = new System.Drawing.Size(80, 30);
this.uiLabel12.TabIndex = 2; this.uiLabel12.TabIndex = 2;
@@ -1450,11 +1243,11 @@ namespace 全自动水压检测仪
// //
this.uiLabel16.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLabel16.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiLabel16.Location = new System.Drawing.Point(-2, 3); this.uiLabel16.Location = new System.Drawing.Point(-2, 0);
this.uiLabel16.Name = "uiLabel16"; this.uiLabel16.Name = "uiLabel16";
this.uiLabel16.Size = new System.Drawing.Size(139, 30); this.uiLabel16.Size = new System.Drawing.Size(158, 30);
this.uiLabel16.TabIndex = 0; this.uiLabel16.TabIndex = 0;
this.uiLabel16.Text = "常温实时液位(mm):"; this.uiLabel16.Text = "📊常温实时液位(mm):";
this.uiLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel17 // uiLabel17
@@ -1480,7 +1273,7 @@ namespace 全自动水压检测仪
this.uiPanel27.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel27.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel27.Name = "uiPanel27"; this.uiPanel27.Name = "uiPanel27";
this.uiPanel27.RectColor = System.Drawing.Color.White; this.uiPanel27.RectColor = System.Drawing.Color.White;
this.uiPanel27.Size = new System.Drawing.Size(206, 42); this.uiPanel27.Size = new System.Drawing.Size(242, 42);
this.uiPanel27.TabIndex = 4; this.uiPanel27.TabIndex = 4;
this.uiPanel27.Text = null; this.uiPanel27.Text = null;
this.uiPanel27.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel27.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1490,7 +1283,7 @@ namespace 全自动水压检测仪
this.uiLabel28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel28.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel28.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel28.Location = new System.Drawing.Point(129, 3); this.uiLabel28.Location = new System.Drawing.Point(148, 1);
this.uiLabel28.Name = "uiLabel28"; this.uiLabel28.Name = "uiLabel28";
this.uiLabel28.Size = new System.Drawing.Size(80, 30); this.uiLabel28.Size = new System.Drawing.Size(80, 30);
this.uiLabel28.TabIndex = 2; this.uiLabel28.TabIndex = 2;
@@ -1501,11 +1294,11 @@ namespace 全自动水压检测仪
// //
this.uiLabel29.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLabel29.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiLabel29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiLabel29.Location = new System.Drawing.Point(-2, 3); this.uiLabel29.Location = new System.Drawing.Point(-2, 1);
this.uiLabel29.Name = "uiLabel29"; this.uiLabel29.Name = "uiLabel29";
this.uiLabel29.Size = new System.Drawing.Size(121, 30); this.uiLabel29.Size = new System.Drawing.Size(121, 30);
this.uiLabel29.TabIndex = 0; this.uiLabel29.TabIndex = 0;
this.uiLabel29.Text = "实时压力(PSI):"; this.uiLabel29.Text = "🔧实时压力(PSI):";
this.uiLabel29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel30 // uiLabel30
@@ -1530,7 +1323,7 @@ namespace 全自动水压检测仪
this.uiPanel26.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel26.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel26.Name = "uiPanel26"; this.uiPanel26.Name = "uiPanel26";
this.uiPanel26.RectColor = System.Drawing.Color.White; this.uiPanel26.RectColor = System.Drawing.Color.White;
this.uiPanel26.Size = new System.Drawing.Size(182, 154); this.uiPanel26.Size = new System.Drawing.Size(212, 154);
this.uiPanel26.TabIndex = 6; this.uiPanel26.TabIndex = 6;
this.uiPanel26.Text = null; this.uiPanel26.Text = null;
this.uiPanel26.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel26.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1551,7 +1344,7 @@ namespace 全自动水压检测仪
this.uiTableLayoutPanel12.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F)); this.uiTableLayoutPanel12.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel12.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F)); this.uiTableLayoutPanel12.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.3F));
this.uiTableLayoutPanel12.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F)); this.uiTableLayoutPanel12.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.4F));
this.uiTableLayoutPanel12.Size = new System.Drawing.Size(182, 154); this.uiTableLayoutPanel12.Size = new System.Drawing.Size(212, 154);
this.uiTableLayoutPanel12.TabIndex = 2; this.uiTableLayoutPanel12.TabIndex = 2;
this.uiTableLayoutPanel12.TagString = null; this.uiTableLayoutPanel12.TagString = null;
// //
@@ -1568,7 +1361,7 @@ namespace 全自动水压检测仪
this.uiPanel24.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel24.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel24.Name = "uiPanel24"; this.uiPanel24.Name = "uiPanel24";
this.uiPanel24.RectColor = System.Drawing.Color.White; this.uiPanel24.RectColor = System.Drawing.Color.White;
this.uiPanel24.Size = new System.Drawing.Size(174, 42); this.uiPanel24.Size = new System.Drawing.Size(204, 42);
this.uiPanel24.TabIndex = 6; this.uiPanel24.TabIndex = 6;
this.uiPanel24.Text = null; this.uiPanel24.Text = null;
this.uiPanel24.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel24.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1578,7 +1371,7 @@ namespace 全自动水压检测仪
this.uiLabel22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel22.Location = new System.Drawing.Point(107, 3); this.uiLabel22.Location = new System.Drawing.Point(120, 3);
this.uiLabel22.Name = "uiLabel22"; this.uiLabel22.Name = "uiLabel22";
this.uiLabel22.Size = new System.Drawing.Size(65, 30); this.uiLabel22.Size = new System.Drawing.Size(65, 30);
this.uiLabel22.TabIndex = 2; this.uiLabel22.TabIndex = 2;
@@ -1593,7 +1386,7 @@ namespace 全自动水压检测仪
this.uiLabel23.Name = "uiLabel23"; this.uiLabel23.Name = "uiLabel23";
this.uiLabel23.Size = new System.Drawing.Size(108, 30); this.uiLabel23.Size = new System.Drawing.Size(108, 30);
this.uiLabel23.TabIndex = 0; this.uiLabel23.TabIndex = 0;
this.uiLabel23.Text = "压差(PSI):"; this.uiLabel23.Text = "⚖️压差(PSI):";
this.uiLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel24 // uiLabel24
@@ -1619,7 +1412,7 @@ namespace 全自动水压检测仪
this.uiPanel22.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel22.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel22.Name = "uiPanel22"; this.uiPanel22.Name = "uiPanel22";
this.uiPanel22.RectColor = System.Drawing.Color.White; this.uiPanel22.RectColor = System.Drawing.Color.White;
this.uiPanel22.Size = new System.Drawing.Size(174, 41); this.uiPanel22.Size = new System.Drawing.Size(204, 41);
this.uiPanel22.TabIndex = 5; this.uiPanel22.TabIndex = 5;
this.uiPanel22.Text = null; this.uiPanel22.Text = null;
this.uiPanel22.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel22.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1629,7 +1422,7 @@ namespace 全自动水压检测仪
this.uiLabel19.BackColor = System.Drawing.Color.WhiteSmoke; this.uiLabel19.BackColor = System.Drawing.Color.WhiteSmoke;
this.uiLabel19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.uiLabel19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.uiLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel19.Location = new System.Drawing.Point(107, 3); this.uiLabel19.Location = new System.Drawing.Point(120, 3);
this.uiLabel19.Name = "uiLabel19"; this.uiLabel19.Name = "uiLabel19";
this.uiLabel19.Size = new System.Drawing.Size(65, 30); this.uiLabel19.Size = new System.Drawing.Size(65, 30);
this.uiLabel19.TabIndex = 2; this.uiLabel19.TabIndex = 2;
@@ -1642,9 +1435,9 @@ namespace 全自动水压检测仪
this.uiLabel20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiLabel20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiLabel20.Location = new System.Drawing.Point(3, 3); this.uiLabel20.Location = new System.Drawing.Point(3, 3);
this.uiLabel20.Name = "uiLabel20"; this.uiLabel20.Name = "uiLabel20";
this.uiLabel20.Size = new System.Drawing.Size(108, 30); this.uiLabel20.Size = new System.Drawing.Size(119, 30);
this.uiLabel20.TabIndex = 0; this.uiLabel20.TabIndex = 0;
this.uiLabel20.Text = "结束压力(PSI):"; this.uiLabel20.Text = "🔧结束压力(PSI):";
this.uiLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel21 // uiLabel21
@@ -1670,7 +1463,7 @@ namespace 全自动水压检测仪
this.uiPanel21.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel21.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel21.Name = "uiPanel21"; this.uiPanel21.Name = "uiPanel21";
this.uiPanel21.RectColor = System.Drawing.Color.White; this.uiPanel21.RectColor = System.Drawing.Color.White;
this.uiPanel21.Size = new System.Drawing.Size(174, 41); this.uiPanel21.Size = new System.Drawing.Size(204, 41);
this.uiPanel21.TabIndex = 4; this.uiPanel21.TabIndex = 4;
this.uiPanel21.Text = null; this.uiPanel21.Text = null;
this.uiPanel21.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel21.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1680,7 +1473,7 @@ namespace 全自动水压检测仪
this.uiLabel14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.uiLabel14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); this.uiLabel14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60))))); this.uiLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel14.Location = new System.Drawing.Point(107, 3); this.uiLabel14.Location = new System.Drawing.Point(120, 3);
this.uiLabel14.Name = "uiLabel14"; this.uiLabel14.Name = "uiLabel14";
this.uiLabel14.Size = new System.Drawing.Size(65, 30); this.uiLabel14.Size = new System.Drawing.Size(65, 30);
this.uiLabel14.TabIndex = 2; this.uiLabel14.TabIndex = 2;
@@ -1693,9 +1486,9 @@ namespace 全自动水压检测仪
this.uiLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.uiLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
this.uiLabel15.Location = new System.Drawing.Point(3, 3); this.uiLabel15.Location = new System.Drawing.Point(3, 3);
this.uiLabel15.Name = "uiLabel15"; this.uiLabel15.Name = "uiLabel15";
this.uiLabel15.Size = new System.Drawing.Size(108, 30); this.uiLabel15.Size = new System.Drawing.Size(119, 30);
this.uiLabel15.TabIndex = 0; this.uiLabel15.TabIndex = 0;
this.uiLabel15.Text = "初始压力(PSI):"; this.uiLabel15.Text = "🔧初始压力(PSI):";
this.uiLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.uiLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// uiLabel18 // uiLabel18
@@ -2319,6 +2112,67 @@ namespace 全自动水压检测仪
this.uiLight1.TabIndex = 1; this.uiLight1.TabIndex = 1;
this.uiLight1.Text = "uiLight1"; this.uiLight1.Text = "uiLight1";
// //
// uiPanel20
//
this.uiPanel20.Controls.Add(this.uiLabel9);
this.uiPanel20.Controls.Add(this.uiLabel10);
this.uiPanel20.FillColor = System.Drawing.Color.White;
this.uiPanel20.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPanel20.Location = new System.Drawing.Point(4, 5);
this.uiPanel20.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel20.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel20.Name = "uiPanel20";
this.uiPanel20.RectColor = System.Drawing.Color.White;
this.uiPanel20.Size = new System.Drawing.Size(244, 42);
this.uiPanel20.TabIndex = 6;
this.uiPanel20.Text = null;
this.uiPanel20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// uiLabel9
//
this.uiLabel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold);
this.uiLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
this.uiLabel9.Location = new System.Drawing.Point(111, 3);
this.uiLabel9.Name = "uiLabel9";
this.uiLabel9.Size = new System.Drawing.Size(71, 30);
this.uiLabel9.TabIndex = 2;
this.uiLabel9.Text = "00:00:00";
this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel10
//
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel10.Location = new System.Drawing.Point(0, 3);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(121, 30);
this.uiLabel10.TabIndex = 0;
this.uiLabel10.Text = "⏱️测试时间:";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiProcessBar1
//
this.uiProcessBar1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiProcessBar1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiProcessBar1.Location = new System.Drawing.Point(2, 32);
this.uiProcessBar1.MinimumSize = new System.Drawing.Size(3, 3);
this.uiProcessBar1.Name = "uiProcessBar1";
this.uiProcessBar1.Size = new System.Drawing.Size(236, 10);
this.uiProcessBar1.TabIndex = 3;
this.uiProcessBar1.Text = "uiProcessBar1";
//
// uiProcessBar2
//
this.uiProcessBar2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.uiProcessBar2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiProcessBar2.Location = new System.Drawing.Point(3, 33);
this.uiProcessBar2.MinimumSize = new System.Drawing.Size(3, 3);
this.uiProcessBar2.Name = "uiProcessBar2";
this.uiProcessBar2.Size = new System.Drawing.Size(236, 10);
this.uiProcessBar2.TabIndex = 4;
this.uiProcessBar2.Text = "uiProcessBar2";
//
// NormalTemperatureMode // NormalTemperatureMode
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -2365,10 +2219,6 @@ namespace 全自动水压检测仪
this.uiTableLayoutPanel16.ResumeLayout(false); this.uiTableLayoutPanel16.ResumeLayout(false);
this.uiPanel33.ResumeLayout(false); this.uiPanel33.ResumeLayout(false);
this.uiPanel35.ResumeLayout(false); this.uiPanel35.ResumeLayout(false);
this.uiTableLayoutPanel14.ResumeLayout(false);
this.uiPanel28.ResumeLayout(false);
this.uiPanel20.ResumeLayout(false);
this.uiPanel25.ResumeLayout(false);
this.uiTableLayoutPanel13.ResumeLayout(false); this.uiTableLayoutPanel13.ResumeLayout(false);
this.uiPanel31.ResumeLayout(false); this.uiPanel31.ResumeLayout(false);
this.uiPanel23.ResumeLayout(false); this.uiPanel23.ResumeLayout(false);
@@ -2387,6 +2237,7 @@ namespace 全自动水压检测仪
this.uiPanel4.ResumeLayout(false); this.uiPanel4.ResumeLayout(false);
this.uiPanel3.ResumeLayout(false); this.uiPanel3.ResumeLayout(false);
this.uiPanel2.ResumeLayout(false); this.uiPanel2.ResumeLayout(false);
this.uiPanel20.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@@ -2439,15 +2290,6 @@ namespace 全自动水压检测仪
private Sunny.UI.UILabel uiLabel14; private Sunny.UI.UILabel uiLabel14;
private Sunny.UI.UILabel uiLabel15; private Sunny.UI.UILabel uiLabel15;
private Sunny.UI.UILabel uiLabel18; private Sunny.UI.UILabel uiLabel18;
private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel14;
private Sunny.UI.UIPanel uiPanel20;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UILabel uiLabel11;
private Sunny.UI.UIPanel uiPanel25;
private Sunny.UI.UILabel uiLabel25;
private Sunny.UI.UILabel uiLabel26;
private Sunny.UI.UILabel uiLabel27;
private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel13; private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel13;
private Sunny.UI.UIPanel uiPanel23; private Sunny.UI.UIPanel uiPanel23;
private Sunny.UI.UILabel uiLabel12; private Sunny.UI.UILabel uiLabel12;
@@ -2457,10 +2299,6 @@ namespace 全自动水压检测仪
private Sunny.UI.UILabel uiLabel28; private Sunny.UI.UILabel uiLabel28;
private Sunny.UI.UILabel uiLabel29; private Sunny.UI.UILabel uiLabel29;
private Sunny.UI.UILabel uiLabel30; private Sunny.UI.UILabel uiLabel30;
private Sunny.UI.UIPanel uiPanel28;
private Sunny.UI.UILabel uiLabel31;
private Sunny.UI.UILabel uiLabel32;
private Sunny.UI.UILabel uiLabel33;
private Sunny.UI.UIPanel uiPanel29; private Sunny.UI.UIPanel uiPanel29;
private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel15; private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel15;
private Sunny.UI.UIPanel uiPanel30; private Sunny.UI.UIPanel uiPanel30;
@@ -2487,11 +2325,9 @@ namespace 全自动水压检测仪
private Sunny.UI.UIPanel uiPanel33; private Sunny.UI.UIPanel uiPanel33;
private Sunny.UI.UILabel uiLabel38; private Sunny.UI.UILabel uiLabel38;
private Sunny.UI.UILabel uiLabel39; private Sunny.UI.UILabel uiLabel39;
private Sunny.UI.UILabel uiLabel40;
private Sunny.UI.UIPanel uiPanel35; private Sunny.UI.UIPanel uiPanel35;
private Sunny.UI.UILabel uiLabel42; private Sunny.UI.UILabel uiLabel42;
private Sunny.UI.UILabel uiLabel43; private Sunny.UI.UILabel uiLabel43;
private Sunny.UI.UILabel uiLabel44;
private Sunny.UI.UIPanel uiPanel44; private Sunny.UI.UIPanel uiPanel44;
private Sunny.UI.UILight uiLight12; private Sunny.UI.UILight uiLight12;
private Sunny.UI.UIPanel uiPanel43; private Sunny.UI.UIPanel uiPanel43;
@@ -2532,6 +2368,11 @@ namespace 全自动水压检测仪
private Sunny.UI.UILight uiLight3; private Sunny.UI.UILight uiLight3;
private Sunny.UI.UIPanel uiPanel34; private Sunny.UI.UIPanel uiPanel34;
private Sunny.UI.UIButton uiButton6; private Sunny.UI.UIButton uiButton6;
private Sunny.UI.UIPanel uiPanel20;
private Sunny.UI.UILabel uiLabel9;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UIProcessBar uiProcessBar1;
private Sunny.UI.UIProcessBar uiProcessBar2;
} }
} }

View File

@@ -181,9 +181,19 @@ namespace 全自动水压检测仪
modbusData.Real2 != null && modbusData.Real2.Length >= 2) modbusData.Real2 != null && modbusData.Real2.Length >= 2)
{ {
var value1 = c.UshortToFloat(modbusData.Real2[1], modbusData.Real2[0]); var value1 = c.UshortToFloat(modbusData.Real2[1], modbusData.Real2[0]);
float percentage = (value1 / 150f) * 100f;
// 限制百分比在0-100之间
if (percentage < 0) percentage = 0;
if (percentage > 100) percentage = 100;
// 更新进度条
uiProcessBar1.Value = (int)percentage;
uiLabel12.Text = value1.ToString("F2"); uiLabel12.Text = value1.ToString("F2");
} }
// 初始压力 // 初始压力
if (uiLabel14 != null && !uiLabel14.IsDisposed && if (uiLabel14 != null && !uiLabel14.IsDisposed &&
modbusData.Real3 != null && modbusData.Real3.Length >= 2) modbusData.Real3 != null && modbusData.Real3.Length >= 2)
@@ -209,34 +219,58 @@ namespace 全自动水压检测仪
} }
// 计时s // 计时s
if (uiLabel25 != null && !uiLabel25.IsDisposed && //if (uiLabel25 != null && !uiLabel25.IsDisposed &&
modbusData.Real6 != null && modbusData.Real6.Length >= 1) // modbusData.Real6 != null && modbusData.Real6.Length >= 1)
//{
// int value5 = modbusData.Real6[0];
// uiLabel25.Text = value5.ToString();
//}
//// 计时min
//if (uiLabel9 != null && !uiLabel9.IsDisposed &&
// modbusData.Real7 != null && modbusData.Real7.Length >= 1)
//{
// int value6 = modbusData.Real7[0];
// uiLabel9.Text = value6.ToString();
//}
//// 计时h
//if (uiLabel31 != null && !uiLabel31.IsDisposed &&
// modbusData.Real8 != null && modbusData.Real8.Length >= 1)
//{
// int value7 = modbusData.Real8[0];
// uiLabel31.Text = value7.ToString();
//}
// 合并显示时间格式hh:mm:ss
if (uiLabel9 != null && !uiLabel9.IsDisposed)
{ {
int value5 = modbusData.Real6[0]; // 使用0作为缺省值
uiLabel25.Text = value5.ToString(); int seconds = (modbusData.Real6 != null && modbusData.Real6.Length >= 1) ? modbusData.Real6[0] : 0;
int minutes = (modbusData.Real7 != null && modbusData.Real7.Length >= 1) ? modbusData.Real7[0] : 0;
int hours = (modbusData.Real8 != null && modbusData.Real8.Length >= 1) ? modbusData.Real8[0] : 0;
// 格式化为00:00:00
string timeString = $"{hours:D2}:{minutes:D2}:{seconds:D2}";
uiLabel9.Text = timeString;
} }
// 计时min
if (uiLabel9 != null && !uiLabel9.IsDisposed &&
modbusData.Real7 != null && modbusData.Real7.Length >= 1)
{
int value6 = modbusData.Real7[0];
uiLabel9.Text = value6.ToString();
}
// 计时h
if (uiLabel31 != null && !uiLabel31.IsDisposed &&
modbusData.Real8 != null && modbusData.Real8.Length >= 1)
{
int value7 = modbusData.Real8[0];
uiLabel31.Text = value7.ToString();
}
// 高温实时液位 // 高温实时液位
if (uiLabel7 != null && !uiLabel7.IsDisposed && if (uiLabel7 != null && !uiLabel7.IsDisposed &&
modbusData.Real9 != null && modbusData.Real9.Length >= 2) modbusData.Real9 != null && modbusData.Real9.Length >= 2)
{ {
var value8 = c.UshortToFloat(modbusData.Real9[1], modbusData.Real9[0]); var value8 = c.UshortToFloat(modbusData.Real9[1], modbusData.Real9[0]);
float percentage = (value8 / 150f) * 100f;
// 限制百分比在0-100之间
if (percentage < 0) percentage = 0;
if (percentage > 100) percentage = 100;
// 更新进度条
uiProcessBar2.Value = (int)percentage;
uiLabel7.Text = value8.ToString("F2"); uiLabel7.Text = value8.ToString("F2");
} }