class documentation

Abstract OPC UA dictionary entry (OPC 10000-19).

Subclasses define the identifier format by setting the class variables and implementing _validate. Instances are immutable and validated on creation.

See also https://reference.opcfoundation.org/specs/OPC-10000-19

Method __post_init__ Validate semantic_id via _validate.
Class Variable name Optional human-readable name; used as OPC UA display name.
Class Variable semantic_id Identifier defining the meaning (semantic); used as OPC UA browse name.
Class Variable ua_namespace_uri Namespace URI of the dictionary; instances of this entry type live in this namespace.
Class Variable ua_type_node_id Node ID of the OPC UA type representing this entry type.
Method _validate Check semantic_id against the entry type's format.
@final
def __post_init__(self):

Validate semantic_id via _validate.

name: str | None =

Optional human-readable name; used as OPC UA display name.

semantic_id: str =

Identifier defining the meaning (semantic); used as OPC UA browse name.

ua_namespace_uri: ClassVar[str] =

Namespace URI of the dictionary; instances of this entry type live in this namespace.

ua_type_node_id: ClassVar[ua.NodeId] =

Node ID of the OPC UA type representing this entry type.

@abstractmethod
def _validate(self):

Check semantic_id against the entry type's format.

Raises
ValueErrorIf semantic_id is not valid for this entry type.