package cn.stylefeng.guns.modular.em.equipmentAlarm.model.params;
|
|
import lombok.Data;
|
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
|
import java.util.Date;
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
|
/**
|
* <p>
|
* 设备报警
|
* </p>
|
*
|
* @author cl
|
* @since 2022-10-28
|
*/
|
@Data
|
public class EquipmentAlarmParam implements Serializable, BaseValidatingParam {
|
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* ID
|
*/
|
private Long id;
|
|
/**
|
* 设备编号
|
*/
|
private String equipmentNo;
|
|
/**
|
* 设备名称
|
*/
|
private String equipmentName;
|
|
/**
|
* 车间编号
|
*/
|
private String workshopCode;
|
|
/**
|
* 产线编号
|
*/
|
private String productionLineCode;
|
|
/**
|
* 工位编号
|
*/
|
private String locationCode;
|
|
/**
|
* 故障代码
|
*/
|
private String errorNo;
|
|
/**
|
* 故障描述
|
*/
|
private String errorDesc;
|
|
/**
|
* 报警时间
|
*/
|
private Date alarmTime;
|
|
/**
|
* 是否恢复(0否1是)
|
*/
|
private String whetherRecovery;
|
|
/**
|
* 恢复时间
|
*/
|
private Date recoveryTime;
|
|
/**
|
* 预留字段1
|
*/
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
private String spareField2;
|
|
/**
|
* 备注
|
*/
|
private String remarks;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getEquipmentNo() {
|
return equipmentNo;
|
}
|
|
public void setEquipmentNo(String equipmentNo) {
|
this.equipmentNo = equipmentNo;
|
}
|
|
public String getEquipmentName() {
|
return equipmentName;
|
}
|
|
public void setEquipmentName(String equipmentName) {
|
this.equipmentName = equipmentName;
|
}
|
|
public String getWorkshopCode() {
|
return workshopCode;
|
}
|
|
public void setWorkshopCode(String workshopCode) {
|
this.workshopCode = workshopCode;
|
}
|
|
public String getProductionLineCode() {
|
return productionLineCode;
|
}
|
|
public void setProductionLineCode(String productionLineCode) {
|
this.productionLineCode = productionLineCode;
|
}
|
|
public String getLocationCode() {
|
return locationCode;
|
}
|
|
public void setLocationCode(String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
public String getErrorNo() {
|
return errorNo;
|
}
|
|
public void setErrorNo(String errorNo) {
|
this.errorNo = errorNo;
|
}
|
|
public String getErrorDesc() {
|
return errorDesc;
|
}
|
|
public void setErrorDesc(String errorDesc) {
|
this.errorDesc = errorDesc;
|
}
|
|
public Date getAlarmTime() {
|
return alarmTime;
|
}
|
|
public void setAlarmTime(Date alarmTime) {
|
this.alarmTime = alarmTime;
|
}
|
|
public String getWhetherRecovery() {
|
return whetherRecovery;
|
}
|
|
public void setWhetherRecovery(String whetherRecovery) {
|
this.whetherRecovery = whetherRecovery;
|
}
|
|
public Date getRecoveryTime() {
|
return recoveryTime;
|
}
|
|
public void setRecoveryTime(Date recoveryTime) {
|
this.recoveryTime = recoveryTime;
|
}
|
|
public String getSpareField1() {
|
return spareField1;
|
}
|
|
public void setSpareField1(String spareField1) {
|
this.spareField1 = spareField1;
|
}
|
|
public String getSpareField2() {
|
return spareField2;
|
}
|
|
public void setSpareField2(String spareField2) {
|
this.spareField2 = spareField2;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
@Override
|
public String checkParam() {
|
return null;
|
}
|
|
}
|