This commit is contained in:
wxt
2026-01-27 17:29:05 +08:00
parent 720d240817
commit c0cc299002

View File

@@ -286,7 +286,7 @@ namespace 全自动水压检测仪
switch (type) switch (type)
{ {
case 1: case 1:
return "温"; return "温";
case 0: case 0:
return "高温"; return "高温";
default: default:
@@ -307,12 +307,12 @@ namespace 全自动水压检测仪
switch (typeValue) switch (typeValue)
{ {
case "1": case "1":
e.Value = "温"; e.Value = "温";
break; break;
case "0": case "0":
e.Value = "高温"; e.Value = "高温";
break; break;
case "温": case "温":
case "高温": case "高温":
// 已经是转换后的值,保持不变 // 已经是转换后的值,保持不变
break; break;