package com.njcn.harmonic.pojo.po.report;

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

import java.time.Instant;

/**
 * data_v influxDB别名映射表
 *
 * @author qijian
 * @version 1.0.0
 * @createTime 2022/10/27 15:27
 */
@Data
@Measurement(name = "data_i")
public class DataI {

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

    @Column(name = "phasic_type")
    private String phaseType;

    @Column(name = "value_type")
    private String valueType;

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

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

    @Column(name = "freq_max")
    private Double frepMAX;

    @Column(name = "freq_min")
    private Double frepMIN;

    @Column(name = "rms_max")
    private Double rmsMAX;

    @Column(name = "rms_min")
    private Double rmsMIN;

    @Column(name = "rms_lvr_max")
    private Double rmsLvrMAX;

    @Column(name = "rms_lvr_min")
    private Double rmsLvrMIN;

    @Column(name = "v_thd_max")
    private Double vThdMAX;

    @Column(name = "v_thd_min")
    private Double vThdMIN;

    @Column(name = "v_unbalance_max")
    private Double vUnbalanceMAX;

    @Column(name = "v_unbalance_min")
    private Double vUnbalanceMIN;

    @Column(name = "freq_count")
    private Integer freqCount;

    @Column(name = "rms_count")
    private Integer rmsCount;

    @Column(name = "rms_lvr_count")
    private Integer rmsLvrCount;

    @Column(name = "v_thd_count")
    private Integer vThdCount;

    @Column(name = "v_unbalance_count")
    private Integer vUnbalanceCount;


}
