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
4f28691d
Commit
4f28691d
authored
Oct 31, 2023
by
虢奥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
远端派车逻辑补充
parent
9bc1e4f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
area_analysis.py
util/area_analysis.py
+5
-2
No files found.
util/area_analysis.py
View file @
4f28691d
...
...
@@ -115,9 +115,12 @@ def area_choose(excavators_id, closer_area_id, further_area_id, further_lane_set
load_value
=
json
.
load
(
f
)
gothrough_config_area
=
load_value
[
"gothrough"
]
dispatch_factor
=
gothrough_config_area
[
"closer_area_name"
]
# 远端挖机空闲
if
further_excavator_state
==
0
and
goto_further_area_num
==
0
:
logger
.
info
(
"远端挖机空闲, 调度车辆前往远端装载区"
)
target_excavator
=
DispatchInfo
.
load_excavator_dict
[
further_area_id
]
# 近端挖机空闲
if
closer_excavator_state
==
0
:
el
if
closer_excavator_state
==
0
:
logger
.
info
(
"近端挖机空闲, 调度车辆前往近端装载区"
)
target_excavator
=
DispatchInfo
.
load_excavator_dict
[
closer_area_id
]
# truck_dispatch_to_redis(request_truck_id, group_id, DispatchInfo.load_excavator_dict[closer_area_id])
...
...
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