mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-18 13:31:20 +00:00
feat(反应站): 添加反应器子设备支持
- 在设备注册表中添加反应器子设备配置 - 实现BioyondReactor类用于处理反应器数据 - 更新反应站主设备以支持子设备数据同步 - 在测试配置中添加5个反应器实例
This commit is contained in:
@@ -5,10 +5,16 @@
|
||||
"name": "reaction_station_bioyond",
|
||||
"parent": null,
|
||||
"children": [
|
||||
"Bioyond_Deck"
|
||||
"Bioyond_Deck",
|
||||
"reactor_1",
|
||||
"reactor_2",
|
||||
"reactor_3",
|
||||
"reactor_4",
|
||||
"reactor_5"
|
||||
],
|
||||
"type": "device",
|
||||
"class": "reaction_station.bioyond",
|
||||
"position": {"x": 0, "y": 3800, "z": 0},
|
||||
"config": {
|
||||
"config": {
|
||||
"api_key": "DE9BDDA0",
|
||||
@@ -64,6 +70,61 @@
|
||||
},
|
||||
"data": {}
|
||||
},
|
||||
{
|
||||
"id": "reactor_1",
|
||||
"name": "reactor_1",
|
||||
"children": [],
|
||||
"parent": "reaction_station_bioyond",
|
||||
"type": "device",
|
||||
"class": "reaction_station.reactor",
|
||||
"position": {"x": 1150, "y": 380, "z": 0},
|
||||
"config": {},
|
||||
"data": {}
|
||||
},
|
||||
{
|
||||
"id": "reactor_2",
|
||||
"name": "reactor_2",
|
||||
"children": [],
|
||||
"parent": "reaction_station_bioyond",
|
||||
"type": "device",
|
||||
"class": "reaction_station.reactor",
|
||||
"position": {"x": 1365, "y": 380, "z": 0},
|
||||
"config": {},
|
||||
"data": {}
|
||||
},
|
||||
{
|
||||
"id": "reactor_3",
|
||||
"name": "reactor_3",
|
||||
"children": [],
|
||||
"parent": "reaction_station_bioyond",
|
||||
"type": "device",
|
||||
"class": "reaction_station.reactor",
|
||||
"position": {"x": 1580, "y": 380, "z": 0},
|
||||
"config": {},
|
||||
"data": {}
|
||||
},
|
||||
{
|
||||
"id": "reactor_4",
|
||||
"name": "reactor_4",
|
||||
"children": [],
|
||||
"parent": "reaction_station_bioyond",
|
||||
"type": "device",
|
||||
"class": "reaction_station.reactor",
|
||||
"position": {"x": 1790, "y": 380, "z": 0},
|
||||
"config": {},
|
||||
"data": {}
|
||||
},
|
||||
{
|
||||
"id": "reactor_5",
|
||||
"name": "reactor_5",
|
||||
"children": [],
|
||||
"parent": "reaction_station_bioyond",
|
||||
"type": "device",
|
||||
"class": "reaction_station.reactor",
|
||||
"position": {"x": 2010, "y": 380, "z": 0},
|
||||
"config": {},
|
||||
"data": {}
|
||||
},
|
||||
{
|
||||
"id": "Bioyond_Deck",
|
||||
"name": "Bioyond_Deck",
|
||||
|
||||
Reference in New Issue
Block a user