Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling-v3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张晓彤
integrated-scheduling-v3
Commits
e12cb5f8
Commit
e12cb5f8
authored
Jul 22, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志优化
parent
b6382451
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dispatcher.py
core/dispatcher.py
+2
-2
No files found.
core/dispatcher.py
View file @
e12cb5f8
...
...
@@ -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]}'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment