rev:速锐接口

This commit is contained in:
2026-10-03 10:54:28 +08:00
parent 5dd70ce904
commit dcaf17bf76

View File

@@ -107,7 +107,7 @@ public class SurayToAcsServiceImpl implements SurayToAcsService {
return response;
}
Device device = deviceAppService.findDeviceByCode("1001");
Device device = deviceAppService.findDeviceByCode(request.getPointCode());
if (device != null && device.getDeviceDriver() instanceof BeltConveyorDeviceDriver) {
BeltConveyorDeviceDriver driver = (BeltConveyorDeviceDriver) device.getDeviceDriver();
if (driver.getMove() == 0) {