class documentation
class Resource(UaObject, IdentificationMixin[
Constructor: Resource(definition)
Base class for all resources.
| Method | __init__ |
Cooperative constructor. |
| Async Method | lifecycle |
Initialize the OPC UA variables based on the definition. |
| Property | resource |
Return the class of the resource, i.e. 'Cab', 'Trailer' etc. |
| Async Method | _get |
Undocumented |
| Async Method | _write |
Undocumented |
| Instance Variable | _definition |
Undocumented |
| Instance Variable | _resource |
Undocumented |
@lifecycle( after=AttributesMixin.lifecycle_attributes)
async def lifecycle_resource(self) -> AsyncGenerator[ None]:
¶
Initialize the OPC UA variables based on the definition.