| | |
| | | package com.ycl.platform.controller; |
| | | |
| | | import com.ycl.platform.domain.query.DataCenterQuery; |
| | | import com.ycl.platform.domain.query.PlatformOnlineQuery; |
| | | 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; |
| | |
| | | |
| | | 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); |
| | | } |
| | | |
| | | /** |
| | | * 平台在线率 |
| | |
| | | */ |
| | | @GetMapping("/platformOnlineRate") |
| | | @ApiOperation(value = "平台在线率", notes = "平台在线率") |
| | | @PreAuthorize("hasAuthority('platformOnline:page')") |
| | | @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); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentQualified") |
| | | public Result videoOneMachineDocumentQualified(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoOneMachineDocumentQualified(query)); |
| | | return dataCenterService.videoOneMachineDocumentQualified(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoAssessmentFileRatio") |
| | | public Result videoAssessmentFileRatio(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoAssessmentFileRatio(query)); |
| | | return dataCenterService.videoAssessmentFileRatio(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:录像可用率 |
| | | * 视频:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAvailabilityRate") |
| | | public Result videoAvailabilityRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoAvailabilityRate(query)); |
| | | @GetMapping("/videoPointOnlineRate") |
| | | public Result videoPointOnlineRate(DataCenterQuery query) { |
| | | return dataCenterService.videoPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:部级点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoMinistrySiteOnline") |
| | | public Result videoMinistrySiteOnline(DataCenterQuery query) { |
| | | return dataCenterService.videoAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | | * 视频:部级巡检录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoMinistryVideoAvailable") |
| | | public Result videoMinistryVideoAvailable(DataCenterQuery query) { |
| | | return dataCenterService.videoLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoImportantPointAvailabilityRate") |
| | | public Result videoImportantPointAvailabilityRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointAvailabilityRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoLabelingAccuracy") |
| | | public Result videoLabelingAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoLabelingAccuracy(query)); |
| | | return dataCenterService.videoImportantPointAvailabilityRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoImportantPointLabelingAccuracy") |
| | | public Result videoImportantPointLabelingAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointLabelingAccuracy(query)); |
| | | return dataCenterService.videoImportantPointLabelingAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoCheckTimeAccuracy") |
| | | public Result videoCheckTimeAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoCheckTimeAccuracy(query)); |
| | | return dataCenterService.videoCheckTimeAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoImportantPointCheckTimeAccuracy") |
| | | public Result videoImportantPointCheckTimeAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointCheckTimeAccuracy(query)); |
| | | return dataCenterService.videoImportantPointCheckTimeAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoImportantPointOnlineRate") |
| | | public Result videoImportantPointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointOnlineRate(query)); |
| | | return dataCenterService.videoImportantPointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/videoImportantPointImageOnlineRate") |
| | | public Result videoImportantPointImageOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointImageOnlineRate(query)); |
| | | return dataCenterService.videoImportantPointImageOnlineRate(query); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 视频:图像资源安全管理 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImageResourceSecurity") |
| | | public Result videoImageResourceSecurity(DataCenterQuery query) { |
| | | return dataCenterService.videoImageResourceSecurity(query); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:视图库对接稳定性 |
| | |
| | | */ |
| | | @GetMapping("/vehicleViewDockStable") |
| | | public Result vehicleViewDockStable(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleViewDockStable(query)); |
| | | return dataCenterService.vehicleViewDockStable(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehiclePointOnlineRate") |
| | | public Result vehiclePointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehiclePointOnlineRate(query)); |
| | | return dataCenterService.vehiclePointOnlineRate(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleNetDeviceDirectoryConsistency") |
| | | public Result vehicleNetDeviceDirectoryConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleNetDeviceDirectoryConsistency(query)); |
| | | return dataCenterService.vehicleNetDeviceDirectoryConsistency(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleCollectionConsistency") |
| | | public Result vehicleCollectionConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleCollectionConsistency(query)); |
| | | return dataCenterService.vehicleCollectionConsistency(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataIntegrity") |
| | | public Result vehicleCollectionDataIntegrity(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleCollectionDataIntegrity(query)); |
| | | return dataCenterService.vehicleCollectionDataIntegrity(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataCaptured") |
| | | public Result vehicleCollectionDataCaptured(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleCollectionDataCaptured(query)); |
| | | return dataCenterService.vehicleCollectionDataCaptured(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleClockAccuracy") |
| | | public Result vehicleClockAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleClockAccuracy(query)); |
| | | return dataCenterService.vehicleClockAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleTimelyUploadAccuracy") |
| | | public Result vehicleTimelyUploadAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleTimelyUploadAccuracy(query)); |
| | | return dataCenterService.vehicleTimelyUploadAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleUrlAccuracy") |
| | | public Result vehicleUrlAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleUrlAccuracy(query)); |
| | | return dataCenterService.vehicleUrlAccuracy(query); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/vehicleBigImgAccuracy") |
| | | public Result vehicleBigImgAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleBigImgAccuracy(query)); |
| | | return dataCenterService.vehicleBigImgAccuracy(query); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceViewDockStable") |
| | | public Result faceViewDockStable(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceViewDockStable(query)); |
| | | return (dataCenterService.faceViewDockStable(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/facePointOnlineRate") |
| | | public Result facePointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.facePointOnlineRate(query)); |
| | | return (dataCenterService.facePointOnlineRate(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceDirectoryConsistency") |
| | | public Result faceDirectoryConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceDirectoryConsistency(query)); |
| | | return (dataCenterService.faceDirectoryConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceCollectionConsistency") |
| | | public Result faceCollectionConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceCollectionConsistency(query)); |
| | | return (dataCenterService.faceCollectionConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceImgQualification") |
| | | public Result faceImgQualification(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceImgQualification(query)); |
| | | return (dataCenterService.faceImgQualification(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceCapturesImagesAccuracy") |
| | | public Result faceCapturesImagesAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceCapturesImagesAccuracy(query)); |
| | | return (dataCenterService.faceCapturesImagesAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceTimelyUpload") |
| | | public Result faceTimelyUpload(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceTimelyUpload(query)); |
| | | return (dataCenterService.faceTimelyUpload(query)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/faceAvailabilityOfLargeImg") |
| | | public Result faceAvailabilityOfLargeImg(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceAvailabilityOfLargeImg(query)); |
| | | return (dataCenterService.faceAvailabilityOfLargeImg(query)); |
| | | } |
| | | } |