desc:O2设置高报值失败

main
xiaowusky 1 year ago
parent f491c0d80f
commit e4916e2f77

@ -57,7 +57,7 @@ fun saveLowThreshold(gasType: String, value: Float, localGasUnit: String) {
fun saveHighThreshold(gasType: String, value: Float, localGasUnit: String) {
var localValue = value
if (O2 == gasType || CH4_H2 == gasType || VOCS == gasType) {
MMKVUtils.put(getLowThresHoldKey(gasType), localValue)
MMKVUtils.put(getHighThresHoldKey(gasType), localValue)
} else {
if (UNIT_MGM3 == localGasUnit) {
val typeEnum = getGasTypeEnumByDesc(gasType)

Loading…
Cancel
Save