package com.njcn.gather.tool.addledger.pojo.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 数据单位管理表。
 */
@Data
@TableName("cs_device_unit")
public class AddDeviceUnit {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dev_id")
    @ApiModelProperty(value = "终端id")
    private String devId;

    @TableField("unit_frequency")
    @ApiModelProperty(value = "频率")
    private String unitFrequency = "Hz";

    @TableField("unit_frequency_dev")
    @ApiModelProperty(value = "频率偏差")
    private String unitFrequencyDev = "Hz";

    @TableField("phase_voltage")
    @ApiModelProperty(value = "相电压有效值")
    private String phaseVoltage = "kV";

    @TableField("line_voltage")
    @ApiModelProperty(value = "线电压有效值")
    private String lineVoltage = "kV";

    @TableField("voltage_dev")
    @ApiModelProperty(value = "电压上偏差")
    private String voltageDev = "%";

    @TableField("uvoltage_dev")
    @ApiModelProperty(value = "电压下偏差")
    private String uvoltageDev = "%";

    @TableField("i_effective")
    @ApiModelProperty(value = "电流有效值")
    private String ieffective = "A";

    @TableField("single_p")
    @ApiModelProperty(value = "单相有功功率")
    private String singleP = "kW";

    @TableField("single_view_p")
    @ApiModelProperty(value = "单相视在功率")
    private String singleViewP = "kVA";

    @TableField("single_no_p")
    @ApiModelProperty(value = "单相无功功率")
    private String singleNoP = "kVar";

    @TableField("total_active_p")
    @ApiModelProperty(value = "总有功功率")
    private String totalActiveP = "kW";

    @TableField("total_view_p")
    @ApiModelProperty(value = "总视在功率")
    private String totalViewP = "kVA";

    @TableField("total_no_p")
    @ApiModelProperty(value = "总无功功率")
    private String totalNoP = "kVar";

    @TableField("v_fund_effective")
    @ApiModelProperty(value = "相（线）电压基波有效值")
    private String vfundEffective = "kV";

    @TableField("i_fund")
    @ApiModelProperty(value = "基波电流")
    private String ifund = "A";

    @TableField("fund_active_p")
    @ApiModelProperty(value = "基波有功功率")
    private String fundActiveP = "kW";

    @TableField("fund_no_p")
    @ApiModelProperty(value = "基波无功功率")
    private String fundNoP = "kVar";

    @TableField("v_distortion")
    @ApiModelProperty(value = "电压总谐波畸变率")
    private String vdistortion = "%";

    @TableField("v_harmonic_rate")
    @ApiModelProperty(value = "2～50次谐波电压含有率")
    private String vharmonicRate = "%";

    @TableField("i_harmonic")
    @ApiModelProperty(value = "2～50次谐波电流有效值")
    private String iharmonic = "A";

    @TableField("p_harmonic")
    @ApiModelProperty(value = "2～50次谐波有功功率")
    private String pharmonic = "kW";

    @TableField("i_iharmonic")
    @ApiModelProperty(value = "0.5～49.5次间谐波电流有效值")
    private String iiharmonic = "A";

    @TableField("positive_v")
    @ApiModelProperty(value = "正序电压")
    private String positiveV = "kV";

    @TableField("no_positive_v")
    @ApiModelProperty(value = "零序负序电压")
    private String noPositiveV = "V";
}
