zhanghua
2024-12-20 1f45c25ea725445d7e78e8d5da6e72150f35f2eb
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
package com.ycl.entity.smoke;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.math.BigDecimal;
 
/**
 * <p>
 * 监测点信息
 * </p>
 *
 * @author lyq
 * @since 2023-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_ods_locale")
public class OdsLocale implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * Id
     */
    @TableId("id")
    @JsonProperty("Id")
    private String id;
 
    /**
     * 烟道名称
     */
    @TableField("n_name")
    @JsonProperty("Name")
    private String nName;
 
    /**
     * 单位[级联]
     */
    @TableField("owner")
    @JsonProperty("Owner")
    private String owner;
 
    /**
     * 菜系
     */
    @TableField("cuisine")
    @JsonProperty("Cuisine")
    private Integer cuisine;
 
    /**
     * 组织ID
     */
    @TableField("customer_id")
    @JsonProperty("CustomerId")
    private String customerId;
 
    /**
     * 风速
     */
    @TableField("fan_speed")
    @JsonProperty("FanSpeed")
    private BigDecimal fanSpeed;
 
    /**
     * 风量
     */
    @TableField("fan_quantity")
    @JsonProperty("FanQuantity")
    private BigDecimal fanQuantity;
 
    /**
     * 管道截面面积
     */
    @TableField("pipe_area")
    @JsonProperty("PipeArea")
    private BigDecimal pipeArea;
 
    /**
     * 灶头数量
     */
    @TableField("stove_num")
    @JsonProperty("StoveNum")
    private Integer stoveNum;
 
    /**
     * 离线判定[小时]
     */
    @TableField("offline_judge")
    @JsonProperty("OfflineJudge")
    private Integer offlineJudge;
 
    /**
     * 风机状态
     */
    @TableField("fan_status")
    @JsonProperty("FanStatus")
    private Integer fanStatus;
 
    /**
     * 净化器信息
     */
    @TableField("filter_info")
    @JsonProperty("FilterInfo")
    private String filterInfo;
 
    /**
     * 净化器状态
     */
    @TableField("filter_status")
    @JsonProperty("FilterStatus")
    private Integer filterStatus;
 
    /**
     * 抽样次数
     */
    @TableField("samplings")
    @JsonProperty("Samplings")
    private Integer samplings;
 
    /**
     * 是否联动
     */
    @TableField("link_status")
    @JsonProperty("LinkStatus")
    private Boolean linkStatus;
 
    /**
     * 超标阈值
     */
    @TableField("emissions_sill")
    @JsonProperty("EmissionsSill")
    private BigDecimal emissionsSill;
 
    /**
     * 集气灶面积[调研]
     */
    @TableField("stove_area")
    @JsonProperty("StoveArea")
    private BigDecimal stoveArea;
 
    /**
     * 日均排烟时间[调研]
     */
    @TableField("exhaust_time")
    @JsonProperty("ExhaustTime")
    private String exhaustTime;
 
    /**
     * 备注[调研]
     */
    @TableField("remark")
    @JsonProperty("Remark")
    private String remark;
 
    /**
     * 地址
     */
    @TableField("addr")
    @JsonProperty("Addr")
    private String addr;
 
    /**
     * 地区[级联]
     */
    @TableField("area_id")
    @JsonProperty("AreaId")
    private String areaId;
 
    /**
     * 经度
     */
    @TableField("lng")
    @JsonProperty("Lng")
    private String lng;
 
    /**
     * 纬度
     */
    @TableField("lat")
    @JsonProperty("Lat")
    private String lat;
 
    /**
     * 创建者
     */
    @TableField("creator")
    @JsonProperty("Creator")
    private String creator;
 
    /**
     * 创建日期
     */
    @TableField("create_at")
    @JsonProperty("CreateAt")
    private String createAt;
 
    /**
     * 状态[1:一般监测点,2:特殊监测点,99:废弃监测点]
     */
    @TableField("status")
    @JsonProperty("Status")
    private Integer status;
 
    /**
     * 颗粒物含量超标阈值
     */
    @TableField("granule_sill")
    @JsonProperty("GranuleSill")
    private BigDecimal granuleSill;
 
    /**
     * 非甲烷总烃超标阈值
     */
    @TableField("hydrocarbon_sill")
    @JsonProperty("HydrocarbonSill")
    private BigDecimal hydrocarbonSill;
 
    /**
     * 健康码颜色
     */
    @TableField("health_code_color")
    @JsonProperty("HealthCodeColor")
    private String healthCodeColor;
 
    /**
     * 最后绑定设备mn
     */
    @TableField("mn_last")
    @JsonProperty("MnLast")
    private String mnLast;
 
    /**
     * 监测点图片
     */
    @TableField("locale_pics")
    @JsonProperty("LocalePics")
    private String localePics;
 
    /**
     * 设备类型 最后一次绑定
     */
    @TableField("mn_typ_last")
    @JsonProperty("MnTypLast")
    private Integer mnTypLast;
 
    /**
     * 风机信息
     */
    @TableField("fan_info")
    @JsonProperty("FanInfo")
    private String fanInfo;
 
    /**
     * 取电方式
     */
    @TableField("power_supply_mode")
    @JsonProperty("PowerSupplyMode")
    private String powerSupplyMode;
 
    /**
     * 净化器风机联动比阈值
     */
    @TableField("link_ratio_sill")
    @JsonProperty("LinkRatioSill")
    private BigDecimal linkRatioSill;
 
    /**
     * 运维人员ID
     */
    @TableField("maintainer_id")
    @JsonProperty("MaintainerId")
    private String maintainerId;
 
    /**
     * 绿码:最近X天内,该店家超标次数小等于Value1(默认3)次的,且净化器不正常使用天数小等于Value2(默认3)天的,且离线天数{非歇业、非监测仪故障【数据来源运维人员填写的”异常处理“】}小等于Value3(默认3)。
     */
    @TableField("health_code_x")
    @JsonProperty("HealthCodeX")
    private Integer healthCodeX;
 
    @TableField("health_code_value1")
    @JsonProperty("HealthCodeValue1")
    private Integer healthCodeValue1;
 
    @TableField("health_code_value2")
    @JsonProperty("HealthCodeValue2")
    private Integer healthCodeValue2;
 
    @TableField("health_code_value3")
    @JsonProperty("HealthCodeValue3")
    private Integer healthCodeValue3;
 
    /**
     * 红码:最近X天内,该店家超标次数大于Value4(默认5)次的,或者净化器不正常使用天数大于Value5(默认5)天的,且离线天数小于Value6(默认5)。
     */
    @TableField("health_code_value4")
    @JsonProperty("HealthCodeValue4")
    private Integer healthCodeValue4;
 
    @TableField("health_code_value5")
    @JsonProperty("HealthCodeValue5")
    private Integer healthCodeValue5;
 
    @TableField("health_code_value6")
    @JsonProperty("HealthCodeValue6")
    private Integer healthCodeValue6;
 
    /**
     * 0~24点间油烟浓度(颗粒物、非甲烷总烃)三个值中的一项值一直小于Value7(默认0.05)mg/M3的,视为数据异常偏小;
     */
    @TableField("abnormal_value7")
    @JsonProperty("AbnormalValue7")
    private BigDecimal abnormalValue7;
 
    /**
     * 0~24点间油烟浓度(颗粒物、非甲烷总烃)三个值中的一项值一直大于Value8(默认30)mg/M3的,视为数据异常偏大;
     */
    @TableField("abnormal_value8")
    @JsonProperty("AbnormalValue8")
    private BigDecimal abnormalValue8;
 
    /**
     * 0~24点间油烟浓度(颗粒物、非甲烷总烃)三个值中的一项值一直非Value9(默认0)mg/M3的,视为数据漂移异常
     */
    @TableField("abnormal_value9")
    @JsonProperty("AbnormalValue9")
    private BigDecimal abnormalValue9;
 
    /**
     * 0~24点间上线时间小于Value10(默认60)分钟的,视为上线时间过短异常;
     */
    @TableField("abnormal_value10")
    @JsonProperty("AbnormalValue10")
    private BigDecimal abnormalValue10;
 
    /**
     * Ali设备名称
     */
    @TableField("ali_iot_device_name")
    @JsonProperty("AliIotDeviceName")
    private String aliIotDeviceName;
 
    /**
     * Ali设备
     */
    @TableField("ali_iot")
    @JsonProperty("AliIot")
    private String aliIot;
 
    /**
     * 创建时间
     */
    @TableField("created_at")
    @JsonProperty("CreatedAt")
    private String createdAt;
 
    /**
     * 更新时间
     */
    @TableField("updated_at")
    @JsonProperty("UpdatedAt")
    private String updatedAt;
 
    @TableField("health_code_value11")
    @JsonProperty("HealthCodeValue11")
    private Integer healthCodeValue11;
 
    @TableField("health_code_value12")
    @JsonProperty("HealthCodeValue12")
    private Integer healthCodeValue12;
 
    /**
     * 监测方式【1:合并传输 2:独立传输】
     */
    @TableField("send_mode")
    @JsonProperty("SendMode")
    private Integer sendMode;
 
    /**
     * 超标计算方式【1:抽样计算 2:滑动计算】
     */
    @TableField("surpass_calc_method")
    @JsonProperty("SurpassCalcMethod")
    private Integer surpassCalcMethod;
 
    /**
     * 风机正常电流值
     */
    @TableField("fan_standard_current")
    @JsonProperty("FanStandardCurrent")
    private Integer fanStandardCurrent;
 
    /**
     * 净化器正常电流值
     */
    @TableField("filter_standard_current")
    @JsonProperty("FilterStandardCurrent")
    private Integer filterStandardCurrent;
 
    /**
     * 设备状态[正常NORMAL、下线OFFLINE、废弃ABANDON]
     */
    @TableField("status_of_record")
    @JsonProperty("StatusOfRecord")
    private String statusOfRecord;
 
    /**
     * 审核备注
     */
    @TableField("remark_of_record")
    @JsonProperty("RemarkOfRecord")
    private String remarkOfRecord;
 
    /**
     * 审核原因
     */
    @TableField("cause")
    @JsonProperty("Cause")
    private String cause;
 
    @TableField("customer")
    private String customerString;
 
    @JsonProperty("Customer")
    @TableField(exist = false)
    private OdsLocaleCustomer customer;
}