package com.ximai.mes.pro.schedule.strategy;

import com.ximai.mes.pro.schedule.EvaluateOptionalEquipmentResult;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 设备选择结果
 */
@Data
public class EquipmentSelectionResult {
    List<EvaluateOptionalEquipmentResult> selectList=new ArrayList<>();
    StringBuilder evaluateDetail = new StringBuilder();
    EquipmentSelectionCause cause;
    public static enum EquipmentSelectionCause{
        /**
         * 未找到日历
         */
        UN_CALENDER,
        /**
         * 未找到设备
         */
        UN_EQUIPMENT,
        /**
         * 未匹配到可用设备
         */
        UN_MATCH
    }

}
