查询暂降事件
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.njcn.influx.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2023/8/30 18:38【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Data
|
||||
public class EventQueryDTO {
|
||||
private String devId;
|
||||
private List<String> lineIds;
|
||||
private List<String> target;
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.njcn.influx.pojo.po.cs;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.njcn.common.utils.serializer.InstantDateSerializer;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
import org.influxdb.annotation.Measurement;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2022/4/7 10:00
|
||||
*/
|
||||
@Data
|
||||
@Measurement(name = "evt_data")
|
||||
public class EntData {
|
||||
|
||||
@Column(name = "time")
|
||||
@JsonSerialize(using = InstantDateSerializer.class)
|
||||
private Instant time;
|
||||
|
||||
@Column(name = "line_id")
|
||||
private String lineId;
|
||||
|
||||
@Column(name = "sec")
|
||||
private String sec;
|
||||
|
||||
@Column(name = "target")
|
||||
private String target;
|
||||
|
||||
@Column(name = "evt_vva")
|
||||
private Double evtVva;
|
||||
|
||||
@Column(name = "evt_vvadepth")
|
||||
private Double evtVvadepth;
|
||||
|
||||
@Column(name = "evt_vvaphase")
|
||||
private String evtVvaphase;
|
||||
|
||||
@Column(name = "evt_vvatm")
|
||||
private Double evtVvatm;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user