mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 21:11:12 +00:00
update todo
This commit is contained in:
@@ -61,7 +61,6 @@ class ElectrodeSheet(Resource):
|
||||
info=None
|
||||
)
|
||||
|
||||
# TODO: 这个还要不要?给self._unilabos_state赋值的?
|
||||
def load_state(self, state: Dict[str, Any]) -> None:
|
||||
"""格式不变"""
|
||||
super().load_state(state)
|
||||
@@ -665,7 +664,6 @@ class BatteryPressSlot(Resource):
|
||||
reassign: bool = True,
|
||||
):
|
||||
"""放置极片"""
|
||||
# TODO: 让高京看下槽位只有一个电池时是否这么写。
|
||||
if self.has_battery():
|
||||
raise ValueError(f"槽位已含有一个电池,无法再放置其他电池")
|
||||
super().assign_child_resource(resource, location, reassign)
|
||||
@@ -674,7 +672,6 @@ class BatteryPressSlot(Resource):
|
||||
def get_battery_info(self, index: int) -> Battery:
|
||||
return self.children[0]
|
||||
|
||||
# TODO:这个移液枪架子看一下从哪继承
|
||||
class TipBox64State(TypedDict):
|
||||
"""电池状态字典"""
|
||||
tip_diameter: float = 5.0
|
||||
|
||||
@@ -1012,7 +1012,7 @@ class CoinCellAssemblyWorkstation(WorkstationBase):
|
||||
# else:
|
||||
# print("子弹夹洞位0没有极片")
|
||||
#
|
||||
# # TODO:#把电解液从瓶中取到电池夹子中
|
||||
# #把电解液从瓶中取到电池夹子中
|
||||
# battery_site = deck.get_resource("battery_press_1")
|
||||
# clip_magazine_battery = deck.get_resource("clip_magazine_battery")
|
||||
# if battery_site.has_battery():
|
||||
|
||||
Reference in New Issue
Block a user