diff --git a/assetconnection/opcua/src/main/java/de/fraunhofer/iosb/ilt/faaast/service/assetconnection/opcua/conversion/ValueConverter.java b/assetconnection/opcua/src/main/java/de/fraunhofer/iosb/ilt/faaast/service/assetconnection/opcua/conversion/ValueConverter.java index 0de12c30a..02a0fd5af 100644 --- a/assetconnection/opcua/src/main/java/de/fraunhofer/iosb/ilt/faaast/service/assetconnection/opcua/conversion/ValueConverter.java +++ b/assetconnection/opcua/src/main/java/de/fraunhofer/iosb/ilt/faaast/service/assetconnection/opcua/conversion/ValueConverter.java @@ -63,6 +63,7 @@ public Variant convert(TypedValue value, NodeId targetType) throws ValueConve } }); register(Datatype.DURATION, Identifiers.Double, new OpcUaToAasValueConverter() { + @Override public TypedValue convert(Variant value, Datatype targetType) throws ValueConversionException { if (Objects.isNull(value) || value.isNull()) { return null; @@ -78,11 +79,13 @@ public TypedValue convert(Variant value, Datatype targetType) throws ValueCon } }); register(Datatype.HEX_BINARY, Identifiers.ByteString, new OpcUaToAasValueConverter() { + @Override public TypedValue convert(Variant value, Datatype targetType) throws ValueConversionException { return convertByteString(value, targetType); } }); register(Datatype.BASE64_BINARY, Identifiers.ByteString, new OpcUaToAasValueConverter() { + @Override public TypedValue convert(Variant value, Datatype targetType) throws ValueConversionException { return convertByteString(value, targetType); }