class BaseRemoteComponent(RemoteUaObject[
Known subclasses: client.remote_component.RemoteComponent
Constructor: BaseRemoteComponent(name, ua_node, parent, server, ...)
The remote interface for a server-side BaseMachineryItem.
| Method | __init__ |
Cooperative constructor. |
| Method | name |
Undocumented |
| Async Method | read |
Read the current state of the remote component. |
| Async Method | read |
Read all parameter set variables. |
| Async Method | read |
Read all parameter set variables. |
| Async Method | ua |
Undocumented |
| Async Method | ua |
Handle "message" event notifications. |
| Async Method | write |
Write given parameter set variables. |
| Instance Variable | attributes |
Undocumented |
| Instance Variable | components |
Undocumented |
| Instance Variable | feasibility |
Undocumented |
| Instance Variable | identification |
Undocumented |
| Instance Variable | method |
Undocumented |
| Instance Variable | monitoring |
Undocumented |
| Instance Variable | notification |
Undocumented |
| Instance Variable | parameter |
Undocumented |
| Instance Variable | precondition |
Undocumented |
| Instance Variable | resources |
Undocumented |
| Instance Variable | skill |
Undocumented |
| Instance Variable | status |
Callback when the current state or its status changed. |
| Property | current |
(Cached) Current state of the remote component (may not be up-to-date due to subscription delay). |
| Property | current |
(Cached) Current state with its status and timestamps. |
| Property | name |
Return the name of the remote module. |
| Property | type |
Return human-readable component type (mainly for UI purposes). |
| Async Method | _browse |
Browse a single component in given ua_node with name. |
| Async Method | _browse |
Browse all components in given ua_node. |
| Async Method | _browse |
Browse a single lock in given ua_node. |
| Async Method | _browse |
Undocumented |
| Async Method | _browse |
Browse a single method in given ua_node with name. |
| Async Method | _browse |
Browse all methods in given ua_node. |
| Async Method | _browse |
Browse a single resource in given ua_node with name. |
| Async Method | _browse |
Browse all resources in given ua_node. |
| Async Method | _browse |
Undocumented |
| Async Method | _browse |
Browse all skills in given ua_node. |
| Async Method | _init |
Set up all subscriptions for all subcomponents and itself. |
| Async Method | _init |
Handle child node found during browsing our machinery building blocks OPC UA node. |
| Async Method | _setup |
Undocumented |
| Class Variable | _ua |
Undocumented |
| Class Variable | _ua |
Undocumented |
| Instance Variable | _current |
Undocumented |
| Instance Variable | _lock |
Undocumented |
| Instance Variable | _name |
Undocumented |
| Instance Variable | _ua |
Undocumented |
| Instance Variable | _ua |
Undocumented |
str | ua.LocalizedText, ua_node: Node, parent: BaseRemoteComponent, server: RemoteServer, browse_rules: Iterable[ BrowseRule] | None, ua_type: str | None = None, **kwargs):
¶
Cooperative constructor.
Read the current state of the remote component.
Is None when the component has no OPC UA CurrentState node (e.g. resources), or the server reports an empty state (yet).
| Raises | |
UnknownStateError | if the server reports a state not matching any MachineryItemState. |
Mapping[ str, Any]:
¶
Read all parameter set variables.
Mapping[ str, Any]:
¶
Read all parameter set variables.
Mapping[ str, Any]):
¶
Write given parameter set variables.
(Cached) Current state of the remote component (may not be up-to-date due to subscription delay).
Is None when the component has no OPC UA CurrentState node (e.g. resources), the server has not
reported a state yet, or reports a bad status (see current_state_sample). Empty or unknown state values are
ignored, keeping the last valid state.
(Cached) Current state with its status and timestamps.
Is None when the component has no OPC UA CurrentState node (e.g. resources). Has the status BadWaitingForInitialData until the server reported a state.
Node, evaluated_browse_features: BrowseFeature):
¶
Undocumented