add(ems and moudle): 新增能源类型设备数量统计和能源数据查询功能
- 在 EmsBaseMonitorInfoController 中添加了获取指定能源类型设备数量的接口 - 在 EmsBaseMonitorInfoMapper 和 XML 中添加了相应的 SQL 查询方法 - 在 EmsBaseMonitorInfoServiceImpl 和 IEmsBaseMonitorInfoService 中实现了获取能源类型设备数量的方法 - 在 RecordBusbarAlarmController 中添加了记录母排近七天巡检记录次数的接口 - 新增 RecordBusbarAlarmCountResult 类用于记录母排报警统计结果- 在 RecordBusbarAlarmMapper.xml 中添加了记录母排报警统计的 SQL 查询 - 在 TWTempertureDataController 中添加了查询最新温度数据的接口 - 在 TWTempertureDataMapper 和 TWTempertureDataServiceImpl 中实现了查询最新温度数据的方法IOT
parent
2f49f9639e
commit
cbc287cc6a
@ -0,0 +1,36 @@
|
|||||||
|
package com.ruoyi.record.domain.VO;
|
||||||
|
|
||||||
|
import com.ruoyi.record.domain.RecordBusbarAlarm;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
|
||||||
|
public class RecordBusbarAlarmCountResult extends RecordBusbarAlarm {
|
||||||
|
private Date recordDate;
|
||||||
|
private int alarmCount;
|
||||||
|
|
||||||
|
public Date getRecordDate() {
|
||||||
|
return recordDate;
|
||||||
|
}
|
||||||
|
public void setRecordDate(Date recordDate) {
|
||||||
|
this.recordDate = recordDate;
|
||||||
|
}
|
||||||
|
public int getAlarmCount() {
|
||||||
|
return alarmCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAlarmCount(int alarmCount) {
|
||||||
|
this.alarmCount = alarmCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
|
||||||
|
.append("recordDate", getRecordDate())
|
||||||
|
.append("alarmCount", getAlarmCount())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue