wl
2022-10-31 e5040e1387fe195aadf4c98d34ea9f807cfae36c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.ycl.vo.cockpit.aiIot;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * @author Lyq
 * @version 1.0
 * @date 2022/10/26
 */
@ApiModel(description = "驾驶舱数据-AI物联VO层")
public class AIIotVO {
 
    @ApiModel(description = "监测数据")
    @Data
    public static class DetectionVO {
        @ApiModelProperty(value = "城市监控")
        private Integer video;
        @ApiModelProperty(value = "单兵设备")
        private Integer individual;
        @ApiModelProperty(value = "油烟监测")
        private Integer lampblack;
        @ApiModelProperty(value = "室外音柱")
        private Integer loudspeaker;
        @ApiModelProperty(value = "渣土车")
        private Integer slagCar;
    }
 
    @ApiModel(description = "实时监控")
    @Data
    public static class VideoVO {
        @ApiModelProperty(value = "点位经度")
        private String longitude;
        @ApiModelProperty(value = "点位纬度")
        private String latitude;
        @ApiModelProperty(value = "点位名称")
        private String name;
        @ApiModelProperty(value = "设备唯一编码")
        private String resourceId;
        @ApiModelProperty(value = "设备品牌")
        private String brand;
        @ApiModelProperty(value = "设备型号")
        private String model;
        @ApiModelProperty(value = "设备IP地址")
        private String ip;
        @ApiModelProperty(value = "URL地址")
        private String url;
    }
 
    @ApiModel(description = "AI算法效能")
    @Data
    public static class EfficiencyVO {
        @ApiModelProperty(value = "物联网设备类型")
        private String type;
        @ApiModelProperty(value = "数量")
        private Integer count;
        @ApiModelProperty(value = "比例")
        private BigDecimal ratio;
    }
 
    @ApiModel(description = "AI事件统计")
    @Data
    public static class StatisticsVO {
        @ApiModelProperty(value = "物联网设备类型")
        private String type;
        private List<AIIotVO.Statistics1VO> records;
    }
 
    @Data
    @ApiModel(description = "AI事件统计")
    public static class Statistics1VO {
        @ApiModelProperty(value = "月份")
        private String month;
        @ApiModelProperty(value = "数量")
        private Integer count;
    }
 
    @ApiModel(description = "渣土联动")
    @Data
    public static class SlagCarVO {
        @ApiModelProperty(value = "车队数")
        private Integer team;
 
        @ApiModelProperty(value = "车辆数")
        private Integer car;
    }
 
 
}