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

Generated code should not have explicit namespace prefixes #10

Open
mpostol opened this issue Sep 4, 2021 · 0 comments
Open

Generated code should not have explicit namespace prefixes #10

mpostol opened this issue Sep 4, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mpostol
Copy link
Owner

mpostol commented Sep 4, 2021

        protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
        {
            return Opc.Ua.NodeId.Create(Boiler.ObjectTypes.GenericSensorType, Boiler.Namespaces.Boiler, namespaceUris);
        }

In this code, NodeId and the Opc.Ua.NodeId are the same type.

It makes the real problem if the code is not to be used in the Opc.Ua environment where the referenced classes are replaced by different ones.

Forked from OPCFoundation#19

@mpostol mpostol self-assigned this Sep 4, 2021
@mpostol mpostol added the enhancement New feature or request label Sep 4, 2021
@mpostol mpostol added this to the Next release milestone Sep 4, 2021
@mpostol mpostol removed this from the Next release milestone Sep 4, 2021
@mpostol mpostol added this to the Backlog milestone Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant