提交 | 用户 | 时间
|
8286c6
|
1 |
package cn.stylefeng.guns.modular.em.equipmentAlarm.model.params; |
懒 |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam; |
|
5 |
import java.util.Date; |
|
6 |
import java.io.Serializable; |
|
7 |
import java.math.BigDecimal; |
|
8 |
|
|
9 |
/** |
|
10 |
* <p> |
|
11 |
* 设备报警 |
|
12 |
* </p> |
|
13 |
* |
|
14 |
* @author cl |
|
15 |
* @since 2022-10-28 |
|
16 |
*/ |
|
17 |
@Data |
|
18 |
public class EquipmentAlarmParam implements Serializable, BaseValidatingParam { |
|
19 |
|
|
20 |
private static final long serialVersionUID = 1L; |
|
21 |
|
|
22 |
|
|
23 |
/** |
|
24 |
* ID |
|
25 |
*/ |
|
26 |
private Long id; |
|
27 |
|
|
28 |
/** |
|
29 |
* 设备编号 |
|
30 |
*/ |
|
31 |
private String equipmentNo; |
|
32 |
|
|
33 |
/** |
|
34 |
* 设备名称 |
|
35 |
*/ |
|
36 |
private String equipmentName; |
|
37 |
|
|
38 |
/** |
|
39 |
* 车间编号 |
|
40 |
*/ |
|
41 |
private String workshopCode; |
|
42 |
|
|
43 |
/** |
|
44 |
* 产线编号 |
|
45 |
*/ |
|
46 |
private String productionLineCode; |
|
47 |
|
|
48 |
/** |
|
49 |
* 工位编号 |
|
50 |
*/ |
|
51 |
private String locationCode; |
|
52 |
|
|
53 |
/** |
|
54 |
* 故障代码 |
|
55 |
*/ |
|
56 |
private String errorNo; |
|
57 |
|
|
58 |
/** |
|
59 |
* 故障描述 |
|
60 |
*/ |
|
61 |
private String errorDesc; |
|
62 |
|
|
63 |
/** |
|
64 |
* 报警时间 |
|
65 |
*/ |
|
66 |
private Date alarmTime; |
|
67 |
|
|
68 |
/** |
|
69 |
* 是否恢复(0否1是) |
|
70 |
*/ |
|
71 |
private String whetherRecovery; |
|
72 |
|
|
73 |
/** |
|
74 |
* 恢复时间 |
|
75 |
*/ |
|
76 |
private Date recoveryTime; |
|
77 |
|
|
78 |
/** |
|
79 |
* 预留字段1 |
|
80 |
*/ |
|
81 |
private String spareField1; |
|
82 |
|
|
83 |
/** |
|
84 |
* 预留字段2 |
|
85 |
*/ |
|
86 |
private String spareField2; |
|
87 |
|
|
88 |
/** |
|
89 |
* 备注 |
|
90 |
*/ |
|
91 |
private String remarks; |
|
92 |
|
|
93 |
public Long getId() { |
|
94 |
return id; |
|
95 |
} |
|
96 |
|
|
97 |
public void setId(Long id) { |
|
98 |
this.id = id; |
|
99 |
} |
|
100 |
|
|
101 |
public String getEquipmentNo() { |
|
102 |
return equipmentNo; |
|
103 |
} |
|
104 |
|
|
105 |
public void setEquipmentNo(String equipmentNo) { |
|
106 |
this.equipmentNo = equipmentNo; |
|
107 |
} |
|
108 |
|
|
109 |
public String getEquipmentName() { |
|
110 |
return equipmentName; |
|
111 |
} |
|
112 |
|
|
113 |
public void setEquipmentName(String equipmentName) { |
|
114 |
this.equipmentName = equipmentName; |
|
115 |
} |
|
116 |
|
|
117 |
public String getWorkshopCode() { |
|
118 |
return workshopCode; |
|
119 |
} |
|
120 |
|
|
121 |
public void setWorkshopCode(String workshopCode) { |
|
122 |
this.workshopCode = workshopCode; |
|
123 |
} |
|
124 |
|
|
125 |
public String getProductionLineCode() { |
|
126 |
return productionLineCode; |
|
127 |
} |
|
128 |
|
|
129 |
public void setProductionLineCode(String productionLineCode) { |
|
130 |
this.productionLineCode = productionLineCode; |
|
131 |
} |
|
132 |
|
|
133 |
public String getLocationCode() { |
|
134 |
return locationCode; |
|
135 |
} |
|
136 |
|
|
137 |
public void setLocationCode(String locationCode) { |
|
138 |
this.locationCode = locationCode; |
|
139 |
} |
|
140 |
|
|
141 |
public String getErrorNo() { |
|
142 |
return errorNo; |
|
143 |
} |
|
144 |
|
|
145 |
public void setErrorNo(String errorNo) { |
|
146 |
this.errorNo = errorNo; |
|
147 |
} |
|
148 |
|
|
149 |
public String getErrorDesc() { |
|
150 |
return errorDesc; |
|
151 |
} |
|
152 |
|
|
153 |
public void setErrorDesc(String errorDesc) { |
|
154 |
this.errorDesc = errorDesc; |
|
155 |
} |
|
156 |
|
|
157 |
public Date getAlarmTime() { |
|
158 |
return alarmTime; |
|
159 |
} |
|
160 |
|
|
161 |
public void setAlarmTime(Date alarmTime) { |
|
162 |
this.alarmTime = alarmTime; |
|
163 |
} |
|
164 |
|
|
165 |
public String getWhetherRecovery() { |
|
166 |
return whetherRecovery; |
|
167 |
} |
|
168 |
|
|
169 |
public void setWhetherRecovery(String whetherRecovery) { |
|
170 |
this.whetherRecovery = whetherRecovery; |
|
171 |
} |
|
172 |
|
|
173 |
public Date getRecoveryTime() { |
|
174 |
return recoveryTime; |
|
175 |
} |
|
176 |
|
|
177 |
public void setRecoveryTime(Date recoveryTime) { |
|
178 |
this.recoveryTime = recoveryTime; |
|
179 |
} |
|
180 |
|
|
181 |
public String getSpareField1() { |
|
182 |
return spareField1; |
|
183 |
} |
|
184 |
|
|
185 |
public void setSpareField1(String spareField1) { |
|
186 |
this.spareField1 = spareField1; |
|
187 |
} |
|
188 |
|
|
189 |
public String getSpareField2() { |
|
190 |
return spareField2; |
|
191 |
} |
|
192 |
|
|
193 |
public void setSpareField2(String spareField2) { |
|
194 |
this.spareField2 = spareField2; |
|
195 |
} |
|
196 |
|
|
197 |
public String getRemarks() { |
|
198 |
return remarks; |
|
199 |
} |
|
200 |
|
|
201 |
public void setRemarks(String remarks) { |
|
202 |
this.remarks = remarks; |
|
203 |
} |
|
204 |
|
|
205 |
@Override |
|
206 |
public String checkParam() { |
|
207 |
return null; |
|
208 |
} |
|
209 |
|
|
210 |
} |