Add Device MockPump

This commit is contained in:
KCFeng425
2025-06-05 13:35:22 +08:00
parent 8c81dab7e1
commit 8cf51ee8d3
4 changed files with 554 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
"nodes": [
{
"id": "MockPump1",
"name": "模拟泵设备",
"children": [],
"parent": null,
"type": "device",
"class": "mock_pump",
"position": {
"x": 620.6111111111111,
"y": 171,
"z": 0
},
"config": {
"port": "MOCK"
},
"data": {
"status": "Idle",
"power_state": "Off",
"pump_state": "Stopped",
"flow_rate": 0.0,
"target_flow_rate": 0.0,
"pressure": 0.0,
"total_volume": 0.0,
"direction": "Forward",
"max_flow_rate": 100.0,
"max_pressure": 10.0
}
}
],
"links": []
}