Skip to content

Commit 32efd3d

Browse files
committed
fix return opcua data type for byte arrays
1 parent 46aad60 commit 32efd3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/connectedcooking/opcua/dynamicnodemanager/adaptor/prosys/ProsysDynNodeManagerAdaptor.java

+3
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,9 @@ private Object convertValueToStandard(Object value) {
656656
if (value instanceof DynLocalizedText) {
657657
return new LocalizedText(((DynLocalizedText) value).stringValue());
658658
}
659+
if (value instanceof byte[]) {
660+
return ByteString.valueOf((byte[]) value);
661+
}
659662
return value;
660663
}
661664
}

0 commit comments

Comments
 (0)