feat(interface): 改进状态显示

This commit is contained in:
2026-01-13 23:39:10 +08:00
parent ed361f88e2
commit bcb198f4d4
9 changed files with 615 additions and 49 deletions

View File

@@ -53,6 +53,11 @@ class Electron:
result = self.algo.is_due(self.algodata)
return result and self.is_activated()
def rept(self, real_rept = False):
if real_rept:
return self.algodata[self.algo.algo_name]['real_rept']
return self.algodata[self.algo.algo_name]['rept']
def is_activated(self):
result = self.algodata[self.algo.algo_name]["is_activated"]
return result

View File

@@ -1,4 +1,3 @@
from click import style
from transitions import Machine
import heurams.kernel.particles as pt