|
@ -24,7 +24,7 @@ import lombok.extern.slf4j.Slf4j; |
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 大屏服务实现1 |
|
|
* 大屏服务实现 |
|
|
* |
|
|
* |
|
|
* @author gbx |
|
|
* @author gbx |
|
|
* @date 2023-02-27 |
|
|
* @date 2023-02-27 |
|
@ -281,8 +281,9 @@ public class CockpitServiceImpl implements CockpitService{ |
|
|
runningStatusList.add(DeviceStatisticsDto.builder().workorder_procedure("包装").deviceQty(9).faultyDevice(3).build()); |
|
|
runningStatusList.add(DeviceStatisticsDto.builder().workorder_procedure("包装").deviceQty(9).faultyDevice(3).build()); |
|
|
//近一个月故障次数
|
|
|
//近一个月故障次数
|
|
|
List<DeviceStatisticsDto> faultyStatusList = new ArrayList<>(); |
|
|
List<DeviceStatisticsDto> faultyStatusList = new ArrayList<>(); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机4").faultyFrequency(91).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机4").faultyFrequency(90).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机9").faultyFrequency(82).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机9").faultyFrequency(85).build()); |
|
|
|
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机11").faultyFrequency(83).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("混料机5").faultyFrequency(71).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("混料机5").faultyFrequency(71).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机3").faultyFrequency(33).build()); |
|
|
faultyStatusList.add(DeviceStatisticsDto.builder().deviceName("压制机3").faultyFrequency(33).build()); |
|
|
//最近5个故障设备
|
|
|
//最近5个故障设备
|
|
|