事件、波形文件解析功能调整

This commit is contained in:
2023-09-26 20:31:56 +08:00
parent 4808106429
commit b76aed1a56
16 changed files with 474 additions and 189 deletions

View File

@@ -24,4 +24,6 @@ public class CsEventParam implements Serializable {
private String path;
private String location;
}

View File

@@ -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";
}

View File

@@ -34,4 +34,6 @@ public class FileInfoDto {
private String lineId;
private String location;
}

View File

@@ -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;
}

View File

@@ -20,4 +20,6 @@ public class WaveTimeDto {
private String endTime;
private String location;
}

View File

@@ -63,5 +63,9 @@ public class CsEventFileLogs {
*/
private LocalDateTime endTime;
/**
* 位置信息(grid:电网侧load:负载侧)
*/
private String location;
}