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
1f92d3c0
Commit
1f92d3c0
authored
Jan 14, 2025
by
Allvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周期更新路网-注释
parent
de3f49ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dispatcher.py
core/dispatcher.py
+4
-0
No files found.
core/dispatcher.py
View file @
1f92d3c0
...
...
@@ -32,8 +32,10 @@ class Dispatcher:
self
.
logger
=
get_logger
(
"zxt.dispatcher"
)
self
.
redispatch_active
=
active
# if self.redispatch_active:
self
.
logger
.
info
(
"======================================= 更新路网开始 ======================================="
)
self
.
topo
=
Topo
()
self
.
topo
.
generate_topo_graph
()
self
.
logger
.
info
(
"======================================= 更新路网结束 ======================================="
)
# else:
# self.topo = None
self
.
submission
=
DispatchSubmission
(
dump
,
excavator
,
truck
,
self
.
topo
)
...
...
@@ -49,7 +51,9 @@ class Dispatcher:
self
.
truck
.
truck_para_period_update
(
self
.
dump
,
self
.
excavator
)
self
.
truck
.
state_period_update
()
# if self.redispatch_active:
self
.
logger
.
info
(
"======================================= 更新路网开始 ======================================="
)
self
.
topo
.
generate_topo_graph
()
self
.
logger
.
info
(
"======================================= 更新路网结束 ======================================="
)
def
group_generate
(
self
):
"""
...
...
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