Commit e12cb5f8 authored by 张晓彤's avatar 张晓彤

日志优化

parent b6382451
......@@ -143,8 +143,7 @@ class DispatchSubmission:
record["haulFlag"] = -1
record["groupName"] = DispatchInfo.group_name[group_id]
self.logger.info("调度结果")
self.logger.info(record)
self.logger.info(f'redis 注入 {record}')
except Exception as es:
self.logger.error(es)
......@@ -331,6 +330,7 @@ class DispatchSubmission:
for truck_id, dispatch_plan in dispatch_plan_dict.items():
self.logger.info(f'======================================= 调度车辆 =======================================')
self.logger.info(f'矿车编号 {get_value("truck_uuid_to_name_dict")[truck_id]} {truck_id}')
self.logger.info(f'调度模式 {group.group_mode}')
self.logger.info(f'车辆任务 {group.truck_info_list[truck_id].get_task()}')
self.logger.info(f'配对挖机 {dispatch_plan[0]}')
self.logger.info(f'配对卸点 {dispatch_plan[1]}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment