微调
This commit is contained in:
@@ -34,10 +34,10 @@ public class ZuTaiDTO {
|
||||
private String svgColor;
|
||||
|
||||
@SerializedName("svgPositionX")
|
||||
private Integer svgPositionX;
|
||||
private Double svgPositionX;
|
||||
|
||||
@SerializedName("svgPositionY")
|
||||
private Integer svgPositionY;
|
||||
private Double svgPositionY;
|
||||
|
||||
@SerializedName("echartsOption")
|
||||
private String echartsOption;
|
||||
@@ -49,10 +49,10 @@ public class ZuTaiDTO {
|
||||
private String tableHeader;
|
||||
|
||||
@SerializedName("size")
|
||||
private Integer size;
|
||||
private Double size;
|
||||
|
||||
@SerializedName("angle")
|
||||
private Integer angle;
|
||||
private Double angle;
|
||||
|
||||
@SerializedName("lineId")
|
||||
private String lineId;
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.njcn.csharmonic.pojo.vo;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.njcn.common.utils.serializer.InstantDateSerializer;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/6/25 13:31
|
||||
*/
|
||||
@Data
|
||||
public class CsRtDataVO {
|
||||
|
||||
@ApiModelProperty("图元id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("最新数据时间")
|
||||
@JsonSerialize(using = InstantDateSerializer.class)
|
||||
private Instant time;
|
||||
|
||||
@ApiModelProperty("监测点id")
|
||||
private String lineId;
|
||||
|
||||
@ApiModelProperty("相别")
|
||||
private String phaseType;
|
||||
|
||||
@ApiModelProperty("数据类型")
|
||||
private String valueType;
|
||||
|
||||
@ApiModelProperty("实时数据值,3.1415926则显示暂无数据")
|
||||
private Double value;
|
||||
|
||||
@ApiModelProperty("指标显示名称")
|
||||
private String statisticalName;
|
||||
|
||||
@ApiModelProperty("指标名称")
|
||||
private String target;
|
||||
|
||||
@ApiModelProperty("指标最大值")
|
||||
private Double maxValue;
|
||||
|
||||
@ApiModelProperty("指标最小值")
|
||||
private Double minValue;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user