-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobaldata.py
More file actions
executable file
·51 lines (42 loc) · 1002 Bytes
/
globaldata.py
File metadata and controls
executable file
·51 lines (42 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
header1 = ''
header2 = ''
header3 = ''
clipboard = ''
selection_left = None
selection_right = None
#globals to store all objects
all_teachers = []
all_venues = []
all_classes = []
subjects = {}
days_per_week = 0
lectures_per_day = 0
daily_max = 0
daily_min = 0
class_max = 0
class_min = 0
weekly_max = 0
weekly_min = 0
venueCapacity = 0
classCapacity = 0
rowLabels = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
colLabels = ['9-10','10-11', '11-12', '12-1', '1-2', '2-3', '3-4', '4-5', '5-6', '6-7']
teacher_fullnames = []
teacher_shortnames = ['ADD NEW']
teacher_weeklymax = []
teacher_dailymax = []
venue_fullnames = []
venue_shortnames = ['ADD NEW']
venue_capacity = []
class_fullnames = []
class_shortnames = ['ADD NEW']
class_capacity = []
subject_fullnames = []
subject_shortnames = ['ADD NEW']
subject_credits = []
teacher_class_map = {}
class_teacher_map = {}
teacher_subject_map = {}
subject_teacher_map = {}
venue_class_map = {}
class_venue_map = {}