更新
This commit is contained in:
@@ -702,7 +702,8 @@ public class SlitTwoManipulatorDeviceDriver extends AbstractOpcDeviceDriver impl
|
|||||||
//申请任务
|
//申请任务
|
||||||
if (mode == 2 && move1 == 0 && move2 == 0 && action1 == 0 && action2 == 0 && task1 == 0 && task2 == 0 && !requireSucess) {
|
if (mode == 2 && move1 == 0 && move2 == 0 && action1 == 0 && action2 == 0 && task1 == 0 && task2 == 0 && !requireSucess) {
|
||||||
//获取关联设备驱动信息 判断关联设备是否禁用
|
//获取关联设备驱动信息 判断关联设备是否禁用
|
||||||
Device device = deviceAppservice.findDeviceByCode(device_code);
|
String link_device_code = String.valueOf(this.getDevice().getExtraValue().get("link_device_code"));
|
||||||
|
Device device = deviceAppservice.findDeviceByCode(link_device_code);
|
||||||
SlitTwoManipulatorDeviceDriver slitTwoManipulatorDeviceDriver;
|
SlitTwoManipulatorDeviceDriver slitTwoManipulatorDeviceDriver;
|
||||||
if (device.getDeviceDriver() instanceof SlitTwoManipulatorDeviceDriver) {
|
if (device.getDeviceDriver() instanceof SlitTwoManipulatorDeviceDriver) {
|
||||||
slitTwoManipulatorDeviceDriver = (SlitTwoManipulatorDeviceDriver) device.getDeviceDriver();
|
slitTwoManipulatorDeviceDriver = (SlitTwoManipulatorDeviceDriver) device.getDeviceDriver();
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ spring:
|
|||||||
freemarker:
|
freemarker:
|
||||||
check-template-location: false
|
check-template-location: false
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: prod
|
||||||
jackson:
|
jackson:
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
data:
|
data:
|
||||||
|
|||||||
Reference in New Issue
Block a user