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
209c684e
Commit
209c684e
authored
Jul 17, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Allvey/integrated-scheduling-v4 into github
parents
cb0f6296
7c4cb549
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dump.py
equipment/dump.py
+3
-3
excavator.py
equipment/excavator.py
+3
-3
No files found.
equipment/dump.py
View file @
209c684e
...
@@ -84,7 +84,7 @@ class DumpInfo(WalkManage):
...
@@ -84,7 +84,7 @@ class DumpInfo(WalkManage):
# except Exception as es:
# except Exception as es:
# self.logger.error(f"卸载设备 {dump_id} 卸载时间信息缺失, 已设为默认值(1min)")
# self.logger.error(f"卸载设备 {dump_id} 卸载时间信息缺失, 已设为默认值(1min)")
# self.logger.error(es)
# self.logger.error(es)
self
.
unloading_time
[
self
.
dump_uuid_to_index_dict
[
dump_id
]]
=
2
.00
self
.
unloading_time
[
self
.
dump_uuid_to_index_dict
[
dump_id
]]
=
10
.00
# print("average_unload_time: ", self.unloading_time[self.dump_uuid_to_index_dict[dump_id]])
# print("average_unload_time: ", self.unloading_time[self.dump_uuid_to_index_dict[dump_id]])
# 更新卸载设备出入时间
# 更新卸载设备出入时间
...
@@ -111,8 +111,8 @@ class DumpInfo(WalkManage):
...
@@ -111,8 +111,8 @@ class DumpInfo(WalkManage):
# except Exception as es:
# except Exception as es:
# self.logger.error(f"卸载设备 {dump_id} 出入场时间信息缺失, 已设为默认值(1min)")
# self.logger.error(f"卸载设备 {dump_id} 出入场时间信息缺失, 已设为默认值(1min)")
# self.logger.error(es)
# self.logger.error(es)
self
.
entrance_time
[
self
.
dump_uuid_to_index_dict
[
dump_id
]]
=
0.
50
self
.
entrance_time
[
self
.
dump_uuid_to_index_dict
[
dump_id
]]
=
0.
75
self
.
exit_time
[
self
.
dump_uuid_to_index_dict
[
dump_id
]]
=
0.
50
self
.
exit_time
[
self
.
dump_uuid_to_index_dict
[
dump_id
]]
=
0.
75
def
update_dump_material
(
self
):
def
update_dump_material
(
self
):
self
.
dump_material
=
{}
self
.
dump_material
=
{}
...
...
equipment/excavator.py
View file @
209c684e
...
@@ -82,7 +82,7 @@ class ExcavatorInfo(WalkManage):
...
@@ -82,7 +82,7 @@ class ExcavatorInfo(WalkManage):
self
.
logger
.
info
(
self
.
loading_time
)
self
.
logger
.
info
(
self
.
loading_time
)
self
.
logger
.
info
(
"excavator_uuid_to_index_dict"
)
self
.
logger
.
info
(
"excavator_uuid_to_index_dict"
)
self
.
logger
.
info
(
self
.
excavator_uuid_to_index_dict
)
self
.
logger
.
info
(
self
.
excavator_uuid_to_index_dict
)
self
.
loading_time
[
self
.
excavator_uuid_to_index_dict
[
excavator_id
]]
=
1.00
self
.
loading_time
[
self
.
excavator_uuid_to_index_dict
[
excavator_id
]]
=
1
0
.00
# 更新挖机设备出入时间
# 更新挖机设备出入时间
def
update_excavator_entrance_exit_time
(
self
):
def
update_excavator_entrance_exit_time
(
self
):
...
@@ -111,8 +111,8 @@ class ExcavatorInfo(WalkManage):
...
@@ -111,8 +111,8 @@ class ExcavatorInfo(WalkManage):
# self.logger.error(es)
# self.logger.error(es)
self
.
entrance_time
[
self
.
entrance_time
[
self
.
excavator_uuid_to_index_dict
[
excavator_id
]
self
.
excavator_uuid_to_index_dict
[
excavator_id
]
]
=
0.
50
]
=
0.
75
self
.
exit_time
[
self
.
excavator_uuid_to_index_dict
[
excavator_id
]]
=
0.
50
self
.
exit_time
[
self
.
excavator_uuid_to_index_dict
[
excavator_id
]]
=
0.
75
# 读取出入场时间
# 读取出入场时间
def
get_loading_task_time
(
self
):
def
get_loading_task_time
(
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