package com.hdkj.lt.core.bizms.modle.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 开关设备保护定值表
 * @TableName fhzg_switch_protection_settings
 */
@TableName(value ="fhzg_switch_protection_settings")
@Data
public class FhzgSwitchProtectionSettings implements Serializable {
    /**
     * 主建id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 开关设备名称
     */
    private String deviceName;

    /**
     * 开关设备prs_id
     */
    private String devicePrsId;

    /**
     * 所属线路名称
     */
    private String parentLineName;

    /**
     * 所属线路prs_id
     */
    private String parentLinePsrId;

    /**
     * I段软压板，单位：BITS，“7”=投保护,“0”=不投保护(速新)
     */
    private String zoneISoftBlock;

    /**
     * I段定值，单位：A，范国根据变比调200/5:2020004。
400/5:40-4000A。
600/5:50-6000A。
     */
    private String zoneISetting;

    /**
     * I段时延，ms，20-10000ms
     */
    private String zoneIDelay;

    /**
     * II段软压板，单位：BITS，“7”=投保护,“0”=不投保护(速新)
     */
    private String zoneIiSoftBlock;

    /**
     * II段定值，单位：A，范国根据变比调200/5:2020004。
400/5:40-4000A。
600/5:50-6000A。
     */
    private String zoneIiSetting;

    /**
     * II段时延，ms，20-10000ms
     */
    private String zoneIiDelay;

    /**
     * 过流I段-告警-A
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc1AlarmA;

    /**
     * 过流I段-告警-S
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc1AlarmS;

    /**
     * 过流I段-跳闸-A
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc1TripA;

    /**
     * 过流I段-跳闸-s
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc1TripS;

    /**
     * 过流I段-告警-A
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc2AlarmA;

    /**
     * 过流I段-告警-S
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc2AlarmS;

    /**
     * 过流I段-跳闸-A
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc2TripA;

    /**
     * 过流I段-跳闸-S
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String oc2TripS;

    /**
     * 保护投退 (0-退出 1-投入）
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer protEnableStatus;

    /**
     * 重合闸 (0-退出 1-投入）
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer recloseEnableStatus;
    /**
     * 开关隐患类型，1-存在缺陷，2-开关调试，3-告警
     */
    @TableField(value = "hazard_type",updateStrategy = FieldStrategy.IGNORED)
    private String hazardType;

    /**
     * 开关隐患描述，“开始检修、停止告警”，“开关调试”，“无配置”
     */
    @TableField(value = "hazard_desc",updateStrategy = FieldStrategy.IGNORED)
    private String hazardDesc;

    /**
     * 创建人
     */
    private Long creator;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后一次修改人
     */
    private Long lastEditor;

    /**
     * 最后一次修改时间
     */
    private Date lastTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    /**
     * 过流I段定值
     */
    @TableField(value = "oc1_value",updateStrategy = FieldStrategy.IGNORED)
    private String oc1Value;

    /**
     * 过流I段延迟
     */
    @TableField(value = "oc1_delay",updateStrategy = FieldStrategy.IGNORED)
    private String oc1Delay;

    /**
     * 设置类型1-告警，2-跳闸
     */
    @TableField(value = "oc1_setting",updateStrategy = FieldStrategy.IGNORED)
    private Integer oc1Setting;

    /**
     * 过流II段定值
     */
    @TableField(value = "oc2_value",updateStrategy = FieldStrategy.IGNORED)
    private String oc2Value;

    /**
     * 过流II段延迟
     */
    @TableField(value = "oc2_delay",updateStrategy = FieldStrategy.IGNORED)
    private String oc2Delay;

    /**
     * 设置类型1-告警，2-跳闸
     */
    @TableField(value = "oc2_setting",updateStrategy = FieldStrategy.IGNORED)
    private Integer oc2Setting;

    /**
     * 过流III段定值
     */
    @TableField(value = "oc3_value",updateStrategy = FieldStrategy.IGNORED)
    private String oc3Value;

    /**
     * 过流III段延迟
     */
    @TableField(value = "oc3_delay",updateStrategy = FieldStrategy.IGNORED)
    private String oc3Delay;

    /**
     * 设置类型1-告警，2-跳闸
     */
    @TableField(value = "oc3_setting" ,updateStrategy = FieldStrategy.IGNORED)
    private Integer oc3Setting;

}
