This commit is contained in:
wxt
2026-01-19 19:37:41 +08:00
parent c9a13cd558
commit 99fda86797
2 changed files with 5 additions and 5 deletions

View File

@@ -1846,7 +1846,7 @@ namespace 全自动水压检测仪
// uiTextBox2 // uiTextBox2
// //
this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam; this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
this.uiTextBox2.Enabled = false; //this.uiTextBox2.Enabled = false;
this.uiTextBox2.Font = new System.Drawing.Font("微软雅黑", 10.5F); this.uiTextBox2.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.uiTextBox2.Location = new System.Drawing.Point(141, 127); this.uiTextBox2.Location = new System.Drawing.Point(141, 127);
this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);

View File

@@ -285,9 +285,9 @@ namespace 全自动水压检测仪
{ {
switch (type) switch (type)
{ {
case 0:
return "低温";
case 1: case 1:
return "低温";
case 0:
return "高温"; return "高温";
default: default:
return "未知"; return "未知";
@@ -306,10 +306,10 @@ namespace 全自动水压检测仪
// 根据Type值转换显示文本 // 根据Type值转换显示文本
switch (typeValue) switch (typeValue)
{ {
case "0": case "1":
e.Value = "低温"; e.Value = "低温";
break; break;
case "1": case "0":
e.Value = "高温"; e.Value = "高温";
break; break;
case "低温": case "低温":