feat (farm): 设备中心
- 设备监控
This commit is contained in:
@@ -16,7 +16,7 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class DeviceMonitorDataRespVO {
|
||||
|
||||
private String deviceType;
|
||||
private String typeCode;
|
||||
private String deviceTypeName;
|
||||
private List<Row> rows;
|
||||
|
||||
|
||||
@@ -454,7 +454,7 @@ public class DeviceInfoServiceImpl implements DeviceInfoService {
|
||||
|
||||
String typeCode = typeCodeMap.getOrDefault(deviceType, "其他");
|
||||
List<DeviceMonitorDataRespVO.Row> rows = this.getRealTimeList(typeCode, list,tenantId);
|
||||
res.add(new DeviceMonitorDataRespVO(deviceType,typeNameMap.get(deviceType), rows));
|
||||
res.add(new DeviceMonitorDataRespVO(typeCode,typeNameMap.get(deviceType), rows));
|
||||
}
|
||||
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user