42 lines
810 B
Python
42 lines
810 B
Python
# This file was automatically generated by generate_cli.py
|
|
# type: ignore
|
|
|
|
from __future__ import annotations
|
|
|
|
from bec_lib.logger import bec_logger
|
|
|
|
from bec_widgets.cli.rpc.rpc_base import RPCBase, rpc_call, rpc_timeout
|
|
|
|
logger = bec_logger.logger
|
|
|
|
# pylint: skip-file
|
|
|
|
|
|
_Widgets = {
|
|
"DigitalTwin": "DigitalTwin",
|
|
}
|
|
|
|
|
|
class DigitalTwin(RPCBase):
|
|
"""Main widget of Digital Twin"""
|
|
|
|
_IMPORT_MODULE = "debye_bec.bec_widgets.widgets.digital_twin.digital_twin"
|
|
|
|
@rpc_call
|
|
def remove(self):
|
|
"""
|
|
Cleanup the BECConnector
|
|
"""
|
|
|
|
@rpc_call
|
|
def attach(self):
|
|
"""
|
|
None
|
|
"""
|
|
|
|
@rpc_call
|
|
def detach(self):
|
|
"""
|
|
Detach the widget from its parent dock widget (if widget is in the dock), making it a floating widget.
|
|
"""
|