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
4c2d7491
Commit
4c2d7491
authored
Nov 16, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仿真测试问题优化
parent
043eeac5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
util.py
core/util.py
+1
-1
settings.py
settings.py
+0
-6
No files found.
core/util.py
View file @
4c2d7491
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
import
requests
import
requests
from
tables
import
*
from
tables
import
*
with
open
(
json_file
)
as
f
:
with
open
(
json_file
)
as
f
:
mysql_config
=
json
.
load
(
f
)[
"m
y
sql"
]
mysql_config
=
json
.
load
(
f
)[
"m
s
sql"
]
# def redispatch_request(truck_id, excavator_id, unload_area_id):
# def redispatch_request(truck_id, excavator_id, unload_area_id):
...
...
settings.py
View file @
4c2d7491
...
@@ -27,12 +27,6 @@ with open(json_file) as f:
...
@@ -27,12 +27,6 @@ with open(json_file) as f:
para_config
=
json
.
load
(
f
)[
"para"
]
para_config
=
json
.
load
(
f
)[
"para"
]
with
open
(
json_file
)
as
f
:
with
open
(
json_file
)
as
f
:
mysql_config
=
json
.
load
(
f
)[
"mssql"
]
with
open
(
json_file
)
as
f
:
postgre_config
=
json
.
load
(
f
)[
"postgresql"
]
with
open
(
json_file
)
as
f
:
redis_config
=
json
.
load
(
f
)[
"redis"
]
redis_config
=
json
.
load
(
f
)[
"redis"
]
# 全局参数
# 全局参数
...
...
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