refactor: move func methods to the Alas class

This commit is contained in:
2026-07-06 22:40:29 +08:00
parent c878ece7c8
commit 5168e4edf0
6 changed files with 61 additions and 27 deletions
+5 -1
View File
@@ -60,7 +60,7 @@ class ArisuAutoSweeper(AzurLaneAutoScript):
def momotalk(self):
from tasks.momotalk.momotalk import MomoTalk
MomoTalk(config=self.config, device=self.device).run()
MomoTalk(config=self.config, device=self.device, task="Momotalk").run()
def mission(self):
from tasks.mission.mission import Mission
@@ -74,6 +74,10 @@ class ArisuAutoSweeper(AzurLaneAutoScript):
from tasks.item.data_update import DataUpdate
DataUpdate(config=self.config, device=self.device).run()
def benchmark(self):
from module.daemon.benchmark import run_benchmark
run_benchmark(config=self.config)
if __name__ == '__main__':
aas = ArisuAutoSweeper('aas')
aas.loop()