Interface OpcUaToAasValueConverter


  • public interface OpcUaToAasValueConverter
    Converts values from OPC UA types to AAS types.
    • Method Detail

      • convert

        TypedValue<?> convert​(org.eclipse.milo.opcua.stack.core.types.builtin.Variant value,
                              Datatype targetType)
                       throws ValueConversionException
        Converts a given OPC UA-based value to an AAS-based value.
        Parameters:
        value - OPC UA-based input value
        targetType - AAS-based target type
        Returns:
        AAS-compliant value
        Throws:
        ValueConversionException - if conversion fails