liurunyu
2024-07-24 33af27ee7a189b538452fc9adb63e0784324e009
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.dy.pipIrrGlobal.voRm;
 
import com.dy.common.po.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
/**
 * @author :WuZeYu
 * @Date :2024/7/23  8:39
 * @LastEditTime :2024/7/23  8:39
 * @Description
 */
@Data
@Schema(title = "控制器报警与状态视图对象")
public class VoControllerAlarmState implements BaseEntity {
 
    private static final long serialVersionUID = 202407230842001L;
 
    @Schema(description = "控制器ID")
    private String controllerId;
 
    @Schema(description = "取水口ID")
    private String intakeId;
 
    @Schema(description = "取水口名称")
    private String intakeName;
 
    @Schema(description = "控制器地址")
    private String rtuAddr;
 
    @Schema(description = "上报日期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dt;
 
    @Schema(description = "状态-阀门/泵(0打开、1关闭)")
    private Byte valveState;
 
    @Schema(description = "剩余水量小于报警上限报警报警(1:报警, 0:正常)")
    private Byte alarmRemainWater;
 
    @Schema(description = "剩余水量为0关泵/阀(1:关泵,0:正常)")
    private Byte alarm0WaterRemain;
 
    @Schema(description = "年用水量大于限制水量报警(1:报警 0:正常)")
    private Byte alarmExceedYear;
 
    @Schema(description = "流量计故障(1:报警,0:正常)")
    private Byte alarmWaterMeterFault;
 
    @Schema(description = "漏损(偷水)报警(1:报警, 0:正常)")
    private Byte alarmLoss;
 
    @Schema(description = "流量计损坏(正常通讯但瞬时为0)报警(1:报警,0:正常)")
    private Byte alarmWaterMeterBreak;
 
    @Schema(description = "电表故障报警(1:报警,0:正常)")
    private Byte alarmEleMeterFault;
 
    @Schema(description = "剩余金额为0(1:报警,0:正常)")
    private Byte alarm0MoneyRemain;
 
    @Schema(description = "控制器内门报警(1:报警,0:正常)")
    private Byte alarmInnerDoor;
 
    @Schema(description = "控制器外门打开报警(1:报警,0:正常)")
    private Byte alarmOuterDoor;
 
    @Schema(description = "交流缺项报警(1:报警,0:正常)")
    private Byte alarmEleMiss;
 
    @Schema(description = "交流过流报警(1:报警,0:正常)")
    private Byte alarmEleExceed;
 
    @Schema(description = "三相电欠压报警(1:报警,0:正常)")
    private Byte alarmEleLowVolt;
 
    @Schema(description = "IC卡状态(1、有效,0:无效)")
    private Byte stateIcEnable;
 
    @Schema(description = "电池电压报警(1:报警,0:正常)")
    private Byte alarmBatteryVolt;
 
    @Schema(description = "阀门报警(1:报警,0:正常)")
    private Byte alarmValve;
 
    @Schema(description = "供电方式(0: 220V,1:蓄电池)")
    private Byte powerType;
}