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
de7d84cb
Commit
de7d84cb
authored
Nov 09, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化v3.1
parent
c4e5134f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
group.py
core/group.py
+3
-1
No files found.
core/group.py
View file @
de7d84cb
...
@@ -318,7 +318,7 @@ class GroupDispatcher:
...
@@ -318,7 +318,7 @@ class GroupDispatcher:
# 全智能模式
# 全智能模式
if
self
.
group
.
group_mode
==
1
:
if
self
.
group
.
group_mode
==
1
:
self
.
logger
.
info
(
"全智能模式调度"
)
self
.
logger
.
info
(
"全智能模式调度"
)
self
.
full_dynamic
WW
_mode
(
truck_id
,
solver
,
truck_dispatch
,
truck_info
,
truck_task
,
truck_trip
)
self
.
full_dynamic_mode
(
truck_id
,
solver
,
truck_dispatch
,
truck_info
,
truck_task
,
truck_trip
)
# 空车智能模式
# 空车智能模式
elif
self
.
group
.
group_mode
==
2
:
elif
self
.
group
.
group_mode
==
2
:
...
@@ -526,6 +526,8 @@ class GroupDispatcher:
...
@@ -526,6 +526,8 @@ class GroupDispatcher:
except
Exception
as
es
:
except
Exception
as
es
:
self
.
logger
.
error
(
"车辆位置信息丢失"
)
self
.
logger
.
error
(
"车辆位置信息丢失"
)
self
.
logger
.
error
(
es
)
self
.
logger
.
error
(
es
)
truck_dispatch
[
i
]
=
[
None
,
None
]
return
try
:
try
:
truck_is_temp
=
self
.
group
.
truck
.
truck_is_temp
[
i
]
truck_is_temp
=
self
.
group
.
truck
.
truck_is_temp
[
i
]
except
Exception
as
es
:
except
Exception
as
es
:
...
...
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