Browse Source

华自3000集中监控告警代码提交

zhongwei
tyty 1 year ago
parent
commit
96cc24565b
  1. 57
      hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/FdpAlarmVo.java
  2. 5
      hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/SystemAlarmVo.java

57
hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/FdpAlarmVo.java

@ -0,0 +1,57 @@
package com.hnac.hzims.alarm.vo;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.util.Date;
/**
* @author ty
*/
@Data
@ApiModel(value = "fdp智能预警对象", description = "fdp智能预警对象")
public class FdpAlarmVo {
private static final long serialVersionUID = 1L;
/**
* 故障ID
*/
private String faultId;
/**
* 故障站点
*/
private String station;
/**
* 故障名称
*/
private String name;
/**
* 位置
*/
private String ord;
/**
* 故障状态
*/
private Float status;
/**
* 故障的附属信息
*/
private String info;
/**
* 报警类型
*/
private String ftype;
/**
* 报警内容
*/
private String finfo;
/**
* 报警内容
*/
private Object[] children;
/**
* 报警内容
*/
private Date createTime;
}

5
hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/entity/SystemAlarmEntity.java → hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/SystemAlarmVo.java

@ -1,8 +1,7 @@
package com.hnac.hzims.alarm.entity;
package com.hnac.hzims.alarm.vo;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springblade.core.tenant.mp.TenantEntity;
/**
@ -10,7 +9,7 @@ import org.springblade.core.tenant.mp.TenantEntity;
*/
@Data
@ApiModel(value = "华自3000告警对象", description = "华自3000告警对象")
public class SystemAlarmEntity extends TenantEntity {
public class SystemAlarmVo {
private static final long serialVersionUID = 1L;
Loading…
Cancel
Save