App用户密码调整

This commit is contained in:
2023-08-23 15:54:00 +08:00
parent 487a5f79c7
commit 39c910a33d
12 changed files with 209 additions and 9 deletions

View File

@@ -0,0 +1,77 @@
package com.njcn.mq.message;
import com.njcn.middle.rocket.domain.BaseMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2023/8/22 11:06
*/
@Data
public class AppEventMessage extends BaseMessage {
@ApiModelProperty("网络设备码")
private String id;
private Integer mid;
@ApiModelProperty("逻辑设备 治理逻辑设备为1 电能质量设备为2")
private Integer did;
private Integer pri;
private Integer type;
private Msg msg;
@Data
public static class Msg{
@ApiModelProperty("逻辑子设备 治理逻辑设备为0 电能质量设备为1、2")
private Integer clDid;
private Integer dataType;
@ApiModelProperty("数据属性:无-0、实时-1、统计-2")
private Integer dataAttr;
private Integer dsNameIdx;
private List<DataArray> dataArray;
}
@Data
public static class DataArray{
private Integer idx;
private String name;
private Long dataTimeSec;
private Long dataTimeUSec;
@ApiModelProperty("事件类型")
private String type;
private List<Param> param;
}
@Data
public static class Param{
private String name;
private String type;
private String unit;
private Object data;
}
}