From 71f61d13531b3e2a0099ba5afe3f268c99c5bacf Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 29 五月 2025 18:13:33 +0800 Subject: [PATCH] 修改大屏录像可用率指标,点位在线指标,数据中心录像可用率, --- ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java index 349f687..ff11462 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java @@ -1,16 +1,22 @@ package com.ycl.platform.domain.result.HK; import com.ycl.platform.domain.result.BaseResult; +import com.ycl.platform.domain.vo.DataCenter.BigPicUsefulVO; import lombok.Data; +import org.springframework.beans.BeanUtils; +import org.springframework.data.mongodb.core.index.TextIndexed; import org.springframework.data.mongodb.core.mapping.Document; +import java.math.BigDecimal; +import java.math.RoundingMode; + /** - * 杞﹁締璁惧鎶芥鎸囨爣鐩戞祴缁撴灉锛�2.3.0鐗堟湰鏂板 + * 杞﹁締璁惧鎶芥鎸囨爣鐩戞祴缁撴灉锛氳溅杈嗭紙杞﹁締鍗″彛璁惧鎶撴媿鏁版嵁澶у浘鍙敤鎬э級 * * @author gonghl */ @Data -@Document(collection = "vehicle_device_sampling") +@Document(collection = "hk_vehicle_device_sampling") public class VehicleDeviceSamplingResult extends BaseResult { /** @@ -73,6 +79,8 @@ * OSD鏍囨敞寮傚父鏁版嵁閲� */ private Integer osdExpCount; + + } @Data @@ -122,4 +130,14 @@ */ private Float importantConPercent; } + + public static BigPicUsefulVO getPicVO(VehicleDeviceSamplingResult result){ + BigPicUsefulVO vo = new BigPicUsefulVO(); + BeanUtils.copyProperties(result,vo); + vo.setBigPicExpCount(result.getBigUseful().getBigPicExpCount()); + vo.setBigUsefulPercent(result.getBigUseful().getBigUsefulPercent()); + vo.setSampleCount(result.getBigUseful().getSampleCount()); + vo.setOsdExpCount(result.getBigUseful().getOsdExpCount()); + return vo; + } } -- Gitblit v1.8.0