fix甲醛数据解析

This commit is contained in:
fish 2019-05-09 20:56:09 +08:00
parent 7c47a436a8
commit f5e107f62f
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ func dealDatav3(data []byte) string{
buffer = new(bytes.Buffer)
ch2o1 := strconv.Itoa(int(data[14]))
buffer.WriteString(nh3int1)
buffer.WriteString(ch2o1)
buffer.WriteString(".")
ch2o2 := strconv.Itoa(int(data[15]))
if int64(data[15])<10{