Commit 65e14dae authored by maoying's avatar maoying

修改科技平台数据接收处理异常

parent 9aad0037
...@@ -373,7 +373,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -373,7 +373,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
quality = jsonObject.getString("quality"); quality = jsonObject.getString("quality");
}else { }else {
indexAddress = jsonObject.getString("key"); indexAddress = jsonObject.getString("key");
value = jsonObject.getString("value"); value = jsonObject.getFloat("value")+"";
timeStamp = jsonObject.getString("time_stamp"); timeStamp = jsonObject.getString("time_stamp");
quality = jsonObject.getString("quality"); quality = jsonObject.getString("quality");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment