1.设备注册接入优化
2.波形文件接收、解析功能调整
This commit is contained in:
@@ -59,7 +59,7 @@ public class RspDataDto {
|
||||
}
|
||||
|
||||
/**
|
||||
* 软件信息
|
||||
* 监测点信息
|
||||
*/
|
||||
@Data
|
||||
public static class LdevInfo {
|
||||
@@ -79,6 +79,9 @@ public class RspDataDto {
|
||||
|
||||
@SerializedName("CtRatio")
|
||||
private Double ctRatio;
|
||||
|
||||
@SerializedName("Capacity_A")
|
||||
private Double capacity;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -72,6 +72,10 @@ public class EventDto {
|
||||
@ApiModelProperty("事件类型")
|
||||
private String type;
|
||||
|
||||
@SerializedName("Code")
|
||||
@ApiModelProperty("告警故障编码(一般显示为Hex)")
|
||||
private String code;
|
||||
|
||||
@SerializedName("Parm")
|
||||
private List<Param> param;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/3/13 12:09
|
||||
*/
|
||||
@Data
|
||||
public class CpuInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
@ApiModelProperty("读写操作属性")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("CpuCore")
|
||||
@ApiModelProperty("CPU核心数")
|
||||
private Integer cpuCore;
|
||||
|
||||
@SerializedName("CpuFreq")
|
||||
@ApiModelProperty("CPU主频(单位MHz)")
|
||||
private Float cpuFreq;
|
||||
|
||||
@SerializedName("Arch")
|
||||
@ApiModelProperty("CPU架构")
|
||||
private String arch;
|
||||
|
||||
@SerializedName("CpuLmt")
|
||||
@ApiModelProperty("CPU监控阈值(单位%)")
|
||||
private Float cpuLmt;
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/3/13 12:08
|
||||
*/
|
||||
@Data
|
||||
public class DevInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
@ApiModelProperty("读写操作属性")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("DevType")
|
||||
@ApiModelProperty("设备型号")
|
||||
private String devType;
|
||||
|
||||
@SerializedName("DevName ")
|
||||
@ApiModelProperty("设备名称")
|
||||
private String devName;
|
||||
|
||||
@SerializedName("MsgInfo")
|
||||
@ApiModelProperty("设备厂商信息")
|
||||
private String msgInfo;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/3/13 12:09
|
||||
*/
|
||||
@Data
|
||||
public class DiskInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
@ApiModelProperty("读写操作属性")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("DiskPhy")
|
||||
@ApiModelProperty("磁盘空间(单位MB)")
|
||||
private Float diskPhy;
|
||||
|
||||
@SerializedName("DiskLmt")
|
||||
@ApiModelProperty("内存监控阈值(单位%)")
|
||||
private Float diskLmt;
|
||||
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.apache.poi.hpsf.Decimal;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/5/4 10:04
|
||||
*/
|
||||
@Data
|
||||
public class LDevInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("Cldid")
|
||||
@ApiModelProperty(value = "逻辑子设备Id")
|
||||
private Integer cldId;
|
||||
|
||||
@SerializedName("VolGrade")
|
||||
@ApiModelProperty(value = "电压等级")
|
||||
private Double volGrade;
|
||||
|
||||
@SerializedName("ConType")
|
||||
@ApiModelProperty(value = "接线方式")
|
||||
private Integer conType;
|
||||
|
||||
@SerializedName("PtRatio")
|
||||
@ApiModelProperty(value = "PT变比")
|
||||
private BigDecimal ptRatio;
|
||||
|
||||
@SerializedName("CtRatio")
|
||||
@ApiModelProperty(value = "CT变比")
|
||||
private BigDecimal ctRatio;
|
||||
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/3/13 12:09
|
||||
*/
|
||||
@Data
|
||||
public class MemInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
@ApiModelProperty("读写操作属性")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("MemPhy")
|
||||
@ApiModelProperty("物理内存(单位MB)")
|
||||
private Float memPhy;
|
||||
|
||||
@SerializedName("MemLmt")
|
||||
@ApiModelProperty("内存监控阈值(单位%)")
|
||||
private Float memLmt;
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/5/16 15:30
|
||||
*/
|
||||
@Data
|
||||
public class PrjInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
@NotEmpty(message = "读写操作属性不可为空")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("Province")
|
||||
@NotEmpty(message = "安装区域省,不可为空")
|
||||
private String province;
|
||||
|
||||
@SerializedName("City")
|
||||
@NotEmpty(message = "安装区域市,不可为空")
|
||||
private String city;
|
||||
|
||||
@SerializedName("County")
|
||||
@NotEmpty(message = "安装区域县或区,不可为空")
|
||||
private String county;
|
||||
|
||||
@SerializedName("Address")
|
||||
@NotEmpty(message = "安装地址(厂区或变电站),不可为空")
|
||||
private String address;
|
||||
|
||||
@SerializedName("Position")
|
||||
@NotEmpty(message = "安装位置,不可为空")
|
||||
private String position;
|
||||
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
package com.njcn.access.pojo.dto.devModel;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.Null;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/3/13 12:09
|
||||
*/
|
||||
@Data
|
||||
public class SoftInfoDto implements Serializable {
|
||||
|
||||
@SerializedName("OpAttr")
|
||||
@NotEmpty(message = "读写操作属性不可为空")
|
||||
private String opAttr;
|
||||
|
||||
@SerializedName("OsName")
|
||||
@NotEmpty(message = "操作系统名称,裸机系统填Null,不可为空")
|
||||
private String osName;
|
||||
|
||||
@SerializedName("OsVersion")
|
||||
@NotEmpty(message = "操作系统版本,裸机系统填Null,不可为空")
|
||||
private String osVersion;
|
||||
|
||||
@SerializedName("AppVersion")
|
||||
@NotEmpty(message = "应用程序版本号,不可为空")
|
||||
private String appVersion;
|
||||
|
||||
@SerializedName("AppDate")
|
||||
@NotEmpty(message = "应用程序发布日期,不可为空")
|
||||
private String appDate;
|
||||
|
||||
@SerializedName("AppCheck")
|
||||
@NotEmpty(message = "应用程序校验码,不可为空")
|
||||
private String appCheck;
|
||||
|
||||
@SerializedName("Softupdate")
|
||||
@NotEmpty(message = "是否支持远程升级程序,不可为空")
|
||||
private String softUpdate;
|
||||
|
||||
}
|
||||
@@ -50,6 +50,21 @@ public class FileDto implements Serializable {
|
||||
@SerializedName("Name")
|
||||
private String name;
|
||||
|
||||
@SerializedName("FrameCurr")
|
||||
@ApiModelProperty("当前帧")
|
||||
private Integer frameCurr;
|
||||
|
||||
@SerializedName("FrameTotal")
|
||||
@ApiModelProperty("总帧数")
|
||||
private Integer frameTotal;
|
||||
|
||||
@SerializedName("FrameLen")
|
||||
@ApiModelProperty("单帧大小")
|
||||
private Integer frameLen;
|
||||
|
||||
@SerializedName("Offset")
|
||||
private Integer offset;
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
|
||||
Reference in New Issue
Block a user