增加 设备预警信息 入口
parent
8af892c109
commit
f2ed4ad2f9
@ -0,0 +1,457 @@
|
|||||||
|
package com.rehome.zhdcoa.bean;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class DeviceAlarmListResultBean extends AIBaseBean{
|
||||||
|
private RowsBean data;
|
||||||
|
|
||||||
|
public RowsBean getData() {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setData(RowsBean data) {
|
||||||
|
this.data = data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Params {
|
||||||
|
private Double tptAlarmMaxValue;//
|
||||||
|
private Double spdAlarmMaxValue;//
|
||||||
|
private Double dpmAlarmMinValue;//
|
||||||
|
private Double tptAlarmMinValue;//
|
||||||
|
private Double spdAlarmMinValue;//
|
||||||
|
private Double dpmAlarmMaxValue;//
|
||||||
|
|
||||||
|
public Double getSpdAlarmMaxValue() {
|
||||||
|
return spdAlarmMaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSpdAlarmMaxValue(Double spdAlarmMaxValue) {
|
||||||
|
this.spdAlarmMaxValue = spdAlarmMaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getTptAlarmMaxValue() {
|
||||||
|
return tptAlarmMaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTptAlarmMaxValue(Double tptAlarmMaxValue) {
|
||||||
|
this.tptAlarmMaxValue = tptAlarmMaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getDpmAlarmMinValue() {
|
||||||
|
return dpmAlarmMinValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDpmAlarmMinValue(Double dpmAlarmMinValue) {
|
||||||
|
this.dpmAlarmMinValue = dpmAlarmMinValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getTptAlarmMinValue() {
|
||||||
|
return tptAlarmMinValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTptAlarmMinValue(Double tptAlarmMinValue) {
|
||||||
|
this.tptAlarmMinValue = tptAlarmMinValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getSpdAlarmMinValue() {
|
||||||
|
return spdAlarmMinValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSpdAlarmMinValue(Double spdAlarmMinValue) {
|
||||||
|
this.spdAlarmMinValue = spdAlarmMinValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getDpmAlarmMaxValue() {
|
||||||
|
return dpmAlarmMaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDpmAlarmMaxValue(Double dpmAlarmMaxValue) {
|
||||||
|
this.dpmAlarmMaxValue = dpmAlarmMaxValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RowsBean {
|
||||||
|
private int pageNo;//当前页
|
||||||
|
private int pageSize;//每页条数
|
||||||
|
private int totalRow;//总条数
|
||||||
|
private int totalPage;//总页数
|
||||||
|
private List<DataListBean> dataList;//报警数据列表
|
||||||
|
|
||||||
|
public int getPageNo() {
|
||||||
|
return pageNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPageNo(int pageNo) {
|
||||||
|
this.pageNo = pageNo;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getPageSize() {
|
||||||
|
return pageSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPageSize(int pageSize) {
|
||||||
|
this.pageSize = pageSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTotalRow() {
|
||||||
|
return totalRow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalRow(int totalRow) {
|
||||||
|
this.totalRow = totalRow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTotalPage() {
|
||||||
|
return totalPage;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalPage(int totalPage) {
|
||||||
|
this.totalPage = totalPage;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<DataListBean> getDataList() {
|
||||||
|
return dataList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDataList(List<DataListBean> dataList) {
|
||||||
|
this.dataList = dataList;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public static class DeviceData{
|
||||||
|
private Long id;//id
|
||||||
|
private String mqttIp;//设备ip
|
||||||
|
private String deviceCode;//设备编码
|
||||||
|
private Long deviceTime;//设备时间缀
|
||||||
|
private Long pkNum;//
|
||||||
|
private Integer status;//状态
|
||||||
|
private Double voltage;//
|
||||||
|
private Double temperature;//温度
|
||||||
|
private Double xAcceleration;//
|
||||||
|
private Double yAcceleration;//
|
||||||
|
private Double zAcceleration;//
|
||||||
|
private Double xSpeed;//
|
||||||
|
private Double ySpeed;//
|
||||||
|
private Double zSpeed;//
|
||||||
|
private Double xDisplacement;//
|
||||||
|
private Double yDisplacement;//
|
||||||
|
private Double zDisplacement;//
|
||||||
|
private Double xDcComponent;//
|
||||||
|
private Double yDcComponent;//
|
||||||
|
private Double zDcComponent;//
|
||||||
|
private Double xFrequency;//
|
||||||
|
private Double yFrequency;//
|
||||||
|
private Double zFrequency;//
|
||||||
|
private Double xFreq;//
|
||||||
|
private Double yFreq;//
|
||||||
|
private Double zFreq;//
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMqttIp() {
|
||||||
|
return mqttIp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMqttIp(String mqttIp) {
|
||||||
|
this.mqttIp = mqttIp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDeviceCode() {
|
||||||
|
return deviceCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeviceCode(String deviceCode) {
|
||||||
|
this.deviceCode = deviceCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getDeviceTime() {
|
||||||
|
return deviceTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeviceTime(Long deviceTime) {
|
||||||
|
this.deviceTime = deviceTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getPkNum() {
|
||||||
|
return pkNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPkNum(Long pkNum) {
|
||||||
|
this.pkNum = pkNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(Integer status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getVoltage() {
|
||||||
|
return voltage;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setVoltage(Double voltage) {
|
||||||
|
this.voltage = voltage;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getxAcceleration() {
|
||||||
|
return xAcceleration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setxAcceleration(Double xAcceleration) {
|
||||||
|
this.xAcceleration = xAcceleration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getTemperature() {
|
||||||
|
return temperature;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTemperature(Double temperature) {
|
||||||
|
this.temperature = temperature;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getyAcceleration() {
|
||||||
|
return yAcceleration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setyAcceleration(Double yAcceleration) {
|
||||||
|
this.yAcceleration = yAcceleration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getzAcceleration() {
|
||||||
|
return zAcceleration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setzAcceleration(Double zAcceleration) {
|
||||||
|
this.zAcceleration = zAcceleration;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getxSpeed() {
|
||||||
|
return xSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setxSpeed(Double xSpeed) {
|
||||||
|
this.xSpeed = xSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getySpeed() {
|
||||||
|
return ySpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setySpeed(Double ySpeed) {
|
||||||
|
this.ySpeed = ySpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getzSpeed() {
|
||||||
|
return zSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setzSpeed(Double zSpeed) {
|
||||||
|
this.zSpeed = zSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getxDisplacement() {
|
||||||
|
return xDisplacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setxDisplacement(Double xDisplacement) {
|
||||||
|
this.xDisplacement = xDisplacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getyDisplacement() {
|
||||||
|
return yDisplacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setyDisplacement(Double yDisplacement) {
|
||||||
|
this.yDisplacement = yDisplacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getzDisplacement() {
|
||||||
|
return zDisplacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setzDisplacement(Double zDisplacement) {
|
||||||
|
this.zDisplacement = zDisplacement;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getxDcComponent() {
|
||||||
|
return xDcComponent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setxDcComponent(Double xDcComponent) {
|
||||||
|
this.xDcComponent = xDcComponent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getyDcComponent() {
|
||||||
|
return yDcComponent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setyDcComponent(Double yDcComponent) {
|
||||||
|
this.yDcComponent = yDcComponent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getzDcComponent() {
|
||||||
|
return zDcComponent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setzDcComponent(Double zDcComponent) {
|
||||||
|
this.zDcComponent = zDcComponent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getxFrequency() {
|
||||||
|
return xFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setxFrequency(Double xFrequency) {
|
||||||
|
this.xFrequency = xFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getyFrequency() {
|
||||||
|
return yFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setyFrequency(Double yFrequency) {
|
||||||
|
this.yFrequency = yFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getzFrequency() {
|
||||||
|
return zFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setzFrequency(Double zFrequency) {
|
||||||
|
this.zFrequency = zFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getxFreq() {
|
||||||
|
return xFreq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setxFreq(Double xFreq) {
|
||||||
|
this.xFreq = xFreq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getyFreq() {
|
||||||
|
return yFreq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setyFreq(Double yFreq) {
|
||||||
|
this.yFreq = yFreq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getzFreq() {
|
||||||
|
return zFreq;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setzFreq(Double zFreq) {
|
||||||
|
this.zFreq = zFreq;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public static class DataListBean {
|
||||||
|
private Long id;//id
|
||||||
|
private String warningTime;//预警时间
|
||||||
|
private String createTime;//创䢖时间
|
||||||
|
private String description;//报警类型
|
||||||
|
private String deviceCode;//设备编号
|
||||||
|
private String deviceName;//设备名称
|
||||||
|
private Params params;//参数
|
||||||
|
private DeviceData data;//设备信息
|
||||||
|
private String statusStr;//设备状态描述
|
||||||
|
private String specialtyStr;//专业
|
||||||
|
private String typeStr;//类型描述
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getWarningTime() {
|
||||||
|
return warningTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setWarningTime(String warningTime) {
|
||||||
|
this.warningTime = warningTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDescription() {
|
||||||
|
return description;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDescription(String description) {
|
||||||
|
this.description = description;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDeviceCode() {
|
||||||
|
return deviceCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeviceCode(String deviceCode) {
|
||||||
|
this.deviceCode = deviceCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDeviceName() {
|
||||||
|
return deviceName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeviceName(String deviceName) {
|
||||||
|
this.deviceName = deviceName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Params getParams() {
|
||||||
|
return params;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setParams(Params params) {
|
||||||
|
this.params = params;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DeviceData getData() {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setData(DeviceData data) {
|
||||||
|
this.data = data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStatusStr() {
|
||||||
|
return statusStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatusStr(String statusStr) {
|
||||||
|
this.statusStr = statusStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSpecialtyStr() {
|
||||||
|
return specialtyStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSpecialtyStr(String specialtyStr) {
|
||||||
|
this.specialtyStr = specialtyStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTypeStr() {
|
||||||
|
return typeStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTypeStr(String typeStr) {
|
||||||
|
this.typeStr = typeStr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue