Commit 8065092f authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

update space-creator files

parent e566bfc0
Pipeline #3755 passed with stage
in 32 minutes and 25 seconds
<Attrs>
<Attr name="name">
<Attr label="Name" name="name">
<Type>
<String defaultValue="AAAA" validator="[a-zA-Z0-9_]+"/>
</Type>
<Scopes/>
</Attr>
<Attr name="language">
<Attr label="Implementation language" name="language">
<Scopes>
<Function/>
</Scopes>
......@@ -22,7 +22,7 @@
</Enumeration>
</Type>
</Attr>
<Attr name="is_type">
<Attr label="Function Type" name="is_type">
<Type>
<Enumeration>
<Entry value="YES"/>
......@@ -33,7 +33,7 @@
<Function/>
</Scopes>
</Attr>
<Attr name="instance_of">
<Attr label="Instance of" name="instance_of">
<Type>
<String validator="[a-zA-Z0-9_]+"/>
</Type>
......@@ -43,7 +43,7 @@
</Function>
</Scopes>
</Attr>
<Attr name="kind">
<Attr label="Kind" name="kind">
<Scopes>
<Required_Interface/>
<Provided_Interface/>
......@@ -57,42 +57,46 @@
</Enumeration>
</Type>
</Attr>
<Attr name="period">
<Attr label="Period (in ms)" name="period">
<Type>
<String validator="\\d+"/>
<String validator="\d+"/>
</Type>
<Scopes>
<Required_Interface>
<AttrValidator name="kind" value="Cyclic"/>
</Required_Interface>
<Provided_Interface>
<AttrValidator name="kind" value="Cyclic"/>
</Provided_Interface>
</Scopes>
</Attr>
<Attr name="wcet">
<Attr label="Minimal inter-arrival time (in ms)" name="miat">
<Type>
<String validator="\\d+"/>
<String validator="\d+"/>
</Type>
<Scopes>
<Required_Interface>
<AttrValidator name="kind" value="Cyclic"/>
</Required_Interface>
<Provided_Interface>
<AttrValidator name="kind" value="Cyclic"/>
<AttrValidator name="kind" value="Sporadic"/>
</Provided_Interface>
</Scopes>
</Attr>
<Attr name="queue_size">
<Attr label="Worse case execution time (in ms)" name="wcet">
<Type>
<String validator="\\d+"/>
<String validator="\d+"/>
</Type>
<Scopes>
<Required_Interface>
<Provided_Interface>
<AttrValidator name="kind" value="Cyclic"/>
</Required_Interface>
<AttrValidator name="kind" value="Sporadic"/>
<AttrValidator name="kind" value="Protected"/>
<AttrValidator name="kind" value="Unprotected"/>
</Provided_Interface>
</Scopes>
</Attr>
<Attr label="Message queue size" name="queue_size">
<Type>
<String validator="\d+"/>
</Type>
<Scopes>
<Provided_Interface>
<AttrValidator name="kind" value="Cyclic"/>
<AttrValidator name="kind" value="Sporadic"/>
</Provided_Interface>
</Scopes>
</Attr>
......
......@@ -6,7 +6,7 @@
"color_type": 0,
"fill_type": 1,
"group": "IVE",
"pen_color": "#ff000000",
"pen_color": "#ff999999",
"pen_width": 1
},
{
......@@ -33,7 +33,7 @@
"color_type": 3,
"fill_type": 1,
"group": "IVE",
"pen_color": "#ff000000",
"pen_color": "#ff999999",
"pen_width": 1
},
{
......@@ -60,7 +60,7 @@
"color_type": 6,
"fill_type": 0,
"group": "IVE",
"pen_color": "#ff00007f",
"pen_color": "#ff595050",
"pen_width": 2
},
{
......
......@@ -100,6 +100,10 @@ PROPERTIES
Source_Language => ({{ attr.value }});
{% elif attr.name == "is_type" %}
TASTE::Is_Component_Type => {% if attr.value == "YES" %}true{% else %}false{% endif %};
{% elif attr.name == "instance_of" %}
TASTE_IV_Properties::is_instance_of => "{{ attr.value }}";
{% else %}
-- unsupported property found: name: "{{ attr.name }}" value: "{{ attr.value }}"
{% endif %}
{% endfor %}
END {{ func.name }};
......
......@@ -66,9 +66,7 @@ END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
Node_Linux : SYSTEM Node_Linux.others {
Taste::coordinates => "114754 39152 169951 82490";
};
Node_Linux : SYSTEM Node_Linux.others;
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
END deploymentview.others;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment