-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.py
23 lines (19 loc) · 1.28 KB
/
base.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class base:
def __init__(self) -> None:
pass
# output所需数据:tasks = [
# dict(Task="任务1", Start='2024-06-01', Finish='2024-06-05'),
# dict(Task="任务2", Start='2024-06-03', Finish='2024-06-08'),
# dict(Task="任务3", Start='2024-06-06', Finish='2024-06-10')
# ]
# input所给的数据: shengchangongdan=[{'工单编号':'', '物料编号':'', '数量':'', '计划开始日期':'', '计划完工日期':'', '前置工单':'', '优先级':''}]
# gongyiluxian=[{'物料编码':'', '工序':'', '前置工序':'', '资源名称':'', '资源需求':'', '准备工时min\n(固定值,资源占用)':'', '作业工时min\n(单位值,资源占用)':'', '后置工时min(固定值,不占用资源)':''}]
# ziyuanrili=[{'资源编号':'', '资源名称':'', '资源数量':'', '开始日期':'', '结束日期':'', '开始时间\n(包含)':'', '结束时间\n(包含)':'', '优先级':'', '班次':''}]
# gongdangongxu=[{'工单编号':'', '物料编号':'', '工序':'', '资源池':'', '资源ID':'', '资源需求':'', '开始时间':'', '结束时间':''}]
# gongxurenwu=[{}] #?
# paichengjieguo=[{}] #?
class paiban:
def __init__(self) -> None:
pass
def calculate(self):
pass