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
de3f49ae
Commit
de3f49ae
authored
Jan 07, 2025
by
Allvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正日志路径
parent
5858ccf0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
dispatcher.py
core/dispatcher.py
+4
-7
No files found.
core/dispatcher.py
View file @
de3f49ae
...
@@ -31,11 +31,11 @@ class Dispatcher:
...
@@ -31,11 +31,11 @@ class Dispatcher:
self
.
request_mode
=
request_mode
self
.
request_mode
=
request_mode
self
.
logger
=
get_logger
(
"zxt.dispatcher"
)
self
.
logger
=
get_logger
(
"zxt.dispatcher"
)
self
.
redispatch_active
=
active
self
.
redispatch_active
=
active
if
self
.
redispatch_active
:
#
if self.redispatch_active:
self
.
topo
=
Topo
()
self
.
topo
=
Topo
()
self
.
topo
.
generate_topo_graph
()
self
.
topo
.
generate_topo_graph
()
else
:
#
else:
self
.
topo
=
None
#
self.topo = None
self
.
submission
=
DispatchSubmission
(
dump
,
excavator
,
truck
,
self
.
topo
)
self
.
submission
=
DispatchSubmission
(
dump
,
excavator
,
truck
,
self
.
topo
)
def
period_update
(
self
):
def
period_update
(
self
):
...
@@ -48,11 +48,8 @@ class Dispatcher:
...
@@ -48,11 +48,8 @@ class Dispatcher:
self
.
excavator
.
excavator_para_period_update
()
self
.
excavator
.
excavator_para_period_update
()
self
.
truck
.
truck_para_period_update
(
self
.
dump
,
self
.
excavator
)
self
.
truck
.
truck_para_period_update
(
self
.
dump
,
self
.
excavator
)
self
.
truck
.
state_period_update
()
self
.
truck
.
state_period_update
()
if
self
.
redispatch_active
:
# if self.redispatch_active:
self
.
topo
=
Topo
()
self
.
topo
.
generate_topo_graph
()
self
.
topo
.
generate_topo_graph
()
else
:
self
.
topo
=
None
def
group_generate
(
self
):
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