Skip to content

Commit

Permalink
refactor:公招相关代码 (#652)
Browse files Browse the repository at this point in the history
* 重构RecruitSolver

* 删除没有用的资源

* fix:解决RecruitSolver冲突

* ruff format base_schedule.py
  • Loading branch information
EightyDollars authored Jul 26, 2024
1 parent 3d3bea2 commit 3328054
Show file tree
Hide file tree
Showing 45 changed files with 364 additions and 837 deletions.
Binary file added arknights_mower/models/recruit.pkl
Binary file not shown.
Binary file added arknights_mower/models/recruit_result.pkl
Binary file not shown.
Binary file removed arknights_mower/resources/recruit.png
Binary file not shown.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added arknights_mower/resources/recruit/lmb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arknights_mower/resources/recruit/refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arknights_mower/resources/recruit/stone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arknights_mower/resources/recruit/ticket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arknights_mower/resources/recruit/time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed arknights_mower/resources/recruit_2.png
Binary file not shown.
Binary file removed arknights_mower/resources/recruit_4.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_4_chose.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_budget.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_continue.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_finish.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_no.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_no_lmb.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_no_refresh.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_no_ticket.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_refresh.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_special.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_tags.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_ticket.png
Diff not rendered.
Binary file removed arknights_mower/resources/recruit_yesorno.png
Diff not rendered.
1 change: 1 addition & 0 deletions arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3322,6 +3322,7 @@ def recruit_plan_solver(self):
hours=config.conf.recruit_gap
):
RecruitSolver(self.device, self.recog).run()

self.last_execution["recruit"] = datetime.now()
logger.info(f"下一次公开招募执行时间在{config.conf.recruit_gap}小时之后")

Expand Down
Loading

0 comments on commit 3328054

Please sign in to comment.