事件、波形文件解析功能调整
This commit is contained in:
@@ -24,4 +24,6 @@ public class CsEventParam implements Serializable {
|
||||
|
||||
private String path;
|
||||
|
||||
private String location;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.njcn.zlevent.pojo.constant;
|
||||
|
||||
/**
|
||||
* 字典通用常量
|
||||
* @author xuyang
|
||||
*/
|
||||
public interface ZlConstant {
|
||||
|
||||
/**
|
||||
* 事件发生位置
|
||||
*/
|
||||
String EVENT_POSITION = "Evt_Param_Position";
|
||||
|
||||
/**
|
||||
* 波形文件位置
|
||||
*/
|
||||
String WAVE_POSITION = "Wave_Param_Position";
|
||||
|
||||
/**
|
||||
* 负载侧
|
||||
*/
|
||||
String LOAD = "load";
|
||||
|
||||
/**
|
||||
* 电网侧
|
||||
*/
|
||||
String GRID = "grid";
|
||||
|
||||
/**
|
||||
* 波形文件名称
|
||||
*/
|
||||
String WAVE_NAME = "Wave_Param_RcdName";
|
||||
|
||||
/**
|
||||
* 波形持续时间
|
||||
*/
|
||||
String WAVE_PARAM_RCDKEEPTIME = "Wave_Param_RcdKeepTime";
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -34,4 +34,6 @@ public class FileInfoDto {
|
||||
|
||||
private String lineId;
|
||||
|
||||
private String location;
|
||||
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ public class NoticeUserDto implements Serializable {
|
||||
@Data
|
||||
public static class Payload implements Serializable {
|
||||
|
||||
@ApiModelProperty("事件类型 0:设备运行事件 1:暂态事件 2:稳态事件 3:设备告警")
|
||||
@ApiModelProperty("事件类型 0:暂态事件 1:稳态事件 2:设备事件 3:设备告警")
|
||||
@ParamName("type")
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
@@ -20,4 +20,6 @@ public class WaveTimeDto {
|
||||
|
||||
private String endTime;
|
||||
|
||||
private String location;
|
||||
|
||||
}
|
||||
|
||||
@@ -63,5 +63,9 @@ public class CsEventFileLogs {
|
||||
*/
|
||||
private LocalDateTime endTime;
|
||||
|
||||
/**
|
||||
* 位置信息(grid:电网侧,load:负载侧)
|
||||
*/
|
||||
private String location;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user