equal
deleted
inserted
replaced
|
1 #include "iec_types_all.h" |
|
2 #include "POUS.h" |
|
3 #include "config.h" |
|
4 #include "beremiz.h" |
1 |
5 |
2 void test_me(void){ |
6 %(extern_variables_declarations)s |
3 /* |
7 |
4 %(hmi_tree)s |
8 typedef const struct { |
5 */ |
9 void *ptr; |
6 return; |
10 __IEC_types_enum type; |
|
11 /* TODO : w/r buffer, flags, locks */ |
|
12 } hmi_tree_item_t; |
|
13 |
|
14 static hmi_tree_item_t hmi_tree_item[] = { |
|
15 %(variable_decl_array)s |
|
16 }; |
|
17 |
|
18 int __init_svghmi() |
|
19 { |
|
20 %(varinit)s |
|
21 return 0; |
7 } |
22 } |
|
23 |
|
24 void __cleanup_svghmi() |
|
25 { |
|
26 } |
|
27 |
|
28 void __retrieve_svghmi() |
|
29 { |
|
30 %(varret)s |
|
31 } |
|
32 |
|
33 void __publish_svghmi() |
|
34 { |
|
35 %(varpub)s |
|
36 } |
|
37 |