package com.njcn.product.carrycapacity.pojo.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * 
 * Description:
 * Date: 2024/2/20  11:15【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarryCapacityCalParam {
    @NotBlank(message = "参数不能为空")
    @ApiModelProperty("监测点索引")
    private String lineId;
    @ApiModelProperty("用户Id")
    private String userId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
    private LocalDate startTime;
    @ApiModelProperty("结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
    private LocalDate endTime;
    @ApiModelProperty(name = "scale",value = "电压等级")
    private String scale;
    @ApiModelProperty(name = "S_T",value = "S_T为配变额定容量（监测点基准容量）")
    private Double S_T;
    @ApiModelProperty(name = "S_pv",value = "S_pv为拟接入光伏容量")
    private Double S_pv;
    @ApiModelProperty(name = "stringMap",value = "首端电流模型参数A,B,C三项")
    private Map<String, Double[]> stringMap;

    @ApiModelProperty(name = "P_βminMap",value = "有功功率最小CP95值A,B,C三项")
    private Map<String, Double>  P_βminMap;

    @ApiModelProperty(name = "Q_βminMap",value = "无功功率最小CP95值A,B,C三项")
    private Map<String, Double> Q_βminMap;

    @ApiModelProperty(name = "I_βmax",value = "2-25次谐波幅值最大95概率值A,B,C三项中的最大值")
    private List<Double> I_βmax;

}