DeviceAlarmVo.java 4.56 KB
Newer Older
1 2 3 4
package com.zehong.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zehong.common.core.domain.BaseEntity;
5
import com.zehong.system.domain.TDeviceInfo;
6
import com.zehong.system.domain.TDeviceReportData;
7
import com.zehong.system.domain.TPipe;
8

9
import java.math.BigDecimal;
10
import java.util.Date;
11
import java.util.List;
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

/**
 * 报警信息对象 t_device_alarm
 * 
 * @author zehong
 * @date 2021-07-21
 */
public class DeviceAlarmVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer alarmId;

    /** 设备id */
    private Integer deviceId;

    /** 设备类型(0管道,1调压阀,2阀门井,3流量计,4压力表) */
    private String deviceType;

32 33 34 35 36 37
    /** 设备名称 */
    private String deviceName;

    /** 设备编号 */
    private String deviceCode;

38 39 40
    /** 设备监控数据列表(用于详情折线图) */
    private List<TDeviceReportData> deviceReportDataList;

41 42 43 44 45 46
    /** 设备列表(用于展示设备详情) */
    private List<TDeviceInfo> deviceList;

    /** 管道列表(用于展示管道详情) */
    private List<TPipe> pipeList;

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
    /** 工单id */
    private String orderId;

    /** 报警类型 */
    private String alarmType;

    /** 报警值(报警信息) */
    private String alarmValue;

    /** 报警开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 报警结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 处理状态(1不需处理,2已处理完成,3未处理完成) */
    private String dealStatus;

    public void setAlarmId(Integer alarmId)
    {
        this.alarmId = alarmId;
    }

    public Integer getAlarmId()
    {
        return alarmId;
    }

    public void setDeviceId(Integer deviceId)
    {
        this.deviceId = deviceId;
    }

    public Integer getDeviceId()
    {
        return deviceId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

111 112
    public List<TDeviceReportData> getDeviceReportDataList() {
        return deviceReportDataList;
113 114
    }

115 116
    public void setDeviceReportDataList(List<TDeviceReportData> deviceReportDataList) {
        this.deviceReportDataList = deviceReportDataList;
117 118
    }

119 120
    public List<TDeviceInfo> getDeviceList() {
        return deviceList;
121 122
    }

123 124
    public void setDeviceList(List<TDeviceInfo> deviceList) {
        this.deviceList = deviceList;
125 126
    }

127 128
    public List<TPipe> getPipeList() {
        return pipeList;
129 130
    }

131 132
    public void setPipeList(List<TPipe> pipeList) {
        this.pipeList = pipeList;
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
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }

    public void setAlarmValue(String alarmValue) 
    {
        this.alarmValue = alarmValue;
    }

    public String getAlarmValue() 
    {
        return alarmValue;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setDealStatus(String dealStatus) 
    {
        this.dealStatus = dealStatus;
    }

    public String getDealStatus() 
    {
        return dealStatus;
    }

195 196 197 198 199 200 201 202 203 204 205 206 207 208
    @Override
    public String toString() {
        return "DeviceAlarmVo{" +
                "alarmId=" + alarmId +
                ", deviceId=" + deviceId +
                ", deviceType='" + deviceType + '\'' +
                ", orderId='" + orderId + '\'' +
                ", alarmType='" + alarmType + '\'' +
                ", alarmValue='" + alarmValue + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", dealStatus='" + dealStatus + '\'' +
                '}';
    }
209
}