修改pylabrobot更新后的影响

This commit is contained in:
q434343
2026-03-16 20:42:13 +08:00
parent d85ff540c4
commit b11f6eac55
2 changed files with 28 additions and 16 deletions

View File

@@ -103,7 +103,7 @@ class PRCXI9300Deck(Deck):
def __init__(self, name: str, size_x: float, size_y: float, size_z: float,
sites: Optional[List[Dict[str, Any]]] = None, **kwargs):
super().__init__(name, size_x, size_y, size_z)
super().__init__( size_x, size_y, size_z, name=name)
if sites is not None:
self.sites: List[Dict[str, Any]] = [dict(s) for s in sites]
else: