From dd554499a5eac281b8e9c950771a4aacb5632bd0 Mon Sep 17 00:00:00 2001 From: xiaowusky Date: Thu, 7 Dec 2023 09:15:11 +0800 Subject: [PATCH] =?UTF-8?q?desc:=E6=8A=A5=E8=AD=A6=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yinuo/safetywatcher/watcher/port/GasUtilss.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/yinuo/safetywatcher/watcher/port/GasUtilss.kt b/app/src/main/java/com/yinuo/safetywatcher/watcher/port/GasUtilss.kt index 9c9aefd..1f99d33 100644 --- a/app/src/main/java/com/yinuo/safetywatcher/watcher/port/GasUtilss.kt +++ b/app/src/main/java/com/yinuo/safetywatcher/watcher/port/GasUtilss.kt @@ -235,9 +235,9 @@ fun getShowWarnTxt(warn: Warning?): String { "请注意,${it.gasName}浓度过高,已超过传感器量程" } else { if (it.gasValue > it.thresholdHigh) { - "请注意,${it.gasName}气体浓度:${it.gasValue} ${it.unit}超过高报值${it.thresholdHigh}" + "请注意,${it.gasName}气体浓度:${it.gasValue} ${it.unit}超过高报值${it.thresholdHigh} ${it.unit}" } else { - "请注意,${it.gasName}气体浓度:${it.gasValue} ${it.unit}超过高报值${it.thresholdLow}" + "请注意,${it.gasName}气体浓度:${it.gasValue} ${it.unit}超过低报值${it.thresholdLow} ${it.unit}" } } }