class documentation

class RemoteVariableDTO(RemoteUaObjectDTO):

View In Hierarchy

Data transfer object for a RemoteVariable.

Class Variable is_writable Whether the variable is writable or read-only.
Class Variable range Optional. Low/High. Restricts range of valid values for value.
Class Variable timestamp Timestamp of the last value change. Exists most of the time.
Class Variable ua_data_type Undocumented
Class Variable ua_value_rank OPC UA value rank (-1 for Scalar, 0 for "1 or more", >=1 exact dimension).
Class Variable unit Optional. Symbol of a unit, e.g. 'm' for meters.
Class Variable valid_values Optional. Mapping of value (int) / node id (str) -> human-readable name. Restricts value.
Class Variable value Value of the variable.

Inherited from RemoteUaObjectDTO:

Class Variable name Undocumented
Class Variable path Undocumented
Class Variable ua_node_id OPC UA node ID as string, e.g. ns=1;s=DummyMachine
Class Variable ua_type Undocumented
is_writable: bool =

Whether the variable is writable or read-only.

range: RangeDTO | None =

Optional. Low/High. Restricts range of valid values for value.

timestamp: datetime | None =

Timestamp of the last value change. Exists most of the time.

ua_data_type: str =

Undocumented

ua_value_rank: int =

OPC UA value rank (-1 for Scalar, 0 for "1 or more", >=1 exact dimension).

unit: str | None =

Optional. Symbol of a unit, e.g. 'm' for meters.

valid_values: dict[int, str] | dict[str, str] | None =

Optional. Mapping of value (int) / node id (str) -> human-readable name. Restricts value.

value: Any =

Value of the variable.