Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic data 6.1.3 #556

Merged
merged 2 commits into from
Mar 18, 2021
Merged

Semantic data 6.1.3 #556

merged 2 commits into from
Mar 18, 2021

Conversation

mpostol
Copy link
Owner

@mpostol mpostol commented Mar 18, 2021

Working on the compatibility with the OPCF ModelCompiler - the base type must be located in the ModelDesign file for all the derived types.

- possibility to compile ModelDesign and generate NodeSet file (round trip test) 👎

Error generated by the ModelCompiler

At Build: 851392402 Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information;
At Build: 851392402 Focus:Diagnostic, ErrorID: P0-0003010000 Info: It is diagnostic information; !ERROR!
The following has occurred:
The BaseType reference for node TrailerType is not valid: VehicleType.
   at Opc.Ua.ModelCompiler.ModelCompilerValidator.FindNode(XmlQualifiedName symbolicId, Type requiredType, String sourceName, String referenceName)
   at Opc.Ua.ModelCompiler.ModelCompilerValidator.ImportType(TypeDesign type)
   at Opc.Ua.ModelCompiler.ModelCompilerValidator.Import(NodeDesign node, NodeDesign parent)
   at Opc.Ua.ModelCompiler.ModelCompilerValidator.Validate2(IList`1 designFilePaths, String identifierFilePath, Boolean generateIds)
   at Opc.Ua.ModelCompiler.ModelGenerator2.ValidateAndUpdateIds(IList`1 d
- possibility to compile ModelDesign and generate NodeSet file (round trip test) 👍

After swapping the definition of the types (the base type must be located before the derived types) the `ModelCompiler` works.

ASMD `Browse View` works in any case.
@mpostol
Copy link
Owner Author

mpostol commented Mar 18, 2021

It contributes to #510.

@mpostol mpostol self-assigned this Mar 18, 2021
@mpostol mpostol added this to the SemanticData_6.1.3 milestone Mar 18, 2021
@mpostol mpostol merged commit a90067e into master Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant