根据设备id获取温度限制设置 name和code修改

This commit is contained in:
huguanghan 2024-12-03 16:22:02 +08:00
parent 1fae1e0fbe
commit e95300d169

View File

@ -27,8 +27,8 @@ public class TemperatureDashboardServiceImpl implements TemperatureDashboardServ
String params = mapping.getParams(); String params = mapping.getParams();
if (params != null && !params.isEmpty()) { if (params != null && !params.isEmpty()) {
JSONObject json = JSONObject.parseObject(params); JSONObject json = JSONObject.parseObject(params);
String code = json.getString("measPointCode"); String code = mapping.getMeasPointCode();
String name = json.getString("measPointName"); String name = mapping.getMeasPointName();
Double limit1High=0.0; Double limit1High=0.0;
Double limit1Low=0.0; Double limit1Low=0.0;
Double limit2High=0.0; Double limit2High=0.0;