1.暂降概览下穿页面接口
This commit is contained in:
@@ -5,22 +5,49 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: cdf
|
||||
* @CreateTime: 2025-11-24
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class EventCoordsVO {
|
||||
|
||||
@ApiModelProperty(name = "x",value = "x轴")
|
||||
private Integer x;
|
||||
@ApiModelProperty(name = "xList",value = "下面的图x轴")
|
||||
private List<String> xList;
|
||||
|
||||
@ApiModelProperty(name = "y",value = "y轴")
|
||||
private Integer y;
|
||||
@ApiModelProperty(name = "trendList",value = "下面的图y轴")
|
||||
private List<TagObj> trendList;
|
||||
|
||||
@ApiModelProperty(name = "innerList",value = "xyz图")
|
||||
private List<inner> innerList;
|
||||
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public static class inner {
|
||||
@ApiModelProperty(name = "x",value = "x轴")
|
||||
private Integer x;
|
||||
|
||||
@ApiModelProperty(name = "y",value = "y轴")
|
||||
private Integer y;
|
||||
|
||||
@ApiModelProperty(name = "z",value = "z轴")
|
||||
private Integer z;
|
||||
}
|
||||
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public static class TagObj {
|
||||
@ApiModelProperty(name = "name",value = "名称")
|
||||
private String name;
|
||||
@ApiModelProperty(name = "trendList",value = "y轴数据")
|
||||
private List<Integer> trendList;
|
||||
}
|
||||
|
||||
@ApiModelProperty(name = "z",value = "z轴")
|
||||
private Integer z;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
package com.njcn.csharmonic.pojo.vo.event;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @Author: cdf
|
||||
@@ -12,13 +15,21 @@ import java.math.BigDecimal;
|
||||
@Data
|
||||
public class F47Curve {
|
||||
|
||||
private String id;
|
||||
@ApiModelProperty(name = "eventId", value = "暂降id")
|
||||
private String eventId;
|
||||
|
||||
@ApiModelProperty(name = "time", value = "事件发生时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS",timezone = "GMT+8")
|
||||
private LocalDateTime time;
|
||||
|
||||
@ApiModelProperty(name = "tag", value = "事件类型")
|
||||
private String tag;
|
||||
|
||||
@ApiModelProperty(name = "persistTime", value = "持续时间(ms)")
|
||||
private BigDecimal persistTime;
|
||||
|
||||
private BigDecimal amplitude;
|
||||
@ApiModelProperty(name = "eventValue", value = "特征幅值")
|
||||
private BigDecimal eventValue;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user