yang_shj
2 years ago
7 changed files with 279 additions and 7 deletions
@ -0,0 +1,21 @@
|
||||
package com.hnac.hzims.operational.config.vo; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/16 10:06:33 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
public class AlarmDataPageVo { |
||||
|
||||
@ApiModelProperty(value = "类型") |
||||
private String type; |
||||
|
||||
@ApiModelProperty(value = "过滤站点编码") |
||||
private String code; |
||||
} |
@ -0,0 +1,57 @@
|
||||
package com.hnac.hzims.operational.config.vo; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import com.fasterxml.jackson.annotation.JsonInclude; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/16 11:05:58 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
public class AlarmVo { |
||||
|
||||
@ApiModelProperty(value = "主键Id") |
||||
private Long id; |
||||
|
||||
@ApiModelProperty(value = "站点变号") |
||||
private String station; |
||||
|
||||
@ApiModelProperty(value = "站点名称") |
||||
private String stationName; |
||||
|
||||
@ApiModelProperty(value = "内容") |
||||
private String content; |
||||
|
||||
@ApiModelProperty(value = "监测点位") |
||||
private String realId; |
||||
|
||||
@DateTimeFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss.SSS" |
||||
) |
||||
@JsonFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss.SSS" |
||||
) |
||||
@ApiModelProperty(value = "告警发生时间") |
||||
private Date ts; |
||||
|
||||
@ApiModelProperty(value = "事件状态") |
||||
private String soeStatus; |
||||
|
||||
@Deprecated |
||||
@JsonInclude(JsonInclude.Include.NON_NULL) |
||||
@ApiModelProperty(value = "事件类型") |
||||
private String soeType; |
||||
|
||||
@ApiModelProperty(value = "事件值") |
||||
@JsonInclude(JsonInclude.Include.NON_NULL) |
||||
private String optionvals; |
||||
|
||||
@ApiModelProperty(value = "事件报警类型") |
||||
private String soeAlarmType; |
||||
} |
@ -0,0 +1,28 @@
|
||||
package com.hnac.hzims.operational.config.vo; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import com.hnac.hzims.operational.main.vo.SoeDataVo; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author ysj |
||||
* @date 2023/03/16 10:06:33 |
||||
* @version 4.0.0 |
||||
*/ |
||||
@Data |
||||
public class IntelligentAlarmCountVo { |
||||
|
||||
@ApiModelProperty(value = "智能告警类型") |
||||
private String type; |
||||
|
||||
@ApiModelProperty(value = "智能告警名称") |
||||
private String name; |
||||
|
||||
@ApiModelProperty(value = "告警数量") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Long count; |
||||
} |
Loading…
Reference in new issue