AbnormalGatherAlarmRequest.java
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package cn.com.glsx.schedulerjob.model;
import java.io.Serializable;
import java.util.List;
/**
* 异常聚集报警接口请求参数对象
* 对应文档3.10节:设备上报指定日期的异常聚集报警数据(含报警次数、位置、站点等)
*/
public class AbnormalGatherAlarmRequest implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 数据所属日期
* 必填:是
* 格式:yyyy-MM-dd
* 对应文档3.10.2 currentDay字段
*/
private String currentDay;
/**
* 异常聚集报警列表
* 必填:是
* 类型:Array(List)
* 对应文档3.10.2 alarmList字段
*/
private List<AbnormalGatherAlarmItem> alarmList;
// 无参构造
public AbnormalGatherAlarmRequest() {
}
// 全参构造
public AbnormalGatherAlarmRequest(String currentDay, List<AbnormalGatherAlarmItem> alarmList) {
this.currentDay = currentDay;
this.alarmList = alarmList;
}
// Getter & Setter
public String getCurrentDay() {
return currentDay;
}
public void setCurrentDay(String currentDay) {
this.currentDay = currentDay;
}
public List<AbnormalGatherAlarmItem> getAlarmList() {
return alarmList;
}
public void setAlarmList(List<AbnormalGatherAlarmItem> alarmList) {
this.alarmList = alarmList;
}
// toString
@Override
public String toString() {
return "AbnormalGatherAlarmRequest{" +
"currentDay='" + currentDay + '\'' +
", alarmList=" + alarmList +
'}';
}
}