class documentation

class FinalResultDataMixin(Generic[FinalResultDataType]):

View In Hierarchy

Mixin for UaObject with final result data.

Method __init_subclass__ Extract type for monitoring.
Async Method add_result_variable Add a new parameter variable to this UaObject.
Async Method lifecycle_final_result_data Initialize the final result data UaVariableContainer.
Async Method read_result Read the result of given variable name.
Async Method read_results Read all results and provide them as a mapping from result name to value.
Property final_result_data Return the final result data UaVariableContainer . Read-only property.
Class Variable __final_result_data Undocumented
def __init_subclass__(cls, **kwargs):

Extract type for monitoring.

@deprecated('Please use a typed FinalResultData subclass instead!')
async def add_result_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 parameter variable to this UaObject.

@lifecycle
async def lifecycle_final_result_data(self) -> AsyncGenerator[None]:

Initialize the final result data UaVariableContainer.

@deprecated('Please use the typed .final_result_data.<name>.read() instead')
async def read_result(self, name: str) -> Any:

Read the result of given variable name.

@deprecated('Please use the typed .final_result_data.<name>.read() or untyped final_result_data.read_all() instead')
async def read_results(self) -> Mapping[str, Any]:

Read all results and provide them as a mapping from result name to value.

@property
final_result_data: FinalResultDataType =

Return the final result data UaVariableContainer . Read-only property.

__final_result_data: FinalResultDataType | None =

Undocumented