rev:速锐接口
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user