| | |
| | | } |
| | | writeConfirmIdx++; |
| | | Thread.sleep(200); |
| | | } while (writeConfirmIdx < 5); |
| | | } while (writeConfirmIdx < 1); |
| | | |
| | | if (!commandConfirmResult) { |
| | | News.error("堆垛机写入确认数据失败 ===>> [id:{}]", command.getCrnNo()); |
| | |
| | | if (resultAck.IsSuccess) { |
| | | News.info("库位橙色按钮命令下发[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue()); |
| | | } else { |
| | | News.error("库位白色灯命令下发失败[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue()); |
| | | News.error("库位橙色按钮命令下发失败[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue()); |
| | | } |
| | | return response; |
| | | } catch (Exception e) { |