|
|
|
@ -230,16 +230,6 @@ fun getShowWarnTxt(warn: Warning?): String {
|
|
|
|
|
"请注意,${it.gasName}浓度过高:${it.gasValue} ${it.unit},有醉氧风险"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if (VOCS == it.gasName) {
|
|
|
|
|
return if (it.overRange) {
|
|
|
|
|
"请注意,可挥发性有机物浓度过高,已超过传感器量程"
|
|
|
|
|
} else {
|
|
|
|
|
if (it.gasValue > it.thresholdHigh) {
|
|
|
|
|
"请注意,可挥发性有机物气体浓度:${it.gasValue} ${it.unit}超过高报值${it.thresholdHigh}"
|
|
|
|
|
} else {
|
|
|
|
|
"请注意,可挥发性有机物气体浓度:${it.gasValue} ${it.unit}超过高报值${it.thresholdLow}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
return if (it.overRange) {
|
|
|
|
|
"请注意,${it.gasName}浓度过高,已超过传感器量程"
|
|
|
|
|