desc:VOCS直接使用可挥发性有机物这个名称

main
xiaowusky 1 year ago
parent e9f4ddd46d
commit 7b92c4536b

@ -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}浓度过高,已超过传感器量程"

@ -12,7 +12,7 @@ const val NO2 = "NO2"
const val NO = "NO"
const val HF = "HF"
const val CO2 = "CO2"
const val VOCS = "VOCS"
const val VOCS = "可挥发性有机物"
/**
* 气体分子质量

Loading…
Cancel
Save