| | |
| | | return new ChartSeriesDataVO(); |
| | | } |
| | | List<Long> workStationIdList = timeStatusVO.getWorkStationIdList(); |
| | | String timeLevel = timeStatusVO.getTimeLevel(); |
| | | Integer top = timeStatusVO.getTop(); |
| | | String timeLevel = timeStatusVO.getTimeLevel();//小时数,如24小时 |
| | | Integer top = timeStatusVO.getTop();//查询多少个 |
| | | VisualTimeDTO visualTimeDTO = VisualUtils.getTimeSectionByLevel(timeLevel); |
| | | List<StatusTimeTopVO> statusTimeByWcs = this.superAggregateStateService.getStatusTimeByWcs(workStationIdList, visualTimeDTO.getStartTime(), visualTimeDTO.getEndTime(), status, top); |
| | | return this.wrapper.deviceStatusDuration(statusTimeByWcs, status, top); |