package com.njcn.product.device.ledger.pojo.vo;

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

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author denghuajun
 * @date 2022/2/23
 *  监测点信息
 */
@Data
@ApiModel
public class LineDetailDataVO {
    private String lineId;
    @ApiModelProperty(name = "id",value = "监测点序号")
    private Integer id;

    @ApiModelProperty(name = "lineName",value = "监测点名称")
    private String lineName;

    @ApiModelProperty(name = "areaName",value = "工程名称")
    private String areaName;

    @ApiModelProperty(name = "gdName",value = "单位")
    private String gdName;

    @ApiModelProperty(name = "bdName",value = "部门")
    private String bdName;

    @ApiModelProperty(name = "scale",value = "电压等级")
    private String scale;

    @ApiModelProperty(name = "manufacturer",value = "厂家")
    private String manufacturer;

    @ApiModelProperty(name = "devId",value = "终端Id")
    private String devId;

    @ApiModelProperty(name = "devName",value = "终端名称")
    private String devName;

    @ApiModelProperty(name = "ip",value = "网络参数")
    private String ip;

    @ApiModelProperty(name = "runFlag",value = "终端运行状态")
    private String runFlag;

    @ApiModelProperty(name = "comFlag",value = "通讯状态")
    private String comFlag;

    @ApiModelProperty(name = "loadType",value = "干扰源类型")
    private String loadType;

    @ApiModelProperty(name = "businessType",value = "行业类型")
    private String businessType;

    @ApiModelProperty(name = "objName",value = "监测点对象名称")
    private String objName;

    @ApiModelProperty(name = "ptType",value = "接线方式")
    private String ptType;

    @ApiModelProperty(name = "pt",value = "PT变比")
    private String pt;

    @ApiModelProperty(name = "ct",value = "CT变比")
    private String ct;

    @ApiModelProperty(name = "standardCapacity",value = "基准容量（MVA）")
    private Float standardCapacity;

    @ApiModelProperty(name = "shortCapacity",value = "最小短路容量（MVA）")
    private Float shortCapacity;

    @ApiModelProperty(name = "devCapacity",value = "供电设备容量（MVA）")
    private Float devCapacity;

    @ApiModelProperty(name = "dealCapacity",value = "用户协议容量（MVA）")
    private Float dealCapacity;

    /**
     * 测量间隔（1-10分钟）
     */
    @ApiModelProperty(name = "timeInterval",value = "测量间隔（1-10分钟）")
    private Integer timeInterval;

    /**
     * 监测点拥有者
     */
    @ApiModelProperty(name = "owner",value = "监测点拥有者")
    private String owner;

    /**
     * 拥有者职务
     */
    @ApiModelProperty(name = "ownerDuty",value = "拥有者职务")
    private String ownerDuty;

    /**
     * 拥有者联系方式
     */
    @ApiModelProperty(name = "ownerTel",value = "拥有者联系方式")
    private String ownerTel;

    /**
     * 接线图
     */
    @ApiModelProperty(name = "wiringDiagram",value = "接线图")
    private String wiringDiagram;
    @ApiModelProperty(name = "ptPhaseType",value = "监测点接线相别（0，单相,1，三相，默认三相）")
    private Integer ptPhaseType;

    @ApiModelProperty(name = "投运日期")
    private LocalDate loginTime;

    @ApiModelProperty(name = "最新数据时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(name = "监测对象信息ID")
    private String objId;

    @ApiModelProperty(name = "对象类型大类")
    private String bigObjType;
}
