Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling
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
0
Merge Requests
0
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
Commits
5140e068
Commit
5140e068
authored
Jul 23, 2021
by
Allvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
github提交
parent
46f1a731
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
tables.py
tables.py
+4
-2
traffic_flow_dispatch.py
traffic_flow_dispatch.py
+0
-0
traffic_flow_planner.py
traffic_flow_planner.py
+0
-0
wato_dispatch.py
wato_dispatch.py
+2
-2
No files found.
T
ables.py
→
t
ables.py
View file @
5140e068
...
...
@@ -3,7 +3,7 @@
# @Time : 2021/6/22 12:46
# @Author : Opfer
# @Site :
# @File :
Tables.py
# @File :
tables.py
# @Software: PyCharm
from
sqlalchemy
import
Column
,
create_engine
...
...
@@ -192,8 +192,9 @@ class EquipmentPair(Base):
unload_area_id
=
Column
(
VARCHAR
(
36
))
dispatch_id
=
Column
(
VARCHAR
(
36
))
isdeleted
=
Column
(
BOOLEAN
)
createtime
=
Column
(
DateTime
)
def
__init__
(
self
,
id
,
truck_id
,
exactor_id
,
dump_id
,
load_area_id
,
unload_area_id
,
dispatch_id
,
isdeleted
):
def
__init__
(
self
,
id
,
truck_id
,
exactor_id
,
dump_id
,
load_area_id
,
unload_area_id
,
dispatch_id
,
isdeleted
,
createtime
):
self
.
id
=
id
self
.
truck_id
=
truck_id
self
.
exactor_id
=
exactor_id
...
...
@@ -202,6 +203,7 @@ class EquipmentPair(Base):
self
.
unload_area_id
=
unload_area_id
self
.
dispatch_id
=
dispatch_id
self
.
isdeleted
=
isdeleted
self
.
createtime
=
createtime
class
Dispatch
(
Base
):
# 表的名字:
...
...
traffic_flow_dispatch.py
0 → 100644
View file @
5140e068
This diff is collapsed.
Click to expand it.
traffic_flow_planner.py
0 → 100644
View file @
5140e068
This diff is collapsed.
Click to expand it.
WatoDisp
.py
→
wato_dispatch
.py
View file @
5140e068
...
...
@@ -3,7 +3,7 @@
# @Time : 2021/6/15 10:35
# @Author : Opfer
# @Site :
# @File :
WatoDisp.py
# @File :
wato_dispatch.py
# @Software: PyCharm
from
sqlalchemy
import
Column
,
create_engine
...
...
@@ -18,7 +18,7 @@ import copy
import
json
import
sched
import
time
from
T
ables
import
*
from
t
ables
import
*
from
urllib.parse
import
quote
import
logging
import
logging.handlers
...
...
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