class documentation

class BaseMachine(LockableMixin, NotificationMixin, IdentificationMixin[MachineIdentification], BaseMachineryItem):

Constructor: BaseMachine(server, name, minimum_access_level, **kwargs)

View In Hierarchy

Abstract base class for a Smart Machine.

Method __init__ Create a new Machine instance. Server instance must be provided.
Property root_parent Return the root parent, which in the case of machines is ourselves.
Async Method _get_definition Undocumented
Async Method _init Undocumented
Async Method _init_users Initialize OPC UA representation of users.
Method _validate Validate whether the module was correctly set-up by the user.
Instance Variable _users Undocumented
def __init__(self, *, server: Server | None = None, name: str | None = None, minimum_access_level: int | None = None, **kwargs):

Create a new Machine instance. Server instance must be provided.

@property
root_parent: BaseMachine =

Return the root parent, which in the case of machines is ourselves.

Required for ParentMixin functionality.

@override
async def _get_definition(self) -> UaObjectDefinition:

Undocumented

@override
async def _init(self):

Undocumented

async def _init_users(self):

Initialize OPC UA representation of users.

def _validate(self):

Validate whether the module was correctly set-up by the user.

Raises
ValidationErrorIf a validation error occurs.
_users =

Undocumented