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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 设备单位保存参数。
 */
@Data
@ApiModel("设备单位保存参数")
public class AddDeviceUnitSaveParam {

    @ApiModelProperty(value = "设备ID", required = true)
    @NotBlank(message = "设备 ID 不能为空")
    private String devId;

    @ApiModelProperty("频率")
    private String unitFrequency;

    @ApiModelProperty("频率偏差")
    private String unitFrequencyDev;

    @ApiModelProperty("相电压有效值")
    private String phaseVoltage;

    @ApiModelProperty("线电压有效值")
    private String lineVoltage;

    @ApiModelProperty("电压上偏差")
    private String voltageDev;

    @ApiModelProperty("电压下偏差")
    private String uvoltageDev;

    @ApiModelProperty("电流有效值")
    private String ieffective;

    @ApiModelProperty("单相有功功率")
    private String singleP;

    @ApiModelProperty("单相视在功率")
    private String singleViewP;

    @ApiModelProperty("单相无功功率")
    private String singleNoP;

    @ApiModelProperty("总有功功率")
    private String totalActiveP;

    @ApiModelProperty("总视在功率")
    private String totalViewP;

    @ApiModelProperty("总无功功率")
    private String totalNoP;

    @ApiModelProperty("相线电压基波有效值")
    private String vfundEffective;

    @ApiModelProperty("基波电流")
    private String ifund;

    @ApiModelProperty("基波有功功率")
    private String fundActiveP;

    @ApiModelProperty("基波无功功率")
    private String fundNoP;

    @ApiModelProperty("电压总谐波畸变率")
    private String vdistortion;

    @ApiModelProperty("2-50次谐波电压含有率")
    private String vharmonicRate;

    @ApiModelProperty("2-50次谐波电流有效值")
    private String iharmonic;

    @ApiModelProperty("2-50次谐波有功功率")
    private String pharmonic;

    @ApiModelProperty("0.5-49.5次间谐波电流有效值")
    private String iiharmonic;

    @ApiModelProperty("正序电压")
    private String positiveV;

    @ApiModelProperty("零序负序电压")
    private String noPositiveV;
}
