rev 日志
This commit is contained in:
@@ -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<>();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user