Close #208. Fix mock devices.

(cherry picked from commit 28f93737ac)
This commit is contained in:
Xuwznln
2025-12-28 23:22:50 +08:00
parent 75bb5ec553
commit a1c34f138e
16 changed files with 25 additions and 25 deletions

View File

@@ -1240,7 +1240,7 @@ class WebSocketClient(BaseCommunicationClient):
},
}
self.message_processor.send_message(message)
logger.debug(f"[WebSocketClient] Device status published: {device_id}.{property_name}")
logger.trace(f"[WebSocketClient] Device status published: {device_id}.{property_name}")
def publish_job_status(
self, feedback_data: dict, item: QueueItem, status: str, return_info: Optional[dict] = None

View File

@@ -8,7 +8,7 @@
],
"parent": null,
"type": "device",
"class": "mock_chiller",
"class": "virtual_heatchill",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -49,7 +49,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_filter",
"class": "virtual_filter",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -80,7 +80,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_heater",
"class": "virtual_heatchill",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -108,7 +108,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_pump",
"class": "virtual_transfer_pump",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -147,7 +147,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_rotavap",
"class": "virtual_rotavap",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -175,7 +175,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_separator",
"class": "virtual_separator",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -213,7 +213,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_solenoid_valve",
"class": "virtual_solenoid_valve",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -233,7 +233,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_stirrer_new",
"class": "virtual_stirrer",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -261,7 +261,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_stirrer",
"class": "virtual_stirrer",
"position": {
"x": 620.6111111111111,
"y": 171,
@@ -289,7 +289,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_vacuum",
"class": "virtual_vacuum_pump",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_chiller",
"class": "virtual_heatchill",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_filter",
"class": "virtual_filter",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_heater",
"class": "virtual_heatchill",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_pump",
"class": "virtual_transfer_pump",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_rotavap",
"class": "virtual_rotavap",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_separator",
"class": "virtual_separator",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_solenoid_valve",
"class": "virtual_solenoid_valve",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_stirrer",
"class": "virtual_stirrer",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_stirrer_new",
"class": "virtual_stirrer",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -6,7 +6,7 @@
"children": [],
"parent": null,
"type": "device",
"class": "mock_vacuum",
"class": "virtual_vacuum_pump",
"position": {
"x": 620.6111111111111,
"y": 171,

View File

@@ -32,7 +32,7 @@
"children": [],
"parent": "CentrifugeTestStation",
"type": "device",
"class": "virtual_pump",
"class": "virtual_transfer_pump",
"position": {
"x": 520.6111111111111,
"y": 300,

View File

@@ -32,7 +32,7 @@
"children": [],
"parent": "FilterTestStation",
"type": "device",
"class": "virtual_pump",
"class": "virtual_transfer_pump",
"position": {
"x": 520.6111111111111,
"y": 300,

View File

@@ -32,7 +32,7 @@
"children": [],
"parent": "HeatChillTestStation",
"type": "device",
"class": "virtual_pump",
"class": "virtual_transfer_pump",
"position": {
"x": 520.6111111111111,
"y": 300,

View File

@@ -32,7 +32,7 @@
"children": [],
"parent": "StirTestStation",
"type": "device",
"class": "virtual_pump",
"class": "virtual_transfer_pump",
"position": {
"x": 520.6111111111111,
"y": 300,