新增公用数据
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.njcn.mq.message;
|
package com.njcn.mq.message;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
import com.njcn.middle.rocket.domain.BaseMessage;
|
import com.njcn.middle.rocket.domain.BaseMessage;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -60,6 +61,9 @@ public class AppEventMessage extends BaseMessage {
|
|||||||
@ApiModelProperty("事件类型")
|
@ApiModelProperty("事件类型")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
|
@ApiModelProperty("告警故障编码(一般显示为Hex)")
|
||||||
|
private String code;
|
||||||
|
|
||||||
private List<Param> param;
|
private List<Param> param;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,14 @@ public class AppFileMessage extends BaseMessage {
|
|||||||
private String data;
|
private String data;
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
private Integer frameCurr;
|
||||||
|
|
||||||
|
private Integer frameTotal;
|
||||||
|
|
||||||
|
private Integer frameLen;
|
||||||
|
|
||||||
|
private Integer offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
|
|||||||
@@ -58,4 +58,20 @@ public interface AppRedisKey {
|
|||||||
*/
|
*/
|
||||||
String FILE_PART="filePartKey:";
|
String FILE_PART="filePartKey:";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件分片信息接收超时时间
|
||||||
|
*/
|
||||||
|
String FILE_PART_TIME="filePartTimeKey:";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件分片信息缺失
|
||||||
|
*/
|
||||||
|
String FILE_PART_MISSING="filePartMissingKey:";
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件等待处理时间
|
||||||
|
*/
|
||||||
|
String FILE_WAITING="fileWaitingKey:";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -167,6 +167,11 @@ public interface InfluxDBTableConstant {
|
|||||||
*/
|
*/
|
||||||
String UUID = "uuid";
|
String UUID = "uuid";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程(1:设备登记,2:功能调试,3:出厂调试 4:设备投运)
|
||||||
|
*/
|
||||||
|
String process = "process";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 报表业务计算方式
|
* 报表业务计算方式
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user