feat: 改进对象系统

This commit is contained in:
2026-01-01 20:18:18 +08:00
parent 94839c6369
commit 9b32a01a10
39 changed files with 682 additions and 180 deletions

View File

@@ -1,5 +1,5 @@
"""仪表盘界面
"""
"""仪表盘界面"""
import pathlib
from textual.app import ComposeResult
@@ -62,7 +62,8 @@ class DashboardScreen(Screen):
Returns:
dict: 包含显示文本的字典,键为行号
"""
from heurams.kernel.repository.particle_loader import load_electron, load_nucleon
from heurams.kernel.repository.particle_loader import (load_electron,
load_nucleon)
result = {}
filestem = pathlib.Path(filename).stem