Revize a6583091
Přidáno uživatelem Alex Konig před téměř 4 roky(ů)
Server/ServerApp/Parser/Parsers/TagInfo.cs | ||
---|---|---|
1 | 1 |
using System.Collections.Generic; |
2 | 2 |
|
3 |
// 30min |
|
4 |
|
|
3 | 5 |
namespace ServerApp.Parser.Parsers |
4 | 6 |
{ |
5 | 7 |
/// <author>Alex Konig</author> |
... | ... | |
20 | 22 |
|
21 | 23 |
// FACULTIES |
22 | 24 |
|
23 |
faculties = new string[] { "FST", "FEK", "FEL", "FDU", "FF", "FPE", "FEK-CH", "FZS", "FAV", "FPR" }; |
|
25 |
faculties = new string[] { "FST+FEK", "FDU", "FAV", "FEL", "REK", "MENZA", "LIB", "CIV", "UNI14", "DOM", "HUS", "CHOD", "JUNG", "KLAT", "KOLL", "RIEG", "SADY", "SED+VEL", "TES", |
|
26 |
"TYL", "KARMA", "KBORY", "KLOCH", "KKLAT" }; |
|
24 | 27 |
|
25 | 28 |
// BUILDING TAGS |
26 | 29 |
|
27 |
buildingTags.Add("UV", -2);
|
|
28 |
buildingTags.Add("UU", -2);
|
|
29 |
buildingTags.Add("UK", -2);
|
|
30 |
buildingTags.Add("UL", -2);
|
|
31 |
buildingTags.Add("UP", -2);
|
|
32 |
buildingTags.Add("UF", -2);
|
|
33 |
|
|
30 |
// FST+FEK
|
|
31 |
buildingTags.Add("UV", 0);
|
|
32 |
buildingTags.Add("UU", 0);
|
|
33 |
buildingTags.Add("UK", 0);
|
|
34 |
buildingTags.Add("UL", 0);
|
|
35 |
buildingTags.Add("UP", 0);
|
|
36 |
buildingTags.Add("UF", 0); |
|
34 | 37 |
buildingTags.Add("UT", 0); |
38 |
buildingTags.Add("UH", 0); |
|
39 |
buildingTags.Add("UD", 0); |
|
40 |
buildingTags.Add("UX", 0); |
|
35 | 41 |
|
36 |
buildingTags.Add("EU", 2); |
|
37 |
buildingTags.Add("EK", 2); |
|
38 |
buildingTags.Add("EL", 2); |
|
39 |
buildingTags.Add("EP", 2); |
|
40 |
buildingTags.Add("ES", 2); |
|
41 |
buildingTags.Add("ET", 2); |
|
42 |
buildingTags.Add("EH", 2); |
|
43 |
buildingTags.Add("EZ", 2); |
|
42 |
// FDU |
|
43 |
buildingTags.Add("LS", 1); |
|
44 | 44 |
|
45 |
buildingTags.Add("LS", 3); |
|
45 |
// FAV |
|
46 |
buildingTags.Add("UN", 2); |
|
47 |
buildingTags.Add("UC", 2); |
|
48 |
buildingTags.Add("US", 2); |
|
46 | 49 |
|
47 |
buildingTags.Add("JJ", 4); |
|
48 |
buildingTags.Add("RJ", 4); |
|
49 |
buildingTags.Add("RS", 4); |
|
50 |
buildingTags.Add("SP", 4); |
|
51 |
buildingTags.Add("SD", 4); |
|
52 |
buildingTags.Add("ST", 4); |
|
53 |
buildingTags.Add("SO", 4); |
|
50 |
// FEL |
|
51 |
buildingTags.Add("EU", 3); |
|
52 |
buildingTags.Add("EK", 3); |
|
53 |
buildingTags.Add("EL", 3); |
|
54 |
buildingTags.Add("EP", 3); |
|
55 |
buildingTags.Add("ES", 3); |
|
56 |
buildingTags.Add("ET", 3); |
|
57 |
buildingTags.Add("EH", 3); |
|
58 |
buildingTags.Add("EZ", 3); |
|
54 | 59 |
|
55 |
buildingTags.Add("CH", 5); |
|
56 |
buildingTags.Add("VC", 5); |
|
57 |
buildingTags.Add("KL", 5); |
|
60 |
// REK |
|
61 |
buildingTags.Add("UR", 4); |
|
58 | 62 |
|
59 |
buildingTags.Add("CD", 6); |
|
63 |
// MENZA |
|
64 |
// 5 |
|
60 | 65 |
|
61 |
buildingTags.Add("HJ", 7);
|
|
62 |
buildingTags.Add("DD", 7);
|
|
66 |
// LIB
|
|
67 |
buildingTags.Add("UB", 6);
|
|
63 | 68 |
|
64 |
buildingTags.Add("UN", 8); |
|
65 |
buildingTags.Add("UC", 8); |
|
66 |
buildingTags.Add("US", 8); |
|
69 |
// CIV |
|
70 |
buildingTags.Add("UI", 7); |
|
67 | 71 |
|
68 |
buildingTags.Add("PC", 9);
|
|
69 |
buildingTags.Add("PS", 9);
|
|
72 |
// UNI14
|
|
73 |
buildingTags.Add("UT", 8);
|
|
70 | 74 |
|
71 |
buildingTags.Add("UI", -1);
|
|
72 |
buildingTags.Add("UB", -1);
|
|
75 |
// DOM
|
|
76 |
buildingTags.Add("DD", 9);
|
|
73 | 77 |
|
74 |
// JIS PLACES |
|
78 |
// HUS |
|
79 |
buildingTags.Add("HJ", 10); |
|
75 | 80 |
|
76 |
jisPlaces.Add("A1", -1); |
|
77 |
jisPlaces.Add("A2-Hlavni vchod", -1); |
|
78 |
jisPlaces.Add("A3", -1); |
|
79 |
jisPlaces.Add("B3-LEVY", -1); |
|
80 |
jisPlaces.Add("M16", -1); |
|
81 |
jisPlaces.Add("M14", -1); |
|
82 |
jisPlaces.Add("L1", -1); |
|
83 |
jisPlaces.Add("L2", -1); |
|
84 |
jisPlaces.Add("L1L2-vchod", -1); |
|
85 |
jisPlaces.Add("Zavora-Kaplirova", -1); |
|
86 |
jisPlaces.Add("KolaBory-vnejsi", -1); |
|
87 |
jisPlaces.Add("KolaBory-vnitrni", -1); |
|
88 |
jisPlaces.Add("Parkoviste-vjezd", -1); |
|
89 |
jisPlaces.Add("Parkoviste-vyjezd", -1); |
|
90 |
jisPlaces.Add("B3-kolarna", -1); |
|
91 |
jisPlaces.Add("MenzaKL-vydej", -1); |
|
92 |
jisPlaces.Add("Menza4-kasa1", -1); |
|
93 |
jisPlaces.Add("Menza4-kasa2", -1); |
|
94 |
jisPlaces.Add("Menza4-kasa3", -1); |
|
95 |
jisPlaces.Add("Menza4-kasa4", -1); |
|
96 |
jisPlaces.Add("Menza4-kasa5", -1); |
|
97 |
jisPlaces.Add("Menza-kasa-1", -1); |
|
98 |
jisPlaces.Add("Menza-kasa-p", -1); |
|
99 |
jisPlaces.Add("Menza1-kasa-p", -1); |
|
100 |
jisPlaces.Add("Menza1-kasa-l", -1); |
|
101 |
jisPlaces.Add("STUD_UB113", -1); |
|
102 |
jisPlaces.Add("STUD_UB211", -1); |
|
103 |
|
|
104 |
jisPlaces.Add("Zavora-FEL", 2); |
|
105 |
jisPlaces.Add("US 005 - závora vjezd", 8); |
|
106 |
jisPlaces.Add("US 005 - mříž vjezd", 8); |
|
107 |
jisPlaces.Add("Zavora-NTIS-vjezd", 8); |
|
108 |
jisPlaces.Add("Zavora-NTIS-vyjezd", 8); |
|
109 |
jisPlaces.Add("EXT/kola-B", 8); |
|
110 |
jisPlaces.Add("NTIS-BUFET", 8); |
|
111 |
|
|
112 |
jisPlaces.Add("Zavora-FDU", 3); |
|
113 |
|
|
114 |
jisPlaces.Add("VC-VJEZD", 5); |
|
115 |
jisPlaces.Add("VC-VYJEZD", 5); |
|
116 |
jisPlaces.Add("STUD_VC53", 5); |
|
117 |
jisPlaces.Add("STUD_KL20", 5); |
|
118 |
jisPlaces.Add("STUD_KL87", 5); |
|
81 |
// CHOD |
|
82 |
buildingTags.Add("CH", 11); |
|
119 | 83 |
|
120 |
jisPlaces.Add("EXT/kola", 0); |
|
84 |
// JUNG |
|
85 |
buildingTags.Add("JJ", 12); |
|
121 | 86 |
|
122 |
jisPlaces.Add("EP-BUFET", 2); |
|
87 |
// KLAT |
|
88 |
buildingTags.Add("KL", 13); |
|
123 | 89 |
|
124 |
jisPlaces.Add("UV1-Bufet", 1); |
|
90 |
// KOLL |
|
91 |
buildingTags.Add("KO", 14); |
|
125 | 92 |
|
126 |
jisPlaces.Add("STUD_CHEB", 6); |
|
93 |
// RIEG |
|
94 |
buildingTags.Add("RJ", 15); |
|
95 |
buildingTags.Add("RS", 15); |
|
127 | 96 |
|
128 |
jisPlaces.Add("STUD_PRA1", 9); |
|
97 |
// SADY |
|
98 |
buildingTags.Add("PC", 16); |
|
99 |
buildingTags.Add("PS", 16); |
|
100 |
|
|
101 |
// SED+VEL |
|
102 |
buildingTags.Add("SP", 17); |
|
103 |
buildingTags.Add("SD", 17); |
|
104 |
buildingTags.Add("ST", 17); |
|
105 |
buildingTags.Add("SO", 17); |
|
106 |
buildingTags.Add("VC", 17); |
|
107 |
|
|
108 |
// TES |
|
109 |
buildingTags.Add("T", 18); |
|
110 |
buildingTags.Add("TF", 18); |
|
111 |
buildingTags.Add("TG", 18); |
|
112 |
buildingTags.Add("TH", 18); |
|
129 | 113 |
|
114 |
// TYL |
|
115 |
buildingTags.Add("TY", 19); |
|
116 |
buildingTags.Add("TS", 19); |
|
117 |
|
|
118 |
|
|
119 |
// JIS PLACES |
|
120 |
|
|
121 |
jisPlaces.Add("A1", 20); |
|
122 |
jisPlaces.Add("A2-Hlavni vchod", 20); |
|
123 |
jisPlaces.Add("A2", 20); |
|
124 |
jisPlaces.Add("A3", 20); |
|
125 |
jisPlaces.Add("B3", 21); |
|
126 |
jisPlaces.Add("B3-LEVY", 21); |
|
127 |
jisPlaces.Add("B3-LevyVytah", 21); |
|
128 |
jisPlaces.Add("B3-PRAVY", 21); |
|
129 |
jisPlaces.Add("B3-PravyVytah", 21); |
|
130 |
jisPlaces.Add("M16", 21); |
|
131 |
jisPlaces.Add("M14", 21); |
|
132 |
jisPlaces.Add("L1", 22); |
|
133 |
jisPlaces.Add("L2", 22); |
|
134 |
jisPlaces.Add("L1L2-vchod", 22); |
|
135 |
jisPlaces.Add("L-Posilovna", 22); |
|
136 |
jisPlaces.Add("K1", 23); |
|
137 |
jisPlaces.Add("KL-Posilovna", 23); |
|
138 |
|
|
139 |
jisPlaces.Add("MenzaKL-vydej", 5); |
|
140 |
jisPlaces.Add("Menza4-kasa1", 5); |
|
141 |
jisPlaces.Add("Menza4-kasa2", 5); |
|
142 |
jisPlaces.Add("Menza4-kasa3", 5); |
|
143 |
jisPlaces.Add("Menza4-kasa4", 5); |
|
144 |
jisPlaces.Add("Menza4-kasa5", 5); |
|
145 |
jisPlaces.Add("Menza-kasa-1", 5); |
|
146 |
jisPlaces.Add("Menza-kasa-p", 5); |
|
147 |
jisPlaces.Add("Menza1-kasa-p", 5); |
|
148 |
jisPlaces.Add("Menza1-kasa-l", 5); |
|
149 |
|
|
150 |
jisPlaces.Add("NTIS-BUFET", 2); |
|
151 |
jisPlaces.Add("EP-BUFET", 3); |
|
152 |
jisPlaces.Add("UV1-Bufet", 0); |
|
153 |
|
|
154 |
// bikes |
|
155 |
jisPlaces.Add("EXT/kola-B", 2); |
|
156 |
jisPlaces.Add("EXT/kola", 0); |
|
157 |
jisPlaces.Add("B3-kolarna", 21); |
|
158 |
jisPlaces.Add("KolaBory-vnejsi", 0); |
|
159 |
jisPlaces.Add("KolaBory-vnitrni", 0); |
|
160 |
|
|
161 |
// |
|
162 |
jisPlaces.Add("Parkoviste-vjezd", -1); |
|
163 |
jisPlaces.Add("Parkoviste-vyjezd", -1); |
|
164 |
jisPlaces.Add("VC-VJEZD", 17); |
|
165 |
jisPlaces.Add("VC-VYJEZD", 17); |
|
166 |
|
|
167 |
// |
|
168 |
//jisPlaces.Add("Zavora-Kaplirova", ); |
|
169 |
jisPlaces.Add("Zavora-FEL", 3); |
|
170 |
jisPlaces.Add("US 005 - závora vjezd", 2); |
|
171 |
jisPlaces.Add("US 005 - mříž vjezd", 2); |
|
172 |
jisPlaces.Add("Zavora-NTIS-vjezd", 2); |
|
173 |
jisPlaces.Add("Zavora-NTIS-vyjezd", 2); |
|
174 |
jisPlaces.Add("Zavora-FDU", 1); |
|
175 |
|
|
176 |
// Studies |
|
177 |
jisPlaces.Add("STUD_UB113", 6); |
|
178 |
jisPlaces.Add("STUD_UB211", 6); |
|
179 |
jisPlaces.Add("STUD_VC53", 17); |
|
180 |
jisPlaces.Add("STUD_KL20", 13); |
|
181 |
jisPlaces.Add("STUD_KL87", 13); |
|
182 |
//jisPlaces.Add("STUD_CHEB", ); |
|
183 |
jisPlaces.Add("STUD_PRA1", 9); |
|
130 | 184 |
jisPlaces.Add("STUD_ST407", 4); |
131 | 185 |
} |
132 | 186 |
|
Také k dispozici: Unified diff
re #8682 Changed tags