fuliqi
2024-08-08 01a30369e55a754c28dec4939a99e59aefecdc60
ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/OsdMonitorResult.java
@@ -1,10 +1,12 @@
package com.ycl.platform.domain.result.UY;
import com.ycl.platform.domain.result.BaseResult;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.data.mongodb.core.index.TextIndexed;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
import java.util.List;
/**
@@ -17,111 +19,187 @@
@Document(collection = "uy_osd_monitor")
public class OsdMonitorResult extends BaseResult {
    /**
     * 区域路径信息
     */
    @TextIndexed
    private String arealayerPath;
    private Integer areaInfoFormat;
    /**
     * 区域名称
     * 辖区信息
     */
    @TextIndexed
    private String areaInfoMessage;
    /**
     * 行政区域
     */
    private String arealayername;
    /**
     * 区域编码
     */
    private String arealayerno;
    private Integer audited;
    /**
     * 设备 ID
     * 审核时间
     */
    @TextIndexed
    private Date auditedTime;
    private Integer cameraInfoFormat;
    /**
     * 摄像机信息
     */
    private String cameraInfoMessage;
    /**
     * 设备ID
     */
    private String deviceId;
    /**
     * 设备名称
     */
    @TextIndexed
    private String deviceName;
    /**
     * 图片上的字幕时间和摄像机拉码流时间差是否大于最大值
     * ip地址
     */
    private String diff;
    /**
     * 图片上的字幕时间和摄像机拉码流时间差,单位(秒), -1 表示未知
     */
    private Integer diffTime;
    /**
     * IP 地址
     */
    @TextIndexed
    private String ip;
    /**
     * 图片 ocr 识别结果
     */
    private OcrResult ocrResult;
    private Integer locationInfoFormat;
    /**
     * 图片地址
     * 地点信息
     */
    private String imgPath;
    private String locationInfoMessage;
    /**
     * 状态码,0:正常
     * ocr信息
     */
    private Integer statusCode;
    private String ocrMessage;
    /**
     * 图片上的字幕时间和摄像机拉码流时间差,单位(秒)
     * ocr状态
     */
    private String osdFormat;
    private Integer ocrStatus;
    /**
     * osd 信息
     * ocr识别时间
     */
    private OsdInfo osdInfo;
    private Date ocrTime;
    private Integer timeInfoFormat;
    /**
     * 图片上的字幕时间
     * 时间信息
     */
    private String osdTime;
    private Integer timeInfoMessage;
    /**
     * 摄像机标签
     */
    private List<String> tags;
    /**
     * 更新时间
     */
    private String updateTime;
    /**
     * 视频码流获取时间
     */
    private String videoGetTime;
    /**
     * OCR识别结果的内部类
     */
    @Data
    public static class OcrResult {
        private List<String> data;
    }
    /**
     * osd信息的内部类
     */
    @Data
    public static class OsdInfo {
        private String timeInfo;
        private String positionInfo;
        private String cameraInfo;
    }
//    /**
//     * 区域路径信息
//     */
//    @TextIndexed
//    private String arealayerPath;
//
//    /**
//     * 区域名称
//     */
//    @TextIndexed
//    private String arealayername;
//
//    /**
//     * 区域编码
//     */
//    private String arealayerno;
//
//    /**
//     * 设备 ID
//     */
//    @TextIndexed
//    private String deviceId;
//
//    /**
//     * 设备名称
//     */
//    @TextIndexed
//    private String deviceName;
//
//    /**
//     * 图片上的字幕时间和摄像机拉码流时间差是否大于最大值
//     */
//    private String diff;
//
//    /**
//     * 图片上的字幕时间和摄像机拉码流时间差,单位(秒), -1 表示未知
//     */
//    private Integer diffTime;
//
//    /**
//     * IP 地址
//     */
//    @TextIndexed
//    private String ip;
//
//    /**
//     * 图片 ocr 识别结果
//     */
//    private OcrResult ocrResult;
//
//    /**
//     * 图片地址
//     */
//    private String imgPath;
//
//    /**
//     * 状态码,0:正常
//     */
//    private Integer statusCode;
//
//    /**
//     * 图片上的字幕时间和摄像机拉码流时间差,单位(秒)
//     */
//    private String osdFormat;
//
//    /**
//     * osd 信息
//     */
//    private OsdInfo osdInfo;
//
//    /**
//     * 图片上的字幕时间
//     */
//    private String osdTime;
//
//    /**
//     * 摄像机标签
//     */
//    private List<String> tags;
//
//    /**
//     * 更新时间
//     */
//    private String updateTime;
//
//    /**
//     * 视频码流获取时间
//     */
//    private String videoGetTime;
//
//    /**
//     * OCR识别结果的内部类
//     */
//    @Data
//    public static class OcrResult {
//        private List<String> data;
//    }
//
//    /**
//     * osd信息的内部类
//     */
//    @Data
//    public static class OsdInfo {
//        private String timeInfo;
//        private String positionInfo;
//        private String cameraInfo;
//    }
}