Commit 52f07aa5 authored by 张晓彤's avatar 张晓彤

解决某车辆崩溃后,直接启动兜底策略问题

parent 0e460115
......@@ -332,6 +332,7 @@ class DispatchSubmission:
self.logger.info(dispatch_plan_dict)
for truck_id, dispatch_plan in dispatch_plan_dict.items():
try:
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}')
......@@ -340,4 +341,6 @@ class DispatchSubmission:
self.logger.info(f'配对卸点 {dispatch_plan[1]}')
self.truck_dispatch_to_redis(truck_id, dispatch_plan)
self.logger.info("======================================== 完成写入 =======================================")
except Exception as es:
self.logger.error(f'分组 {group.group_id} 车辆 {truck_id} 异常')
self.logger.error(es)
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