package com.njcn.prepare.harmonic.pojo.influxdb.po;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.time.Instant;

/**
 * @author xiaoyao
 * @version 1.0.0
 * @createTime 2022/10/21 13:45
 */
@Data
@Measurement(name = "harmonic_pollution")
public class DataPolluctionPO {

    @Column(name = "line_id")
    private String lineId;

    @Column(name = "time")
    private Instant time;

    @Column(name = "freq_dev")
    private Double freqDev;

    @Column(name = "v_dev")
    private Double vDev;

    @Column(name = "v_unbalance")
    private Double vUnbalance;

    @Column(name = "v_all")
    private Double vAll;

    @Column(name = "plt")
    private Double plt;

    @Column(name = "i_all")
    private Double iAll;

    @Column(name = "i_neg")
    private Double iNeg;

    @Column(name = "v_inharm")
    private Double vInharm;

}
