From 04d1ae0527f16a2c04770d35e76e59a85d725ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E4=BF=8A=E6=9D=B0?= <9463626+zhou-junjiezjj@user.noreply.gitee.com> Date: Fri, 1 Sep 2023 13:28:18 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E8=BE=93=E9=80=81=E7=BA=BF=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E7=BB=99=E6=9D=A1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java index 3ff35c6..8ba19fb 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java @@ -1060,7 +1060,10 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic instructionService.update(inst); conveyorBarcodeDeviceDriver.writing(5); data = AgvService.sendAgvOneModeInst(phase, index, 0); + TaskDto task=taskService.findByCode(inst.getTask_code()); + String material=task.getDirection(); conveyorBarcodeDeviceDriver.setMessage(""); + conveyorBarcodeDeviceDriver.setMaterial(material);ss flag = true; } else { String message = "";