forked from FreeOpcUa/opcua-asyncio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
load_data_type_definitions: Accept OptionSet / Enumeration defined vi…
…a StructureDefinition (FreeOpcUa#1383) * When reading Enumeration and OptionSet type definitions, also accept StructureDefinition instance. This kind of type definition is "unclean" but not strictly forbidden by the standard. Requires guessing of actual enum values: - Count starting at 1 for Enums - 0x1, 0x2, 0x4, ... for OptionSet * add test for OptionSet defined via StructureDefinition
- Loading branch information
Showing
2 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters