예제 #1
0
        private static bool IsLoadable(this EqpArrangeSet setInfo)
        {
            List <EqpArrangeInfo> loadableList = new List <EqpArrangeInfo>();

            //M수량 제약 체크 X
            int qty = 0;

            return(setInfo.IsLoadable(ref loadableList, qty));
        }
예제 #2
0
        private static bool IsLoadable(this EqpArrangeSet setInfo, FabLot lot, bool checkQty, bool isLastPlan,
                                       out List <EqpArrangeInfo> loadableList)
        {
            loadableList = new List <EqpArrangeInfo>();

            int lotSize = SeeplanConfiguration.Instance.LotUnitSize;
            int unitQty = lot.IsDummy ? lotSize : lot.UnitQty;

            int qty = checkQty ? Math.Max(unitQty, 1) : 0;

            //연속 투입인 경우에만 소량 투입 허용(2019.09.06 - by.liujian(유건))
            if (checkQty && isLastPlan == false)
            {
                qty = Math.Max(qty, lotSize);
            }

            return(setInfo.IsLoadable(ref loadableList, qty));
        }