Browse Source

rev 更新

master
汪菘 1 year ago
parent
commit
ab9d65b55c
  1. 2
      hd/nladmin-system/src/main/java/org/nl/acs/device_driver/standard_manipulator_stacking_site/StandardManipulatorStackingSiteDeviceDriver.java
  2. 8
      hd/nladmin-system/src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java

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

@ -256,7 +256,7 @@ public class StandardManipulatorStackingSiteDeviceDriver extends AbstractOpcDevi
protected void thingToNothing() throws Exception { protected void thingToNothing() throws Exception {
this.execute_log.setResource(device_code, device_code); this.execute_log.setResource(device_code, device_code);
this.execute_log.log("从有货到无货 清理数据"); this.execute_log.log("从有货到无货 清理数据");
this.setRequireSucess(false); // this.setRequireSucess(false);
} }
/** /**

8
hd/nladmin-system/src/main/java/org/nl/acs/opc/DeviceOpcProtocolRunable.java

@ -192,9 +192,11 @@ public class DeviceOpcProtocolRunable implements Runnable, DataCallback, ServerC
if (true) { if (true) {
this.logItemChanged(itemId, accessor_value, value, itemDto); this.logItemChanged(itemId, accessor_value, value, itemDto);
} }
if(!ObjectUtil.isEmpty(value)){ // if(!ObjectUtil.isEmpty(value)){
accessor_value.setValue(itemId, value); // accessor_value.setValue(itemId, value);
} // }
accessor_value.setValue(itemId, value);
} }
} }

Loading…
Cancel
Save