Automatic generated files for digital twin
CI for debye_bec / test (pull_request) Successful in 1m5s
CI for debye_bec / test (push) Successful in 1m7s

This commit is contained in:
x01da
2026-05-18 09:03:23 +02:00
parent 823142b296
commit 3e80b0fd8d
2 changed files with 29 additions and 6 deletions
+16 -6
View File
@@ -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",
}