Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
650034a1
Commit
650034a1
authored
Sep 01, 2020
by
Maxime Perrotin
Browse files
support type/instances
parent
3ce8411a
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/AdaGenerator.py
View file @
650034a1
...
...
@@ -175,7 +175,7 @@ def _process(process, simu=False, instance=False, taste=False, **kwargs):
# First copy the list of timers to the instance (otherwise the
# instance would miss some PIs and RIs to set the actual timers)
process_instance
.
timers
=
process
.
timers
generate
(
process_instance
,
simu
,
instance
=
True
)
generate
(
process_instance
,
simu
,
instance
=
True
,
taste
=
taste
)
global
TYPES
TYPES
=
process
.
dataview
...
...
@@ -535,7 +535,7 @@ package body {process_name} is'''
f
"use
{
process_name
}
_Datamodel;"
)
\
if
not
import_context
and
not
instance
else
""
imp_ri
=
f
"with
{
process_name
}
_RI;"
if
not
simu
else
""
imp_ri
=
f
"with
{
process_name
}
_RI;"
if
not
simu
and
not
generic
else
""
ads_template
=
[
f
'''
\
-- This file was generated automatically by OpenGEODE: DO NOT MODIFY IT !
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment