Skip to content

Commit

Permalink
add integer and uinteger
Browse files Browse the repository at this point in the history
For completness, these datatypes are abstract! If they are used in structs, abstract types are either Variant or ExtensionObjects.
If they only contain basic types (int16, float, double..) they are Variants.
  • Loading branch information
schroeder- authored and oroulet committed Sep 26, 2022
1 parent 6e5b28f commit 47b229c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions asyncua/ua/uatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,13 @@ def get_shape(mylist):
return dims


# For completness, these datatypes are abstract!
# If they are used in structs, abstract types are either Variant or ExtensionObjects.
# If they only contain basic types (int16, float, double..) they are Variants
UInteger = Variant
Integer = Variant


@dataclass(frozen=True)
class DataValue:
"""
Expand Down

0 comments on commit 47b229c

Please sign in to comment.