2024-06-27 11:46:52 +08:00
|
|
|
package com.njcn.influx.pojo.dto;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.njcn.influx.utils.InstantDateSerializer;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.influxdb.annotation.Column;
|
|
|
|
|
|
|
|
|
|
import java.time.Instant;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Description:
|
|
|
|
|
* Date: 2023/6/5 10:23【需求编号】
|
|
|
|
|
*
|
|
|
|
|
* @author clam
|
|
|
|
|
* @version V1.0.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
public class StatisticalDataDTO {
|
|
|
|
|
|
|
|
|
|
@Column(name = "time")
|
|
|
|
|
@JsonSerialize(using = InstantDateSerializer.class)
|
|
|
|
|
private Instant time;
|
|
|
|
|
|
|
|
|
|
@Column(name = "line_id")
|
|
|
|
|
private String lineId;
|
|
|
|
|
|
|
|
|
|
@Column(name = "phasic_type")
|
|
|
|
|
private String phaseType;
|
|
|
|
|
|
|
|
|
|
@Column(name = "value_type")
|
|
|
|
|
private String valueType;
|
|
|
|
|
|
|
|
|
|
@Column(name = "cl_did")
|
|
|
|
|
private String clDid;
|
|
|
|
|
|
|
|
|
|
|
2024-09-13 14:28:14 +08:00
|
|
|
/**
|
|
|
|
|
* 谐波次数
|
|
|
|
|
*/
|
|
|
|
|
private String frequency;
|
2024-06-27 11:46:52 +08:00
|
|
|
/**
|
|
|
|
|
* 指标值
|
|
|
|
|
*/
|
|
|
|
|
private Double value;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 指标名称
|
|
|
|
|
*/
|
|
|
|
|
private String statisticalName;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 指标
|
|
|
|
|
*/
|
|
|
|
|
private String target;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 指标最大值
|
|
|
|
|
*/
|
|
|
|
|
private Double maxValue;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 指标最小值
|
|
|
|
|
*/
|
|
|
|
|
private Double minValue;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 指标平均值
|
|
|
|
|
*/
|
|
|
|
|
private Double avgValue;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|