feat (farm): 设备中心

- 设备监控
This commit is contained in:
达富斌
2025-10-24 18:49:18 +08:00
parent a9b833cc64
commit b61e154dcf
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;