feat(interface): 完成队列式记忆模块更新

This commit is contained in:
2026-01-06 20:32:27 +08:00
parent 9d9858788c
commit d3dadced85
6 changed files with 32 additions and 15 deletions

View File

@@ -16,6 +16,7 @@ class Phaser(Machine):
def __init__(self, atoms: list[pt.Atom]) -> None:
logger.debug("Phaser.__init__: 原子数量=%d", len(atoms))
self.atoms = atoms
new_atoms = list()
old_atoms = list()
@@ -105,6 +106,9 @@ class Phaser(Machine):
def on_finished(self):
"""进入FINISHED状态时的回调"""
for i in self.atoms:
i.lock(1)
i.revise()
logger.debug("Phaser 进入 FINISHED 状态")
def current_procession(self):