Skip to content

PADIM-1.02.0 Nodeset and C# ModelCompiler #118

@jnsjll

Description

@jnsjll

Hello there,

in recent changes to the PADIM Nodeset (version 1.02.0), the value type of EnumDictionaryEntries changed from ListOfNodeId to Matrix with dimensions and elements.

Image

However, converting the new nodeset XML to C# bindings using the current version of the UA-Modelcompiler fails with an error message

NodeSet (http://opcfoundation.org/UA/PADIM/) code generation failed: Unable to cast object of type 'Opc.Ua.Matrix' to type 'System.Array'.

Is the Matrix value type correct and is there a problem with the Model Compiler, or should the ListOfNodeId type be used for the EnumDictionaryEntries values? When changing back to ListOfNodeId the compilation succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions