zhanghua
2022-11-16 cb4a2117c13edc0c31aeab5c85f593f71e1bedc0
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
package com.ycl.vo.cockpit.statisticsEvents;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
 
import java.math.BigDecimal;
 
/**
 * @author Lyq
 * @version 1.0
 * @date 2022/10/26
 */
@ApiModel(description = "驾驶舱数据-综合决策VO层")
public class StatisticsEventsVO {
 
    @ApiModel(description = "执法事件")
    @Data
    public static class LawEnforcementEventVO {
        @ApiModelProperty(value = "月份")
        private String month;
        @ApiModelProperty(value = "地区名字")
        private String name;
        @ApiModelProperty(value = "城管事件数")
        private Integer cityManagementCount;
        @ApiModelProperty(value = "执法案件数")
        private Integer enforcementEventCount;
    }
 
    @ApiModel(description = "物联感知")
    @Data
    public static class LotVO {
        @ApiModelProperty(value = "物联网设备类型")
        private String type;
        @ApiModelProperty(value = "地区名字")
        private String name;
        @ApiModelProperty(value = "数量")
        private Integer count;
        @ApiModelProperty(value = "比例")
        private BigDecimal ratio;
    }
 
    @ApiModel(description = "执法队伍")
    @Data
    public static class TeamVO {
        @ApiModelProperty(value = "执法中队数量")
        private Integer secondOfficer;
        @ApiModelProperty(value = "在线人员数量")
        private Integer online;
        @ApiModelProperty(value = "离线人员数量")
        private Integer offline;
        @ApiModelProperty(value = "全部人员数量")
        private Integer all;
        @ApiModelProperty(value = "执法人员数量")
        private Integer officer;
        @ApiModelProperty(value = "协管人员数量")
        private Integer assistant;
    }
 
    @ApiModel(description = "网格员")
    @Data
    public static class GridMemberVO {
        @ApiModelProperty(value = "地区名称")
        private String name;
        @ApiModelProperty(value = "数量")
        private Integer count;
        @ApiModelProperty(value = "比例")
        private BigDecimal ratio;
    }
 
    @ApiModel(description = "指数体征")
    @Data
    public static class IndexSignsVO {
        @ApiModelProperty(value = "近30日事件数")
        private Integer event;
        @ApiModelProperty(value = "网格员总数")
        private Integer gridMember;
        @ApiModelProperty(value = "近30日事件办结率")
        private BigDecimal completePercentage;
        @ApiModelProperty(value = "AI设备数量")
        private Integer equipment;
        @ApiModelProperty(value = "AI近30日准确率")
        private BigDecimal accuracy;
        @ApiModelProperty(value = "近30日触发次数")
        private Integer trigger;
        @ApiModelProperty(value = "物联感知设备数量")
        private Integer lot;
        @ApiModelProperty(value = "近30日物联感知设备在线数量")
        private Integer lotOnline;
        @ApiModelProperty(value = "市、 区任务完成指标市平台内数据")
        private Integer cityData;
        @ApiModelProperty(value = "动态考核数据")
        private Integer evaluationData;
    }
 
 
    @Data
    @AllArgsConstructor
    @ApiModel(description = "中队top10数据信息")
    public static class Top10VO {
        @ApiModelProperty(value = "中队名称")
        private String name;
        @ApiModelProperty(value = "分数")
        private Double score;
    }
 
 
    @ApiModel(description = "AI算法")
    @Data
    @AllArgsConstructor
    public static class ArithmeticVO {
        @ApiModelProperty(value = "类型")
        private String name;
        @ApiModelProperty(value = "数量")
        private Integer count;
        @ApiModelProperty(value = "比例")
        private Double ratio;
    }
 
    /**
     * 城市体征看板 维度统一为本月
     */
    @ApiModel(description = "城市体征看板")
    @Data
    @AllArgsConstructor
    public static class CityPanelVo {
 
        @ApiModelProperty(value = "事件总数")
        private Integer event;
        @ApiModelProperty(value = "事件上升")
        private Boolean eventUp;
        @ApiModelProperty(value = "超时事件数")
        private Integer overtime;
        @ApiModelProperty(value = "超时事件上升")
        private Boolean overtimeUp;
        @ApiModelProperty(value = "事件处置率")
        private Integer disposePercentage;
        @ApiModelProperty(value = "事件处置率上升")
        private Boolean disposePercentageUp;
        @ApiModelProperty(value = "油烟排放超标")
        private Integer lampblack;
        @ApiModelProperty(value = "油烟排放超标上升")
        private Boolean lampblackUp;
        @ApiModelProperty(value = "违建事件数量")
        private Integer illegalBuilding;
        @ApiModelProperty(value = "违建事件上升")
        private Boolean illegalBuildingUp;
        @ApiModelProperty(value = "案件办理数")
        private Integer caseCount;
        @ApiModelProperty(value = "案件办理数上升")
        private Boolean caseCountUp;
        @ApiModelProperty(value = "户外广告违法")
        private Integer advertising;
        @ApiModelProperty(value = "户外广告违法上升")
        private Boolean advertisingUp;
        @ApiModelProperty(value = "占道经营数")
        private Integer roadsideStallBusiness;
        @ApiModelProperty(value = "占道经营数上升")
        private Boolean roadsideStallBusinessUp;
        @ApiModelProperty(value = "渣土运输违章")
        private Integer slag;
        @ApiModelProperty(value = "渣土运输违章上升")
        private Boolean slagUp;
 
    }
}