class documentation
class RemoteSkill(RemoteCallable, UaDataChangeSubscriber):
Constructor: RemoteSkill(name, ua_node, server, parent, ...)
The remote interface for a server-side BaseSkill.
| Method | __init__ |
Create a new instance. Must be asynchronously initialized with init() before use. |
| Method | dto |
Return the data transfer object. |
| Async Method | halt |
Call the halt method on the remote skill. User is responsible for handling any errors. |
| Async Method | read |
Read the current state of the remote skill. |
| Async Method | reset |
Call the reset method on the remote skill. User is responsible for handling any errors. |
| Async Method | start |
Call the start method on the remote skill. User is responsible for handling any errors. |
| Async Method | suspend |
Call the suspend method on the remote skill. User is responsible for handling any errors. |
| Async Method | ua |
Handle current state data change notifications from OPC UA. |
| Async Method | ua |
Read the OPC UA type, resolved from node ID browse name. |
| Async Method | wait |
Block until the skill either reached the given state or was halted. Given timeout is in seconds. |
| Instance Variable | state |
Undocumented |
| Property | current |
Cached current state of the remote skill. |
| Property | suspendable |
Indicates whether the skill is suspendable. |
| Async Method | _browse |
Undocumented |
| Async Method | _handle |
Undocumented |
| Method | _init |
Undocumented |
| Instance Variable | _current |
Undocumented |
| Instance Variable | _ua |
Undocumented |
| Instance Variable | _ua |
Undocumented |
def __init__(self, *, name:
str, ua_node: Node, server: RemoteServer, parent: BaseRemoteComponent, browse_rules: Iterable[ BrowseRule] | None):
¶
Create a new instance. Must be asynchronously initialized with init() before use.