Browse Source

rev 日志

master
gengby 2 years ago
parent
commit
2a4c9ce641
  1. 12
      hd/nladmin-system/src/main/java/org/nl/acs/device_driver/standard_manipulator_stacking_site/StandardManipulatorStackingSiteDeviceDriver.java
  2. 24
      hd/nladmin-system/src/main/java/org/nl/acs/stage/service/impl/StageActorServiceImpl.java
  3. 2
      hd/nladmin-system/src/main/resources/config/application.yml
  4. 3
      qd/src/views/acs/monitor/device/index.vue

12
hd/nladmin-system/src/main/java/org/nl/acs/device_driver/standard_manipulator_stacking_site/StandardManipulatorStackingSiteDeviceDriver.java

@ -376,6 +376,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(device_code)) { if (StrUtil.isEmpty(device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
@ -393,11 +394,13 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
Device nextDevice = appService.findDeviceByCode(this.device_code); Device nextDevice = appService.findDeviceByCode(this.device_code);
if (ObjectUtil.isNotEmpty(startDevice.getIslock())) { if (ObjectUtil.isNotEmpty(startDevice.getIslock())) {
if (startDevice.getIslock().equals("true")) { if (startDevice.getIslock().equals("true")) {
message = "起点设备:" + device_code + "被锁定!";
throw new RuntimeException("该设备已被锁定"); throw new RuntimeException("该设备已被锁定");
} }
} }
if (ObjectUtil.isNotEmpty(nextDevice.getIslock())) { if (ObjectUtil.isNotEmpty(nextDevice.getIslock())) {
if (nextDevice.getIslock().equals("true")) { if (nextDevice.getIslock().equals("true")) {
message = "当前设备被锁定!";
throw new RuntimeException("该设备已被锁定"); throw new RuntimeException("该设备已被锁定");
} }
} }
@ -457,6 +460,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
} }
if (StrUtil.isEmpty(next_device_code)) { if (StrUtil.isEmpty(next_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
dto.setStart_point_code(this.device_code); dto.setStart_point_code(this.device_code);
@ -524,6 +528,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(start_device_code)) { if (StrUtil.isEmpty(start_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
dto.setStart_point_code(start_device_code); dto.setStart_point_code(start_device_code);
@ -621,6 +626,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(next_device_code)) { if (StrUtil.isEmpty(next_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
dto.setStart_point_code(this.device_code); dto.setStart_point_code(this.device_code);
@ -637,11 +643,13 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
Device nextDevice = appService.findDeviceByCode(next_device_code); Device nextDevice = appService.findDeviceByCode(next_device_code);
if (ObjectUtil.isNotEmpty(startDevice.getIslock())) { if (ObjectUtil.isNotEmpty(startDevice.getIslock())) {
if (startDevice.getIslock().equals("true")) { if (startDevice.getIslock().equals("true")) {
message = "当前设备被锁定!";
throw new RuntimeException("起点设备已被锁定"); throw new RuntimeException("起点设备已被锁定");
} }
} }
if (ObjectUtil.isNotEmpty(nextDevice.getIslock())) { if (ObjectUtil.isNotEmpty(nextDevice.getIslock())) {
if (nextDevice.getIslock().equals("true")) { if (nextDevice.getIslock().equals("true")) {
message = "终点设备:" + next_device_code + "被锁定!";
throw new RuntimeException("终点设备已被锁定"); throw new RuntimeException("终点设备已被锁定");
} }
} }
@ -707,6 +715,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(next_device_code)) { if (StrUtil.isEmpty(next_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
dto.setStart_point_code(this.device_code); dto.setStart_point_code(this.device_code);
@ -778,6 +787,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(next_device_code)) { if (StrUtil.isEmpty(next_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
dto.setStart_point_code(this.device_code); dto.setStart_point_code(this.device_code);
@ -848,6 +858,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(next_device_code)) { if (StrUtil.isEmpty(next_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }
dto.setStart_point_code(this.device_code); dto.setStart_point_code(this.device_code);
@ -944,6 +955,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
} }
if (StrUtil.isEmpty(next_device_code)) { if (StrUtil.isEmpty(next_device_code)) {
message = "未找到符合条件的终点设备!";
throw new RuntimeException("该设备未找到对应路由"); throw new RuntimeException("该设备未找到对应路由");
} }

24
hd/nladmin-system/src/main/java/org/nl/acs/stage/service/impl/StageActorServiceImpl.java

@ -369,6 +369,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("isError", standardCoveyorControlDeviceDriver.getIserror()); jo.put("isError", standardCoveyorControlDeviceDriver.getIserror());
jo.put("requestSucess", standardCoveyorControlDeviceDriver.getRequireSucess()); jo.put("requestSucess", standardCoveyorControlDeviceDriver.getRequireSucess());
jo.put("applySucess", standardCoveyorControlDeviceDriver.getApplySucess()); jo.put("applySucess", standardCoveyorControlDeviceDriver.getApplySucess());
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("message", standardCoveyorControlDeviceDriver.getMessage()); jo.put("message", standardCoveyorControlDeviceDriver.getMessage());
} else if (device.getDeviceDriver() instanceof StandardAutodoorDeviceDriver) { } else if (device.getDeviceDriver() instanceof StandardAutodoorDeviceDriver) {
standardAutodoorDeviceDriver = (StandardAutodoorDeviceDriver) device.getDeviceDriver(); standardAutodoorDeviceDriver = (StandardAutodoorDeviceDriver) device.getDeviceDriver();
@ -391,6 +392,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("action", action); jo.put("action", action);
jo.put("isOnline", true); jo.put("isOnline", true);
jo.put("error", standardAutodoorDeviceDriver.getError()); jo.put("error", standardAutodoorDeviceDriver.getError());
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("isError", standardAutodoorDeviceDriver.getIserror()); jo.put("isError", standardAutodoorDeviceDriver.getIserror());
} else if (device.getDeviceDriver() instanceof StandardCoveyorMonitorDeviceDriver) { } else if (device.getDeviceDriver() instanceof StandardCoveyorMonitorDeviceDriver) {
standardCoveyorMonitorDeviceDriver = (StandardCoveyorMonitorDeviceDriver) device.getDeviceDriver(); standardCoveyorMonitorDeviceDriver = (StandardCoveyorMonitorDeviceDriver) device.getDeviceDriver();
@ -419,6 +421,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardCoveyorMonitorDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardCoveyorMonitorDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardCoveyorMonitorDeviceDriver.getHasGoods()); jo.put("hasGoods", standardCoveyorMonitorDeviceDriver.getHasGoods());
jo.put("isOnline", standardCoveyorMonitorDeviceDriver.getIsonline()); jo.put("isOnline", standardCoveyorMonitorDeviceDriver.getIsonline());
jo.put("error", standardCoveyorMonitorDeviceDriver.getError()); jo.put("error", standardCoveyorMonitorDeviceDriver.getError());
@ -451,6 +454,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardCoveyorControlWithScannerDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardCoveyorControlWithScannerDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardCoveyorControlWithScannerDeviceDriver.getHasGoods()); jo.put("hasGoods", standardCoveyorControlWithScannerDeviceDriver.getHasGoods());
jo.put("isOnline", standardCoveyorControlWithScannerDeviceDriver.getIsonline()); jo.put("isOnline", standardCoveyorControlWithScannerDeviceDriver.getIsonline());
jo.put("error", standardCoveyorControlWithScannerDeviceDriver.getError()); jo.put("error", standardCoveyorControlWithScannerDeviceDriver.getError());
@ -492,6 +496,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardCoveyorControlWithPlcScannerDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardCoveyorControlWithPlcScannerDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardCoveyorControlWithPlcScannerDeviceDriver.getHasGoods()); jo.put("hasGoods", standardCoveyorControlWithPlcScannerDeviceDriver.getHasGoods());
jo.put("isOnline", standardCoveyorControlWithPlcScannerDeviceDriver.getIsonline()); jo.put("isOnline", standardCoveyorControlWithPlcScannerDeviceDriver.getIsonline());
jo.put("error", standardCoveyorControlWithPlcScannerDeviceDriver.getError()); jo.put("error", standardCoveyorControlWithPlcScannerDeviceDriver.getError());
@ -527,6 +532,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardInspectSiteDevicedriver.getDevice().getDevice_name()); obj.put("device_name", standardInspectSiteDevicedriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardInspectSiteDevicedriver.getHasGoods()); jo.put("hasGoods", standardInspectSiteDevicedriver.getHasGoods());
jo.put("isOnline", standardInspectSiteDevicedriver.getIsonline()); jo.put("isOnline", standardInspectSiteDevicedriver.getIsonline());
jo.put("error", standardInspectSiteDevicedriver.getError()); jo.put("error", standardInspectSiteDevicedriver.getError());
@ -554,6 +560,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", nonLineInspectSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", nonLineInspectSiteDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("isOnline", nonLineInspectSiteDeviceDriver.getIs_online()); jo.put("isOnline", nonLineInspectSiteDeviceDriver.getIs_online());
jo.put("hasGoods", nonLineInspectSiteDeviceDriver.getHasGoods()); jo.put("hasGoods", nonLineInspectSiteDeviceDriver.getHasGoods());
jo.put("error", nonLineInspectSiteDeviceDriver.getError()); jo.put("error", nonLineInspectSiteDeviceDriver.getError());
@ -603,6 +610,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardManipulatorInspectSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardManipulatorInspectSiteDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("action", action); jo.put("action", action);
jo.put("io_action", io_action); jo.put("io_action", io_action);
jo.put("hasGoods", standardManipulatorInspectSiteDeviceDriver.getHasGoods()); jo.put("hasGoods", standardManipulatorInspectSiteDeviceDriver.getHasGoods());
@ -650,6 +658,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", nonLineManipulatorInspectSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", nonLineManipulatorInspectSiteDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("action", action); jo.put("action", action);
jo.put("io_action", io_action); jo.put("io_action", io_action);
jo.put("hasGoods", nonLineManipulatorInspectSiteDeviceDriver.getHasGoods()); jo.put("hasGoods", nonLineManipulatorInspectSiteDeviceDriver.getHasGoods());
@ -679,6 +688,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardEmptyPalletSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardEmptyPalletSiteDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
//点击弹出 //点击弹出
jo.put("is_click", true); jo.put("is_click", true);
jo.put("number", standardEmptyPalletSiteDeviceDriver.getNumber()); jo.put("number", standardEmptyPalletSiteDeviceDriver.getNumber());
@ -701,6 +711,7 @@ public class StageActorServiceImpl implements StageActorService {
} }
obj.put("device_name", standardOrdinarySiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardOrdinarySiteDeviceDriver.getDevice().getDevice_name());
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardOrdinarySiteDeviceDriver.getHasGoods()); jo.put("hasGoods", standardOrdinarySiteDeviceDriver.getHasGoods());
jo.put("isOnline", true); jo.put("isOnline", true);
//点击弹出 //点击弹出
@ -730,6 +741,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("isOnline", true); jo.put("isOnline", true);
//点击弹出 //点击弹出
jo.put("is_click", true); jo.put("is_click", true);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("device_type", device.getDevice_type()); jo.put("device_type", device.getDevice_type());
jo.put("error", yzjaSpecialDeviceDriver.getError()); jo.put("error", yzjaSpecialDeviceDriver.getError());
jo.put("isError", yzjaSpecialDeviceDriver.getIserror()); jo.put("isError", yzjaSpecialDeviceDriver.getIserror());
@ -755,6 +767,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("isOnline", true); jo.put("isOnline", true);
//点击弹出 //点击弹出
jo.put("is_click", true); jo.put("is_click", true);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("device_type", device.getDevice_type()); jo.put("device_type", device.getDevice_type());
jo.put("error", specialOrdinarySiteDeviceDriver.getError()); jo.put("error", specialOrdinarySiteDeviceDriver.getError());
jo.put("isError", specialOrdinarySiteDeviceDriver.getIserror()); jo.put("isError", specialOrdinarySiteDeviceDriver.getIserror());
@ -795,12 +808,14 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("device_type", device.getDevice_type()); jo.put("device_type", device.getDevice_type());
//点击弹出 //点击弹出
jo.put("is_click", true); jo.put("is_click", true);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("ip", standardScannerDeviceDriver.getIp()); jo.put("ip", standardScannerDeviceDriver.getIp());
jo.put("container", StrUtil.isEmpty(standardScannerDeviceDriver.readBarcode()) ? "" : standardScannerDeviceDriver.readBarcode()); jo.put("container", StrUtil.isEmpty(standardScannerDeviceDriver.readBarcode()) ? "" : standardScannerDeviceDriver.readBarcode());
} else if (device.getDeviceDriver() instanceof WeighingSiteDeviceDriver) { } else if (device.getDeviceDriver() instanceof WeighingSiteDeviceDriver) {
weighingSiteDeviceDriver = (WeighingSiteDeviceDriver) device.getDeviceDriver(); weighingSiteDeviceDriver = (WeighingSiteDeviceDriver) device.getDeviceDriver();
obj.put("device_name", weighingSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", weighingSiteDeviceDriver.getDevice().getDevice_name());
jo.put("isOnline", true); jo.put("isOnline", true);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("instruction_message", weighingSiteDeviceDriver.getInst_message()); jo.put("instruction_message", weighingSiteDeviceDriver.getInst_message());
} else if (device.getDeviceDriver() instanceof MachinesSiteDeviceDriver) { } else if (device.getDeviceDriver() instanceof MachinesSiteDeviceDriver) {
machinesSiteDeviceDriver = (MachinesSiteDeviceDriver) device.getDeviceDriver(); machinesSiteDeviceDriver = (MachinesSiteDeviceDriver) device.getDeviceDriver();
@ -822,6 +837,7 @@ public class StageActorServiceImpl implements StageActorService {
} }
obj.put("device_name", machinesSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", machinesSiteDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("io_action", io_action); jo.put("io_action", io_action);
jo.put("isOnline", machinesSiteDeviceDriver.getIsonline()); jo.put("isOnline", machinesSiteDeviceDriver.getIsonline());
} }
@ -879,6 +895,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("move", move); jo.put("move", move);
jo.put("action", action); jo.put("action", action);
jo.put("io_action", io_action); jo.put("io_action", io_action);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardManipulatorStackingSiteDeviceDriver.getHasGoods()); jo.put("hasGoods", standardManipulatorStackingSiteDeviceDriver.getHasGoods());
jo.put("isOnline", standardManipulatorStackingSiteDeviceDriver.getIsonline()); jo.put("isOnline", standardManipulatorStackingSiteDeviceDriver.getIsonline());
jo.put("error", standardManipulatorStackingSiteDeviceDriver.getError()); jo.put("error", standardManipulatorStackingSiteDeviceDriver.getError());
@ -906,6 +923,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", ndxySpecialDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", ndxySpecialDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", ndxySpecialDeviceDriver.getHasGoods()); jo.put("hasGoods", ndxySpecialDeviceDriver.getHasGoods());
jo.put("isOnline", ndxySpecialDeviceDriver.getIsonline()); jo.put("isOnline", ndxySpecialDeviceDriver.getIsonline());
jo.put("error", ndxySpecialDeviceDriver.getError()); jo.put("error", ndxySpecialDeviceDriver.getError());
@ -933,6 +951,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", ndxySpecialTwoDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", ndxySpecialTwoDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", ndxySpecialTwoDeviceDriver.getHasGoods()); jo.put("hasGoods", ndxySpecialTwoDeviceDriver.getHasGoods());
jo.put("isOnline", ndxySpecialTwoDeviceDriver.getIsonline()); jo.put("isOnline", ndxySpecialTwoDeviceDriver.getIsonline());
jo.put("error", ndxySpecialTwoDeviceDriver.getError()); jo.put("error", ndxySpecialTwoDeviceDriver.getError());
@ -960,6 +979,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("devicede_name", standardRGVDeviceDriver.getDevice().getDevice_name()); obj.put("devicede_name", standardRGVDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardRGVDeviceDriver.getHasGoods()); jo.put("hasGoods", standardRGVDeviceDriver.getHasGoods());
jo.put("isOnline", standardRGVDeviceDriver.getIsonline()); jo.put("isOnline", standardRGVDeviceDriver.getIsonline());
jo.put("error", standardRGVDeviceDriver.getError()); jo.put("error", standardRGVDeviceDriver.getError());
@ -987,6 +1007,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", ykbkSpecialDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", ykbkSpecialDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", ykbkSpecialDeviceDriver.getHasGoods()); jo.put("hasGoods", ykbkSpecialDeviceDriver.getHasGoods());
jo.put("isOnline", ykbkSpecialDeviceDriver.getIsonline()); jo.put("isOnline", ykbkSpecialDeviceDriver.getIsonline());
jo.put("error", ykbkSpecialDeviceDriver.getError()); jo.put("error", ykbkSpecialDeviceDriver.getError());
@ -1015,6 +1036,7 @@ public class StageActorServiceImpl implements StageActorService {
obj.put("device_name", standardPhotoelectricInspectSiteDeviceDriver.getDevice().getDevice_name()); obj.put("device_name", standardPhotoelectricInspectSiteDeviceDriver.getDevice().getDevice_name());
jo.put("mode", mode); jo.put("mode", mode);
jo.put("move", move); jo.put("move", move);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("hasGoods", standardPhotoelectricInspectSiteDeviceDriver.getHasGoods()); jo.put("hasGoods", standardPhotoelectricInspectSiteDeviceDriver.getHasGoods());
jo.put("isOnline", standardPhotoelectricInspectSiteDeviceDriver.getIsonline()); jo.put("isOnline", standardPhotoelectricInspectSiteDeviceDriver.getIsonline());
jo.put("error", standardPhotoelectricInspectSiteDeviceDriver.getError()); jo.put("error", standardPhotoelectricInspectSiteDeviceDriver.getError());
@ -1028,6 +1050,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("isOnline", true); jo.put("isOnline", true);
//点击弹出 //点击弹出
jo.put("is_click", true); jo.put("is_click", true);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("device_type", device.getDevice_type()); jo.put("device_type", device.getDevice_type());
jo.put("error", electricFenceDeviceDriver.getError()); jo.put("error", electricFenceDeviceDriver.getError());
jo.put("isError", electricFenceDeviceDriver.getIserror()); jo.put("isError", electricFenceDeviceDriver.getIserror());
@ -1049,6 +1072,7 @@ public class StageActorServiceImpl implements StageActorService {
jo.put("isOnline", true); jo.put("isOnline", true);
//点击弹出 //点击弹出
jo.put("is_click", true); jo.put("is_click", true);
jo.put("islock", StrUtil.equals("true",device.getIslock()) ? "是" : "否");
jo.put("device_type", device.getDevice_type()); jo.put("device_type", device.getDevice_type());
jo.put("error", ssjCacheSiteDeviceDriver.getError()); jo.put("error", ssjCacheSiteDeviceDriver.getError());
jo.put("isError", ssjCacheSiteDeviceDriver.getIserror()); jo.put("isError", ssjCacheSiteDeviceDriver.getIserror());

2
hd/nladmin-system/src/main/resources/config/application.yml

@ -2,7 +2,7 @@ spring:
freemarker: freemarker:
check-template-location: false check-template-location: false
profiles: profiles:
active: prod active: dev
jackson: jackson:
time-zone: GMT+8 time-zone: GMT+8
data: data:

3
qd/src/views/acs/monitor/device/index.vue

@ -389,6 +389,9 @@ export default {
} else if (val === 'applySucess') { } else if (val === 'applySucess') {
const obj = { name: '是否申请指令', value: data[val] } const obj = { name: '是否申请指令', value: data[val] }
arr.push(obj) arr.push(obj)
} else if (val === 'islock') {
const obj = { name: '锁定', value: data[val] }
arr.push(obj)
} else if (val === 'message') { } else if (val === 'message') {
const obj = { name: '说明', value: data[val] } const obj = { name: '说明', value: data[val] }
arr.push(obj) arr.push(obj)

Loading…
Cancel
Save