-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path123456reg.add
More file actions
280 lines (213 loc) · 5.21 KB
/
123456reg.add
File metadata and controls
280 lines (213 loc) · 5.21 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
/* BEGIN GEGENEREERDE HEADER */
/* REGEL BESTAND, GEBRUIKERS TOEVOEGINGEN */
/* --------------------------------------------------- */
/* KRUISPUNT: 123456
123456
123456
123456
BESTAND: 123456reg.add
CCOL: 12.0
TLCGEN: 12.4.0.19
CCOLGEN: 12.4.0.19
*/
/****************************** Versie commentaar ***********************************
*
* Versie Datum Ontwerper Commentaar
*
************************************************************************************/
/* EINDE GEGENEREERDE HEADER */
#ifndef AUTOMAAT
FILE* fpt;
#endif
#ifdef CCOL_IS_SPECIAL
void SpecialSignals_Add(void)
{
}
#endif
void post_init_application()
{
#ifndef AUTOMAAT
//int i;
// fpt = fopen("MyFile.csv", "w");
// if (fpt)
// {
// for (i = 0; i < FCMAX; ++i)
// {
// fprintf(fpt, "%4s,", FC_code[i]);
// }
// fprintf(fpt, " prio02,");
// fprintf(fpt, " prio03,");
// fprintf(fpt, " prio05,");
// fprintf(fpt, " prio08,");
// fprintf(fpt, " prio09,");
// fprintf(fpt, " prio11,");
// fprintf(fpt, " hd02,");
// fprintf(fpt, " hd03,");
// fprintf(fpt, " hd05,");
// fprintf(fpt, " hd08,");
// fprintf(fpt, " hd09,");
// fprintf(fpt, " hd11,");
// fprintf(fpt, " fietsprio22,");
// fprintf(fpt, " fietsprio28,");
// fprintf(fpt, " uswtv24,");
// fprintf(fpt, "\n");
// }
#ifndef DUURTEST
stuffkey(F2KEY);
stuffkey(CTRLALTF3KEY);
#endif
#endif
}
void PreApplication_Add(void)
{
}
void KlokPerioden_Add(void)
{
}
void Aanvragen_Add(void)
{
}
void Maxgroen_Add(void)
{
}
boolv CorrectieRealisatieTijd_Add(void)
{
/* let op! deze functie wordt in een loop aangeroepen (max. 100 iteraties). */
boolv aanpassing = FALSE;
/* Voeg hier zonodig eigen code toe, bijv:
* aanpassing |= VTG2_Real_Los(fc32, fc31, T_max[tinl3231], T_max[tinl3132], hinl32, hinl31, hlos32, hlos31, (IH[hdrtk311] && IH[hdrtk321]));
* aanpassing |= VTG2_Real_Los(fc31, fc32, T_max[tinl3132], T_max[tinl3231], hinl31, hinl32, hlos31, hlos32, (IH[hdrtk311] && IH[hdrtk321]));
*/
return aanpassing;
}
void BepaalRealisatieTijden_Add(void)
{
}
void Wachtgroen_Add(void)
{
}
void Meetkriterium_Add(void)
{
}
void Meeverlengen_Add(void)
{
}
void Synchronisaties_Add(void)
{
}
void VersneldPrimair_Add(void)
{
}
void Alternatief_Add(void)
{
}
void Modules_Add(void)
{
}
void RealisatieAfhandeling_Add(void)
{
}
void FileVerwerking_Add(void)
{
}
void DetectieStoring_Aanvraag_Add(void)
{
}
void DetectieStoring_Meetkriterium_Add(void)
{
}
void DetectieStoring_VerlengGroen_Add(void)
{
}
void PostApplication_Add(void)
{
#ifndef AUTOMAAT
// count x;
// count prio;
// if (TS)
// {
// //fpt = fopen("MyFile.csv", "a");
// for (prio = 0; prio < prioFCMAX; ++prio)
// {
// x = iFC_PRIOix[prio];
// if (iPrioriteit[prio] && (iStartGroen[prio] < twacht[x])) twacht[x] = iStartGroen[prio];
// }
//
// if (fpt)
// {
// for (x = 0; x < FCMAX; ++x)
// {
// fprintf(fpt, "%4d,", ((twacht_AR[x] >= 0) && (twacht_AR[x] < twacht[x])) ? twacht_AR[x] : twacht[x] * (A[x] != 0 || PRIOFC[x]) * R[x]);
// }
// fprintf(fpt, "%7d,", (H[hprio02karbus]) * 50);
// fprintf(fpt, "%7d,", (H[hprio03karbus]) * 50);
// fprintf(fpt, "%7d,", (H[hprio05karbus]) * 50);
// fprintf(fpt, "%7d,", (H[hprio08karbus]) * 50);
// fprintf(fpt, "%7d,", (H[hprio09karbus]) * 50);
// fprintf(fpt, "%7d,", (H[hprio11karbus]) * 50);
// fprintf(fpt, "%7d,", (H[hhd02]) * 50);
// fprintf(fpt, "%7d,", (H[hhd03]) * 50);
// fprintf(fpt, "%7d,", (H[hhd05]) * 50);
// fprintf(fpt, "%7d,", (H[hhd08]) * 50);
// fprintf(fpt, "%7d,", (H[hhd09]) * 50);
// fprintf(fpt, "%7d,", (H[hhd11]) * 50);
// fprintf(fpt, "%7d,", (H[hprio22fiets]) * 50);
// fprintf(fpt, "%7d,", (H[hprio28fiets]) * 50);
// fprintf(fpt, "%7d,", CIF_GUS[uswtv24] & ~BIT8);
// fprintf(fpt, "\n");
// }
// //fclose(fpt);
// }
#endif
#if (!defined AUTOMAAT && !defined AUTOMAAT_TEST && !defined VISSIM)
if (TS &&
(CIF_KLOK[CIF_JAAR] == 2099) &&
(CIF_KLOK[CIF_MAAND] == 1) &&
(CIF_KLOK[CIF_DAG] == 1) &&
(CIF_KLOK[CIF_UUR] == 15) &&
(CIF_KLOK[CIF_MINUUT] == 14) &&
(CIF_KLOK[CIF_SECONDE] == 23))
{
//stuffkey(F2KEY);
stuffkey(F5KEY);
SCH[schisgdebug] = 1;
//stuffkey(F4KEY);
//stuffkey(F10KEY);
}
#endif
}
void WachttijdvoorspellersWachttijd_Add(void)
{
}
void pre_system_application(void)
{
}
void post_system_application(void)
{
}
void post_system_application2(void)
{
}
void pre_msg_fctiming()
{
}
void post_dump_application(void)
{
}
void BepaalInterStartGroenTijden_Add(void)
{
}
boolv Correctie_TISG_add(void)
{
return FALSE;
}
boolv Correctie_InterStartGroentijdTijd_PRIO_Add(void)
{
return FALSE;
}
void max_wachttijd_modulen_primair_ISG_Add(void)
{
}
void AlternatiefOngecoordineerd_Add(void)
{
}