desc:修改量程支持小数

main
xiaowusky 1 year ago
parent f1c86762e5
commit f491c0d80f

@ -121,7 +121,7 @@ object ParseHelper {
value = 0f
}
// 量程
val rangHex: String = HexUtils.byteArrToHex(it, 27, 27 + 2)
val rangHex: String = HexUtils.byteArrToHex(it, 25, 25 + 4)
val rangHexLong: Long = HexUtils.hexToLong(rangHex)
gasRangeMaxMap[type.desc] = rangHexLong / 100f
// // 温度

Loading…
Cancel
Save