perf.优化宿舍换班流程,优化生产设施识别逻辑

This commit is contained in:
MistEO
2021-10-27 23:43:36 +08:00
parent d24ddd8278
commit c36e97c44a
24 changed files with 194 additions and 152 deletions

View File

@@ -31,7 +31,7 @@ bool ProcessTask::run()
}
auto task_info_ptr = analyzer.get_result();
Rect rect = analyzer.get_rect();
const auto& res_move = task_info_ptr->result_move;
const auto& res_move = task_info_ptr->rect_move;
if (!res_move.empty()) {
rect.x += res_move.x;
rect.y += res_move.y;