rev 日志

This commit is contained in:
USER-20220102CG\noblelift
2023-09-10 09:40:11 +08:00
parent 3947063034
commit f5c8c3723b
5 changed files with 19 additions and 3 deletions

View File

@@ -839,6 +839,7 @@ public class LnshPalletizingManipulatorSiteDeviceDriver extends AbstractOpcDevic
request.setRequest_medthod_code(Thread.currentThread().getStackTrace()[1].getMethodName());
request.setRequest_medthod_name(RequestMethodEnum.getName(Thread.currentThread().getStackTrace()[1].getMethodName()));
request.setMaterial_code(material);
request.setQty(String.valueOf(encoder_qty));
request.setWeight(String.valueOf(weight));
request.setVehicle_code(String.valueOf(barcode));
List<ApplyDeviceDto> listDto = new ArrayList<>();

View File

@@ -161,7 +161,11 @@ public class DeviceOpcSynchronizeAutoRun extends AbstractAutoRunnable {
}
// boolean allNull = itemStatus.entrySet().stream().map((map) -> {
// return OpcUtl.getValue((Item)map.getKey(), (ItemState)map.getValue());
// try {
// return OpcUtl.getValue((Item)map.getKey(), (ItemState)map.getValue());
// } catch (Exception e) {
// throw new RuntimeException(e);
// }
// }).allMatch(Objects::isNull);
// if (allNull) {
// opcEntity.getItems().clear();

View File

@@ -92,4 +92,15 @@ public class LuceneLogDto {
+ remark;
}
public LuceneLogDto(final LuceneLogDto dto) {
super();
this.device_code = device_code;
this.method = method;
this.content = "设备 ["
+ device_code
+ "] - "
+ remark;
}
}