package com.hdkj.lt.bf.entity.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author rj
 * @date 2025/6/27 9:00
 * @description
 */
@Data
public class SwitchInfoUpdateRequest {
    private String switchId;
//    //过流I段-告警-A
//    @Length(max = 30,message = "输入超出范围")
//    private String oc1AlarmA;
//    //过流I段-告警-S
//    @Length(max = 30,message = "输入超出范围")
//    private String oc1AlarmS;
//    //过流I段-跳闸-A
//    @Length(max = 30,message = "输入超出范围")
//    private String oc1TripA;
//    //过流I段-跳闸-S
//    @Length(max = 30,message = "输入超出范围")
//    private String oc1TripS;
//    //过流II段-告警-A
//    @Length(max = 30,message = "输入超出范围")
//    private String oc2AlarmA;
//    //过流II段-告警-S
//    @Length(max = 30,message = "输入超出范围")
//    private String oc2AlarmS;
//    //过流II段-跳闸-A
//    @Length(max = 30,message = "输入超出范围")
//    private String oc2TripA;
//    //过流II段-跳闸-S
//    @Length(max = 30,message = "输入超出范围")
//    private String oc2TripS;

    /**
     * 过流I段定值
     */
    @Length(max = 30,message = "输入超出范围")
    private String oc1Value;

    /**
     * 过流I段延迟
     */
    @Length(max = 30,message = "输入超出范围")
    private String oc1Delay;

    /**
     * 设置类型1-告警，2-跳闸
     */
    private Integer oc1Setting;

    /**
     * 过流II段定值
     */
    @Length(max = 30,message = "输入超出范围")
    private String oc2Value;

    /**
     * 过流II段延迟
     */
    @Length(max = 30,message = "输入超出范围")
    private String oc2Delay;

    /**
     * 设置类型1-告警，2-跳闸
     */
    private Integer oc2Setting;

    /**
     * 过流III段定值
     */
    @Length(max = 30,message = "输入超出范围")
    private String oc3Value;

    /**
     * 过流III段延迟
     */
    @Length(max = 30,message = "输入超出范围")
    private String oc3Delay;


    /**
     * 联络是否有效,1-有效，0-无效
     */
    private String contactEffective;

    /**
     * 设置类型1-告警，2-跳闸
     */
    private Integer oc3Setting;

    //保护投退 (0-退出 1-投入）
    private Integer protEnableStatus;
    //重合闸 (0-退出 1-投入）
    private Integer recloseEnableStatus;

    /**
     * 开关隐患类型，1-存在缺陷，2-开关调试，3-告警
     */
    private String hazardType;

    /**
     * 开关隐患描述，“开始检修、停止告警”，“开关调试”，“无配置”
     */
    private String hazardDesc;
}
