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
2126a86f
Commit
2126a86f
authored
May 12, 2023
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次调度代码优化
parent
a274a624
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
group.py
core/group.py
+4
-4
No files found.
core/group.py
View file @
2126a86f
...
...
@@ -473,7 +473,7 @@ class GroupDispatcher:
self
.
logger
.
info
(
f
'======================= 开始处理调度车辆 {truck_name} ======================='
)
#
try:
try
:
# 全智能模式
if
self
.
group
.
group_mode
==
1
:
self
.
logger
.
info
(
"调度模式:全智能模式调度"
)
...
...
@@ -497,9 +497,9 @@ class GroupDispatcher:
self
.
logger
.
info
(
"调度模式:分流配比模式调度"
)
self
.
ratio_mode
(
truck_id
,
truck_dispatch
,
truck_task
)
#
except Exception as es:
#
self.logger.error("调度调用异常")
#
self.logger.error(es)
except
Exception
as
es
:
self
.
logger
.
error
(
"调度调用异常"
)
self
.
logger
.
error
(
es
)
self
.
logger
.
info
(
f
'======================= 派车计划计算结束 {truck_name} ======================='
)
...
...
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