| | |
| | | package com.ycl.platform.controller; |
| | | |
| | | import com.ycl.platform.domain.query.DataCenterQuery; |
| | | import com.ycl.platform.service.DataCenterService; |
| | | import com.ycl.platform.service.ITMonitorService; |
| | | import com.ycl.platform.service.PlatformOnlineService; |
| | | import com.ycl.system.Result; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | * @author:xp |
| | | * @date:2024/8/1 16:40 |
| | | */ |
| | | @RequiredArgsConstructor |
| | | @RestController |
| | | @RequestMapping("/data/center") |
| | | public class DataCenterController { |
| | | |
| | | private final DataCenterService dataCenterService; |
| | | private final PlatformOnlineService platformOnlineService; |
| | | private final ITMonitorService monitorService; |
| | | |
| | | /** |
| | | * 资产管理 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/assetManagement") |
| | | @ApiOperation(value = "资产管理", notes = "资产管理") |
| | | @PreAuthorize("@ss.hasPermi('assetManagement:page')") |
| | | public Result assetManagement(DataCenterQuery query) { |
| | | return monitorService.assetManagement(query); |
| | | } |
| | | |
| | | /** |
| | | * 平台在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/platformOnlineRate") |
| | | @ApiOperation(value = "平台在线率", notes = "平台在线率") |
| | | @PreAuthorize("@ss.hasPermi('platformOnline:page')") |
| | | public Result platformOnlineRate(DataCenterQuery query) { |
| | | return platformOnlineService.page(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoPointOnlineRate") |
| | | public Result videoPointOnlineRate(DataCenterQuery query) { |
| | | return dataCenterService.videoPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:一机一档注册率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentRegister") |
| | | public Result videoOneMachineDocumentRegister(DataCenterQuery query) { |
| | | return dataCenterService.videoOneMachineDocumentRegister(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:一机一档合格率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentQualified") |
| | | public Result videoOneMachineDocumentQualified(DataCenterQuery query) { |
| | | return dataCenterService.videoOneMachineDocumentQualified(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:档案考核比 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAssessmentFileRatio") |
| | | public Result videoAssessmentFileRatio(DataCenterQuery query) { |
| | | return dataCenterService.videoAssessmentFileRatio(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAvailabilityRate") |
| | | public Result videoAvailabilityRate(DataCenterQuery query) { |
| | | return dataCenterService.videoAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointAvailabilityRate") |
| | | public Result videoImportantPointAvailabilityRate(DataCenterQuery query) { |
| | | return dataCenterService.videoImportantPointAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoLabelingAccuracy") |
| | | public Result videoLabelingAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.videoLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointLabelingAccuracy") |
| | | public Result videoImportantPointLabelingAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.videoImportantPointLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:校时正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoCheckTimeAccuracy") |
| | | public Result videoCheckTimeAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.videoCheckTimeAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位校时正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointCheckTimeAccuracy") |
| | | public Result videoImportantPointCheckTimeAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.videoImportantPointCheckTimeAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointOnlineRate") |
| | | public Result videoImportantPointOnlineRate(DataCenterQuery query) { |
| | | return dataCenterService.videoImportantPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点指挥图像在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointImageOnlineRate") |
| | | public Result videoImportantPointImageOnlineRate(DataCenterQuery query) { |
| | | return dataCenterService.videoImportantPointImageOnlineRate(query); |
| | | } |
| | | /** |
| | | * 视频:图像资源安全管理 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImageResourceSecurity") |
| | | public Result videoImageResourceSecurity(DataCenterQuery query) { |
| | | return dataCenterService.videoImageResourceSecurity(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:视图库对接稳定性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleViewDockStable") |
| | | public Result vehicleViewDockStable(DataCenterQuery query) { |
| | | return dataCenterService.vehicleViewDockStable(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehiclePointOnlineRate") |
| | | public Result vehiclePointOnlineRate(DataCenterQuery query) { |
| | | return dataCenterService.vehiclePointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:互联网卡口设备目录一致性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleNetDeviceDirectoryConsistency") |
| | | public Result vehicleNetDeviceDirectoryConsistency(DataCenterQuery query) { |
| | | return dataCenterService.vehicleNetDeviceDirectoryConsistency(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口信息采集准确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionConsistency") |
| | | public Result vehicleCollectionConsistency(DataCenterQuery query) { |
| | | return dataCenterService.vehicleCollectionConsistency(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据完整性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataIntegrity") |
| | | public Result vehicleCollectionDataIntegrity(DataCenterQuery query) { |
| | | return dataCenterService.vehicleCollectionDataIntegrity(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据准确性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataCaptured") |
| | | public Result vehicleCollectionDataCaptured(DataCenterQuery query) { |
| | | return dataCenterService.vehicleCollectionDataCaptured(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备时钟准确性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleClockAccuracy") |
| | | public Result vehicleClockAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.vehicleClockAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据上传及时性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleTimelyUploadAccuracy") |
| | | public Result vehicleTimelyUploadAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.vehicleTimelyUploadAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备url可用性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleUrlAccuracy") |
| | | public Result vehicleUrlAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.vehicleUrlAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据大图可用性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleBigImgAccuracy") |
| | | public Result vehicleBigImgAccuracy(DataCenterQuery query) { |
| | | return dataCenterService.vehicleBigImgAccuracy(query); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 人脸:视图库对接稳定性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceViewDockStable") |
| | | public Result faceViewDockStable(DataCenterQuery query) { |
| | | return (dataCenterService.faceViewDockStable(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/facePointOnlineRate") |
| | | public Result facePointOnlineRate(DataCenterQuery query) { |
| | | return (dataCenterService.facePointOnlineRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:目录一致率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceDirectoryConsistency") |
| | | public Result faceDirectoryConsistency(DataCenterQuery query) { |
| | | return (dataCenterService.faceDirectoryConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:人脸卡口信息采集准确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceCollectionConsistency") |
| | | public Result faceCollectionConsistency(DataCenterQuery query) { |
| | | return (dataCenterService.faceCollectionConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:设备抓拍图片合格性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceImgQualification") |
| | | public Result faceImgQualification(DataCenterQuery query) { |
| | | return (dataCenterService.faceImgQualification(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:设备抓拍图片时钟准确性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceCapturesImagesAccuracy") |
| | | public Result faceCapturesImagesAccuracy(DataCenterQuery query) { |
| | | return (dataCenterService.faceCapturesImagesAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:抓拍人脸数据上传及时性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceTimelyUpload") |
| | | public Result faceTimelyUpload(DataCenterQuery query) { |
| | | return (dataCenterService.faceTimelyUpload(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:人脸卡口设备抓拍数据大图可用性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceAvailabilityOfLargeImg") |
| | | public Result faceAvailabilityOfLargeImg(DataCenterQuery query) { |
| | | return (dataCenterService.faceAvailabilityOfLargeImg(query)); |
| | | } |
| | | } |