AlarmRuleConfigAndLevelVO.java
3.6 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
package com.skua.modules.alarmtmp.vo;
import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.alarmtmp.entity.AlarmRuleLevelConfig;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
public class AlarmRuleConfigAndLevelVO implements Serializable {
/**
* 报警规则ID
*/
private String id;
/**
* 报警规则名称
*/
private String alarmRuleName;
/**
* 指标类型(1:数据报警,2:故障报警)
*/
private String alarmParamType;
/**
* 日均值报警起始时间
*/
private Date alarmParamEverydayAvgTime;
/**
* 报警指标名称
*/
private String alarmParamName;
/**
* 单位
*/
private String alarmParamUnit;
/**
* 报警指标编码
*/
private String alarmParamCode;
/**
* 指标有效上限
*/
private String effectiveUpperLimit;
/**
* 指标有效下限
*/
private String effectiveLowerLimit;
/**
* 厂对应报警指标编码
*/
private String alarmProgramCode;
/**
* 报警频率(单位h)
*/
private String alarmTimeInterval;
/**
* 报警数据超标率(单位%)
*/
private String alarmDataOverStandardRate;
/**
* 报警是否启用(0:停止,1:启用)
*/
private String alarmRuleStatus;
private int delFlag;
/**
* 采集时间
*/
private String time;
/**
* 所属厂区
*/
private String departId;
private String departName;
private String alarmRuleLevelName;
/**
* 批次id
*/
private String batchId;
private Double value;
private AlarmRuleLevelConfig alarmRuleLevelConfig;
//级别
private List<AlarmRuleLevelConfig> alarmRuleLevelConfigList;
//报警时间
private String recordTime;
//报警处置意见
private java.lang.String alarmRecommend;
//报警内容
private String alarmMsg;
@ApiModelProperty(value = "报警数据来源",notes = "用来区分普通报警/工艺仿真报警等")
private String alarmDataSource;
//报警类别相关属性
@ApiModelProperty(value = "报警类别大类")
@Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
private String alarmRuleTopType;
@ApiModelProperty(value = "报警类别二类")
@Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
private String alarmRuleSecondType;
@ApiModelProperty(value = "报警类别")
@Dict(dictTable = "alarm_rule_config_public_tab",dicCode = "id",dicText = "tab_name")
private String alarmRuleType;
@ApiModelProperty(value = "报警类别treepath")
private String alarmRuleTypeTreepath;
//报警方案规则相关属性
@ApiModelProperty(value = "报警方案名称")
private String alarmCustomRuleId;
@ApiModelProperty(value = "报警方案分组大类")
private String alarmCustomRuleTopType;
@ApiModelProperty(value = "报警方案分组二类")
private String alarmCustomRuleSecondType;
@ApiModelProperty(value = "报警方案分组类别")
private String alarmCustomRuleType;
@ApiModelProperty(value = "报警方案分组类别treepath")
private String alarmCustomRuleTypeTreepath;
@ApiModelProperty(value = "报警指标报警时刻数据集合")
private String alarmCustomIndexJsonData;
@ApiModelProperty(value = "视频地址")
private String imgPath;
@ApiModelProperty(value = "设备id")
private String equipmentId;
}