Classes | |
class | _FrozenClass |
class | _MaskEnum |
class | AccessLevel |
class | ByteStringNodeId |
class | DataValue |
class | EventNotifier |
class | ExtensionObject |
class | FourByteNodeId |
class | GuidNodeId |
class | LocalizedText |
class | NodeId |
class | NodeIdType |
class | NumericNodeId |
class | QualifiedName |
class | StatusCode |
class | StringNodeId |
class | TwoByteNodeId |
class | ValueRank |
class | Variant |
class | VariantType |
class | VariantTypeCustom |
class | WriteMask |
class | XmlElement |
Functions | |
def | _split_list (l, n) |
def | datatype_to_varianttype (int_type) |
def | flatten (mylist) |
def | flatten_and_get_shape (mylist) |
def | get_default_value (vtype) |
def | get_shape (mylist) |
def | get_win_epoch () |
def | reshape (flat, dims) |
Variables | |
ExpandedNodeId = NodeId | |
FrozenClass = object | |
unicode = str | |
implement ua datatypes
|
private |
Definition at line 861 of file uatypes.py.
def opcua.ua.uatypes.datatype_to_varianttype | ( | int_type | ) |
Takes a NodeId or int and return a VariantType This is only supported if int_type < 63 due to VariantType encoding At low level we do not have access to address space thus decoding is limited a better version of this method can be find in ua_utils.py
Definition at line 1030 of file uatypes.py.
def opcua.ua.uatypes.flatten | ( | mylist | ) |
Definition at line 877 of file uatypes.py.
def opcua.ua.uatypes.flatten_and_get_shape | ( | mylist | ) |
Definition at line 866 of file uatypes.py.
def opcua.ua.uatypes.get_default_value | ( | vtype | ) |
Given a variant type return default value for this type
Definition at line 1046 of file uatypes.py.
def opcua.ua.uatypes.get_shape | ( | mylist | ) |
Definition at line 887 of file uatypes.py.
def opcua.ua.uatypes.get_win_epoch | ( | ) |
Definition at line 23 of file uatypes.py.
def opcua.ua.uatypes.reshape | ( | flat, | |
dims | |||
) |
Definition at line 847 of file uatypes.py.
opcua.ua.uatypes.ExpandedNodeId = NodeId |
Definition at line 474 of file uatypes.py.
opcua.ua.uatypes.FrozenClass = object |
Definition at line 48 of file uatypes.py.
opcua.ua.uatypes.unicode = str |
Definition at line 22 of file uatypes.py.