| | |
| | | package com.zy.core; |
| | | |
| | | import com.zy.asrs.service.impl.MainServiceImpl; |
| | | import com.zy.common.utils.News; |
| | | import com.zy.core.cache.MessageQueue; |
| | | import com.zy.core.enums.SlaveType; |
| | | import com.zy.core.model.Task; |
| | | import com.zy.core.properties.SystemProperties; |
| | | import lombok.Data; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.PreDestroy; |
| | | import java.util.ArrayList; |
| | | |
| | | /** |
| | | * WCS主流程 |
| | |
| | | |
| | | // mainService.outOfDevp(11); |
| | | |
| | | // if (i>10){ |
| | | // //空托盘自动出库 |
| | | // mainService.autoEmptyOut(); |
| | | if (i>10){ |
| | | //空托盘自动出库 |
| | | //mainService.autoEmptyOut(); |
| | | // //空托盘自动入库 |
| | | // mainService.autoEmptyIn(); |
| | | // i=0; |
| | | // } |
| | | // i++; |
| | | i=0; |
| | | } |
| | | i++; |
| | | |
| | | |
| | | } catch (Exception e) { |