| | |
| | | import com.zy.core.thread.BarcodeThread; |
| | | import com.zy.core.thread.LedThread; |
| | | import com.zy.core.thread.SiemensDevpThread; |
| | | import com.zy.system.entity.Config; |
| | | import com.zy.system.service.impl.ConfigServiceImpl; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | private String wmsUrl; |
| | | @Autowired |
| | | private WrkMastServiceImpl wrkMastService; |
| | | @Autowired |
| | | private ConfigServiceImpl configService; |
| | | |
| | | /** |
| | | * 组托 |
| | |
| | | break; |
| | | // continue; |
| | | } |
| | | Config config = configService.selectOne(new EntityWrapper<Config>().eq("ContinuousOutboundShipment","Y")); |
| | | boolean flag = false; |
| | | if (!Cools.isEmpty(config)||!staProtocol.isLoading() && staProtocol.isOutEnable()){ |
| | | flag = true; |
| | | } |
| | | // 判断堆垛机出库站状态 |
| | | if (staProtocol.isAutoing() && !staProtocol.isLoading() && staDetl.getCanouting() !=null && staDetl.getCanouting().equals("Y") |
| | | && staProtocol.getWorkNo() == 0 && staProtocol.isOutEnable()) { |
| | | if (staProtocol.isAutoing() && flag && staDetl.getCanouting() !=null && staDetl.getCanouting().equals("Y") |
| | | && staProtocol.getWorkNo() == 0 ) { |
| | | // 命令下发区 -------------------------------------------------------------------------- |
| | | |
| | | // 堆垛机控制过滤 |