voc设备更换接口
This commit is contained in:
parent
140417fcba
commit
711cfb91e3
|
@ -103,10 +103,10 @@ public class OutSideServiceImpl implements OutSideService {
|
|||
* sn: equipmentUId
|
||||
* ds: vocRtd
|
||||
* report_time: vocTime
|
||||
* zt: vocRtd > 5 ? '一级报警' : '正常'
|
||||
* zt: vocRtd > 4 ? '一级报警' : '正常'
|
||||
*/
|
||||
SensorData sensorData = new SensorData();
|
||||
sensorData.setSn(node.get("equipmentUId").asText());
|
||||
sensorData.setSn(node.get("equipmentUid").asText());
|
||||
sensorData.setDs(node.get("vocRtd").asText());
|
||||
sensorData.setDw("mg/m3");
|
||||
// "vocTime":"2024-10-30T07:19:20.000+0000" 转为 yyyy-MM-dd HH:mm:ss
|
||||
|
|
Loading…
Reference in New Issue