| | |
| | | package com.ycl.platform.controller; |
| | | |
| | | import com.ycl.platform.domain.query.DataCenterQuery; |
| | | import com.ycl.platform.domain.result.HK.*; |
| | | import com.ycl.platform.domain.result.UY.OneMachineFileResult; |
| | | import com.ycl.platform.domain.result.UY.RecordMetaDSumResult; |
| | | import com.ycl.platform.service.DataCenterService; |
| | | import com.ycl.system.Result; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 数据中心接口 |
| | |
| | | * @author:xp |
| | | * @date:2024/8/1 16:40 |
| | | */ |
| | | @RequiredArgsConstructor |
| | | @RestController |
| | | @RequestMapping("/data/center") |
| | | public class DataCenterController { |
| | | |
| | | private final DataCenterService dataCenterService; |
| | | |
| | | /** |
| | | * 视频:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoPointOnlineRate") |
| | | public Result videoPointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoPointOnlineRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:一机一档注册率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentRegister") |
| | | public Result videoOneMachineDocumentRegister(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoOneMachineDocumentRegister(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:一机一档合格率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoOneMachineDocumentQualified") |
| | | public Result videoOneMachineDocumentQualified(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoOneMachineDocumentQualified(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:档案考核比 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAssessmentFileRatio") |
| | | public Result videoAssessmentFileRatio(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoAssessmentFileRatio(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoAvailabilityRate") |
| | | public Result videoAvailabilityRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoAvailabilityRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位录像可用率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @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)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位标注正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointLabelingAccuracy") |
| | | public Result videoImportantPointLabelingAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointLabelingAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:校时正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoCheckTimeAccuracy") |
| | | public Result videoCheckTimeAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoCheckTimeAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位校时正确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointCheckTimeAccuracy") |
| | | public Result videoImportantPointCheckTimeAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointCheckTimeAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointOnlineRate") |
| | | public Result videoImportantPointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointOnlineRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 视频:重点指挥图像在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/videoImportantPointImageOnlineRate") |
| | | public Result videoImportantPointImageOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.videoImportantPointImageOnlineRate(query)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 车辆:视图库对接稳定性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleViewDockStable") |
| | | public Result vehicleViewDockStable(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleViewDockStable(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehiclePointOnlineRate") |
| | | public Result vehiclePointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehiclePointOnlineRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:互联网卡口设备目录一致性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleNetDeviceDirectoryConsistency") |
| | | public Result vehicleNetDeviceDirectoryConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleNetDeviceDirectoryConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口信息采集准确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionConsistency") |
| | | public Result vehicleCollectionConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleCollectionConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据完整性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataIntegrity") |
| | | public Result vehicleCollectionDataIntegrity(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleCollectionDataIntegrity(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据准确性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleCollectionDataCaptured") |
| | | public Result vehicleCollectionDataCaptured(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleCollectionDataCaptured(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备时钟准确性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleClockAccuracy") |
| | | public Result vehicleClockAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleClockAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据上传及时性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleTimelyUploadAccuracy") |
| | | public Result vehicleTimelyUploadAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleTimelyUploadAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备url可用性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleUrlAccuracy") |
| | | public Result vehicleUrlAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleUrlAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 车辆:车辆卡口设备抓拍数据大图可用性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/vehicleBigImgAccuracy") |
| | | public Result vehicleBigImgAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.vehicleBigImgAccuracy(query)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 人脸:视图库对接稳定性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceViewDockStable") |
| | | public Result faceViewDockStable(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceViewDockStable(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:点位在线率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/facePointOnlineRate") |
| | | public Result facePointOnlineRate(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.facePointOnlineRate(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:目录一致率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceDirectoryConsistency") |
| | | public Result faceDirectoryConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceDirectoryConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:人脸卡口信息采集准确率 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceCollectionConsistency") |
| | | public Result faceCollectionConsistency(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceCollectionConsistency(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:设备抓拍图片合格性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceImgQualification") |
| | | public Result faceImgQualification(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceImgQualification(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:设备抓拍图片时钟准确性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceCapturesImagesAccuracy") |
| | | public Result faceCapturesImagesAccuracy(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceCapturesImagesAccuracy(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:抓拍人脸数据上传及时性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceTimelyUpload") |
| | | public Result faceTimelyUpload(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceTimelyUpload(query)); |
| | | } |
| | | |
| | | /** |
| | | * 人脸:人脸卡口设备抓拍数据大图可用性 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | @GetMapping("/faceAvailabilityOfLargeImg") |
| | | public Result faceAvailabilityOfLargeImg(DataCenterQuery query) { |
| | | return Result.ok().data(dataCenterService.faceAvailabilityOfLargeImg(query)); |
| | | } |
| | | } |