Skip to content

Commit

Permalink
Merge pull request #374 from EightyDollars/dev_shawn
Browse files Browse the repository at this point in the history
fix:删除基报识别代码
  • Loading branch information
ZhaoZuohong authored Nov 7, 2023
2 parents 090137d + 0368722 commit c4373c3
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 219 deletions.
1 change: 0 additions & 1 deletion arknights_mower/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from . import __version__
from .solvers import *
from .solvers.report import ReportSolver
from .utils import config
from .utils.device import Device
from .utils.log import logger
Expand Down
6 changes: 1 addition & 5 deletions arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
from email.mime.multipart import MIMEMultipart

from .skland import SKLand
from ..command import recruit, daily_report, mail
from ..command import recruit, mail
from ..data import agent_list, base_room_list, ocr_error
from ..utils import character_recognize, detector, segment
from ..utils.digit_reader import DigitReader
from ..utils.operators import Operators, Operator, Dormitory
from ..utils.recruit import filter_result
from ..utils.scheduler_task import SchedulerTask, scheduling, find_next_task, TaskTypes
from ..utils import typealias as tp
from ..utils.device import Device
Expand Down Expand Up @@ -2267,8 +2266,5 @@ def recruit_plan_solver(self):
recruit([], self.send_message_config, self.recruit_config)
self.recruit_config['last_execution'] = datetime.now()

def read_report(self):
return daily_report()

def mail_plan_solver(self):
mail([])
171 changes: 0 additions & 171 deletions arknights_mower/solvers/report.py

This file was deleted.

2 changes: 0 additions & 2 deletions arknights_mower/utils/recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ def get_scene(self) -> int:
self.scene = Scene.FRIEND_LIST_ON
elif self.find('credit_visiting') is not None:
self.scene = Scene.FRIEND_VISITING
elif self.find('riic_report_title') is not None:
self.scene = Scene.RIIC_REPORT
elif self.find('control_central_assistants') is not None:
self.scene = Scene.CTRLCENTER_ASSISTANT
elif self.find('infra_overview') is not None:
Expand Down
37 changes: 0 additions & 37 deletions arknights_mower/utils/recruit.py

This file was deleted.

3 changes: 0 additions & 3 deletions arknights_mower/utils/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,6 @@ def back_to_index(self):
try:
if self.get_navigation():
self.tap_element('nav_index')
elif self.scene() == Scene.RIIC_REPORT:
#self.tap_element('riic_return')
self.tap((130, 60))
elif self.scene() == Scene.CLOSE_MINE:
self.tap_element('close_mine')
elif self.scene() == Scene.CHECK_IN:
Expand Down

0 comments on commit c4373c3

Please sign in to comment.