fix: 修复信号转换异常,添加堆垛机申请点位路由校验
This commit is contained in:
@@ -184,8 +184,8 @@ public class TwoNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
|
||||
if (ObjectUtil.isEmpty(inst)) {
|
||||
log.info("未找到指令号{}对应的指令", ikey);
|
||||
} else {
|
||||
if("1".equals(inst.getInstruction_type()) || "2".equals(inst.getInstruction_type()) || "3".equals(inst.getInstruction_type())) {
|
||||
String agvcar = inst.getCarno();
|
||||
String agvcar = inst.getCarno();
|
||||
if(StrUtil.isNotEmpty(agvcar) && !StrUtil.equals(agvcar,"0")) {
|
||||
Device agvDevice = deviceAppService.findDeviceByCode(agvcar);
|
||||
if (agvDevice != null) {
|
||||
if (agvDevice.getDeviceDriver() instanceof AgvNdcTwoDeviceDriver) {
|
||||
|
||||
Reference in New Issue
Block a user