class documentation
class AttributesMixin(Generic[
Mixin for UaObject with attributes.
| Method | __init |
Extract type for attributes. |
| Async Method | add |
Add a new monitoring variable to this UaObject. |
| Async Method | lifecycle |
Initialize the attributes UaVariableContainer. |
| Property | attributes |
Return the attributes UaVariableContainer. Read-only property. |
| Class Variable | __attributes |
Undocumented |
@deprecated( 'Please use a typed Attributes subclass instead!')
async def add_attribute_variable(self, name: str, val: Any, *, varianttype: ua.VariantType | None = None, datatype: ua.NodeId | int | None = None, historize: bool = False, unit: str | int | None = None, _range: tuple[ float, float] | None = None) -> Node:
¶
Add a new monitoring variable to this UaObject.