rev 更新

This commit is contained in:
USER-20220102CG\noblelift
2023-08-23 18:05:47 +08:00
parent e50c6b0010
commit ab9d65b55c
2 changed files with 6 additions and 4 deletions

View File

@@ -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);
} }
/** /**

View File

@@ -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);
} }
} }