Automatic generated files for digital twin
This commit is contained in:
@@ -12,20 +12,30 @@ logger = bec_logger.logger
|
||||
# pylint: skip-file
|
||||
|
||||
|
||||
_Widgets = {}
|
||||
_Widgets = {
|
||||
"DigitalTwin": "DigitalTwin",
|
||||
}
|
||||
|
||||
|
||||
class DigitalTwin(RPCBase):
|
||||
"""A simple BEC widget with:"""
|
||||
"""Main widget of Digital Twin"""
|
||||
|
||||
_IMPORT_MODULE = "debye_bec.bec_widgets.widgets.digital_twin.digital_twin"
|
||||
|
||||
@rpc_call
|
||||
def set_a(self, value: float):
|
||||
def remove(self):
|
||||
"""
|
||||
Set input A remotely from the BEC CLI.
|
||||
Cleanup the BECConnector
|
||||
"""
|
||||
|
||||
@rpc_call
|
||||
def set_b(self, value: float):
|
||||
def attach(self):
|
||||
"""
|
||||
Set input B remotely from the BEC CLI.
|
||||
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.
|
||||
"""
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# This file was automatically generated by generate_cli.py
|
||||
# type: ignore
|
||||
from __future__ import annotations
|
||||
|
||||
# pylint: skip-file
|
||||
|
||||
designer_plugins = {
|
||||
"DigitalTwin": ("debye_bec.bec_widgets.widgets.digital_twin.digital_twin", "DigitalTwin"),
|
||||
}
|
||||
|
||||
widget_icons = {
|
||||
"DigitalTwin": "lightbulb",
|
||||
}
|
||||
Reference in New Issue
Block a user