mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-20 14:31:14 +00:00
Merge branch 'workstation_dev_YB4' of https://github.com/dptech-corp/Uni-Lab-OS into workstation_dev_YB4
This commit is contained in:
@@ -1114,7 +1114,7 @@ bioyond_cell:
|
||||
config_info: []
|
||||
description: ''
|
||||
handles: []
|
||||
icon: ''
|
||||
icon: benyao2.webp
|
||||
init_param_schema:
|
||||
config:
|
||||
properties:
|
||||
|
||||
@@ -502,7 +502,7 @@ coincellassemblyworkstation_device:
|
||||
config_info: []
|
||||
description: ''
|
||||
handles: []
|
||||
icon: coin_cell_assembly_picture.webp
|
||||
icon: koudian.webp
|
||||
init_param_schema:
|
||||
config:
|
||||
properties:
|
||||
|
||||
0
unilabos/resources/battery/__init__.py
Normal file
0
unilabos/resources/battery/__init__.py
Normal file
@@ -52,6 +52,15 @@ class Magazine(ResourceStack):
|
||||
def size_z(self) -> float:
|
||||
return self.get_size_z()
|
||||
|
||||
def serialize(self) -> dict:
|
||||
return {
|
||||
**super().serialize(),
|
||||
"size_x": self.size_x,
|
||||
"size_y": self.size_y,
|
||||
"size_z": self.size_z,
|
||||
"max_sheets": self.max_sheets,
|
||||
}
|
||||
|
||||
|
||||
class MagazineHolder(ItemizedResource):
|
||||
"""子弹夹类 - 有多个洞位,每个洞位放多个极片"""
|
||||
|
||||
Reference in New Issue
Block a user