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; 
 | 
} 
 |