whycxzp
2025-05-29 c7e295d1dfdfeb8b092e757b68b374912705ef15
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
package com.whyc.pojo.db_fire_robot;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
 
import java.util.Date;
 
/**
 * 算法识别报警状态
 * "type": "identifyAlarm",
 *   "data": {
 *     "gatherTime":"2025-03-28 13:44:31",  // 采集时间
 *     "position": 2,  // 位置 1-"右岸开关站直流第二组蓄电池", 2-"右岸开关站直流第一组蓄电池",3-
 *         "7-9号机组直流第二组蓄电池",4- "7-9号机组直流第一组蓄电池",5-
 *         "10-12号机组直流第二组蓄电池", 6-"10-12号机组直流第一组蓄电池",7-
 *         "右岸公用直流第二组蓄电池", 8-"右岸公用直流第一组蓄电池"
 * "batteryCells": 1,  // 电池节数 1-"53-56节电池本体",2- "53-56节电池接线柱",3- "101-104节电池本体", 4-"101-104节电池接线柱",5-
 *             "1-4节电池接线柱",6- "1-4节电池本体",7- "49-52节电池接线柱", 8-"49-52节电池本体",9-
 *             "57-61节电池本体", 10-"57-61节电池接线柱", 11-"96-100节电池本体",12- "96-100节电池接线柱",13-
 *             "5-9节电池接线柱", 14-"5-9节电池本体", 15-"44-48节电池接线柱", 16-"44-48节电池本体",17-
 *             "62-65节电池本体", 18-"62-65节电池接线柱", 19-"92-95节电池本体",20- "92-95节电池接线柱",21-
 *             "10-13节电池接线柱", 22-"10-13节电池本体", 23-"40-43节电池接线柱", 24-"40-43节电池本体"
 * "identifyType": 0 ,   // 识别类型 0-异物识别 1-指示灯识别 2-漏液识别 3-结晶识别 4-表计识别
 * "identifyResult": True,  // 识别结果
 * "imagePath": "D:\room14_3_1748337299944.jpg" // 识别结果图片路径
 */
@Data
@ToString
@TableName(schema = "db_fire_robot",value = "tb_identify_alarm")
public class IdentifyAlarm {
 
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "采集时间")
    private Date  gatherTime;
    @ApiModelProperty(value = "位置")
    private int position;
    @ApiModelProperty(value = "电池节数")
    private int batteryCells;
    @ApiModelProperty(value = "识别类型")
    private int identifyType;
    @ApiModelProperty(value = "识别结果")
    private boolean identifyResult;
    @ApiModelProperty(value = "识别结果图片路径")
    private String imagePath;
 
}