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
cf685232
Commit
cf685232
authored
Jun 25, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化调度数据
parent
659c93e9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
0 deletions
+1
-0
dispatcher.py
core/dispatcher.py
+1
-0
group.py
core/group.py
+0
-0
No files found.
core/dispatcher.py
View file @
cf685232
...
@@ -254,6 +254,7 @@ class DispatchSubmission:
...
@@ -254,6 +254,7 @@ class DispatchSubmission:
for
truck_id
,
dispatch_plan
in
dispatch_plan_dict
.
items
():
for
truck_id
,
dispatch_plan
in
dispatch_plan_dict
.
items
():
self
.
logger
.
info
(
f
'======================================= 调度车辆 ======================================='
)
self
.
logger
.
info
(
f
'======================================= 调度车辆 ======================================='
)
self
.
logger
.
info
(
f
'矿车编号 {get_value("truck_uuid_to_name_dict")[truck_id]} {truck_id}'
)
self
.
logger
.
info
(
f
'矿车编号 {get_value("truck_uuid_to_name_dict")[truck_id]} {truck_id}'
)
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[0]}'
)
self
.
logger
.
info
(
f
'配对卸点 {dispatch_plan[1]}'
)
self
.
logger
.
info
(
f
'配对卸点 {dispatch_plan[1]}'
)
self
.
truck_dispatch_to_redis
(
truck_id
,
dispatch_plan
)
self
.
truck_dispatch_to_redis
(
truck_id
,
dispatch_plan
)
...
...
core/group.py
View file @
cf685232
This diff is collapsed.
Click to expand it.
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