package com.hdkj.lt.modle.dto.simulation;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author rj
 * @date 2025/5/26 下午3:27
 * @description
 */
@NoArgsConstructor
@Data
public class PlanTransferSchemeDTO {

    private String feederId;

    private StartBreakerDTO startBreaker;

    private List<StartBreakerDTO> endBreakerList;

    private String startTime;

    private String endTime;

    private String loadTransferTime;

    private List<String> abnormalBreakerList;


    private LoopCheckRule loopCheckRule;

    private List<FeederCheckRule> feederCheckRuleList;

    private Long planId;

    @NoArgsConstructor
    @Data
    public static class StartBreakerDTO {
        private String switchId;
        private String switchType;
        private Integer distribution;
    }

    @NoArgsConstructor
    @Data
    public static class LoopCheckRule {
        private Integer feederLoadRate;
        private Integer angleDifMargin;
        private Integer volDifMargin;
        private Integer loopIMargin;
    }

//    @NoArgsConstructor
//    @Data
//    public static class FeederCheckRule {
//        private String feederId;
//        private String feederType;
//        private Integer distribution;
//        private Integer rateCurrent;
//    }
}
