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
75bc5a5a
Commit
75bc5a5a
authored
Sep 15, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次调度异常修复
parent
4cca50a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
group.py
core/group.py
+2
-1
调度系统部署说明4.1.docx
调度系统部署说明4.1.docx
+0
-0
No files found.
core/group.py
View file @
75bc5a5a
...
@@ -619,8 +619,9 @@ class Group:
...
@@ -619,8 +619,9 @@ class Group:
best_excavator_id
=
current_excavator_id
best_excavator_id
=
current_excavator_id
for
load_area
,
value
in
load_area_dict
.
items
():
for
load_area
,
value
in
load_area_dict
.
items
():
# 车辆不需要掉头
# 车辆不需要掉头
if
value
[
-
1
]
==
1
and
load_area
in
DispatchInfo
.
load_excavator_dict
:
excavator_id
=
DispatchInfo
.
load_excavator_dict
[
load_area
]
excavator_id
=
DispatchInfo
.
load_excavator_dict
[
load_area
]
if
value
[
-
1
]
==
1
and
excavator_id
in
self
.
excavator
:
# excavator_id = DispatchInfo.load_excavator_dict[load_area]
traveling_time
=
60
*
(
value
[
0
]
/
1000
)
/
self
.
truck
.
empty_speed
[
truck_id
]
traveling_time
=
60
*
(
value
[
0
]
/
1000
)
/
self
.
truck
.
empty_speed
[
truck_id
]
self
.
logger
.
info
(
f
'load_area {load_area}'
)
self
.
logger
.
info
(
f
'load_area {load_area}'
)
...
...
调度系统部署说明4.1.docx
View file @
75bc5a5a
No preview for this file type
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