SMP2Taste.cat 12.9 KB
Newer Older
Jerome Legrand's avatar
Jerome Legrand committed
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
<?xml version="1.0" encoding="UTF-8"?>
<Catalogue:Catalogue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Catalogue="http://www.esa.int/2005/10/Smdl/Catalogue" xmlns:Types="http://www.esa.int/2005/10/Core/Types" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="TasteDemo" Name="TasteDemo" Creator="htp" Date="2012-02-02T09:26:40.909Z" Version="1.0">
  <Description>Catalogues for the TASTE Demo</Description>
  <Namespace Id="ID_979dcc7c-17b7-45e3-86de-290becab39e4" Name="Simulink">
    <Description>Simulink models</Description>
    <Type xsi:type="Catalogue:Model" Id="ID_74b9c7c4-23a5-4274-b4b4-81c2a3c9c209" Name="MySimulink" Visibility="public">
      <Description></Description>
      <Uuid>74b9c7c4-23a5-4274-b4b4-81c2a3c9c209</Uuid>
      <Interface xlink:title="Interface IAddValue" xlink:href="#ID_b634e669-5488-434e-961a-5ea5f0af9cc5"/>
      <EventSink Id="ID_ff17f979-128d-46b9-943b-3dce27d83ecb" Name="EvtSnkAddValue">
        <Description>Sink for triggering the AddValue function</Description>
        <Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
      </EventSink>
      <EventSource Id="ID_b4f6f940-51ba-433d-8a0b-c91a8f2ea64f" Name="EvtSrcAddValueResult">
        <Description>Source for providing the AddValue result</Description>
        <Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
      </EventSource>
      <Field Id="ID_b1ab73b7-1adc-46ef-8679-8731883c7d00" Name="tunable" Visibility="private" Input="true">
        <Description>Tunable parameter</Description>
        <Type xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
        <Default xsi:type="Types:SimpleValue">
          <Value xsi:type="xsd:double">42.0</Value>
        </Default>
      </Field>
      <Field Id="ID_3b0fa88a-b033-4343-a142-f34003cfe740" Name="result" Visibility="private" Output="true">
        <Description></Description>
        <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
        <Default xsi:type="Types:SimpleValue">
          <Value xsi:type="xsd:double">0.0</Value>
        </Default>
      </Field>
    </Type>
  </Namespace>
  <Namespace Id="ID_199ecd3e-80a2-472d-b23e-fa3fbbfcc5bf" Name="Common">
    <Description>Common types</Description>
    <Type xsi:type="Types:Float" Id="ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370" Name="MyReal" Visibility="public" Maximum="1000.0" Minimum="0.0">
      <Description>Real number in the range [0-1000]</Description>
      <Uuid>a71e9e26-2d3b-47e3-9426-1f0c7a2be370</Uuid>
      <PrimitiveType xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
    </Type>
    <Type xsi:type="Catalogue:Interface" Id="ID_b634e669-5488-434e-961a-5ea5f0af9cc5" Name="IAddValue" Visibility="public">
      <Description>For adding values</Description>
      <Uuid>b634e669-5488-434e-961a-5ea5f0af9cc5</Uuid>
      <Operation Id="ID_3abfe3f2-b547-42c2-8f50-f929633e498a" Name="AddValue" Visibility="public">
        <Description>Add the given input to the tunable parameter</Description>
        <Parameter Id="ID_38a39995-d39c-4b65-9370-4c73ab63992e" Name="inp">
          <Description>Input</Description>
          <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
          <Default xsi:type="Types:SimpleValue">
            <Value xsi:type="xsd:double">1.0</Value>
          </Default>
        </Parameter>
        <Parameter Id="ID_860ce381-51fa-4c8d-b6cf-9413d23ade9c" Name="outp" Direction="out">
          <Description>Output</Description>
          <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
          <Default xsi:type="Types:SimpleValue">
            <Value xsi:type="xsd:double">1.0</Value>
          </Default>
        </Parameter>
      </Operation>
    </Type>
    <Type xsi:type="Catalogue:Interface" Id="ID_4a038735-604f-4164-998c-8e5922fd0e38" Name="IStartFunction" Visibility="public">
      <Description>Allow to trigger the function to start running</Description>
      <Uuid>4a038735-604f-4164-998c-8e5922fd0e38</Uuid>
      <Operation Id="ID_05fd2f7b-3b0b-449d-8283-5b06116702d8" Name="Run" Visibility="public">
        <Description>Tell it to start running</Description>
        <Parameter Id="ID_56af4773-624d-457a-a4ea-50a83765769a" Name="initialValue">
          <Description></Description>
          <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
          <Default xsi:type="Types:SimpleValue">
            <Value xsi:type="xsd:double">10.0</Value>
          </Default>
        </Parameter>
      </Operation>
    </Type>
    <Type xsi:type="Catalogue:EventType" Id="ID_da974620-4f89-437c-8c54-395fd95ebb77" Name="StartFunction" Visibility="public">
      <Description>Event to trigger a function to start</Description>
      <Uuid>da974620-4f89-437c-8c54-395fd95ebb77</Uuid>
      <EventArgs xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
    </Type>
    <Type xsi:type="Catalogue:EventType" Id="ID_e3870678-8bc9-4316-854a-ab441e6a6dff" Name="Result" Visibility="public">
      <Description>Event for sending the result</Description>
      <Uuid>e3870678-8bc9-4316-854a-ab441e6a6dff</Uuid>
      <EventArgs xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
    </Type>
    <Type xsi:type="Catalogue:Interface" Id="ID_dc2c1443-6a5a-4604-b949-b1ea12c455a9" Name="IResult" Visibility="public">
      <Description>For providing the result</Description>
      <Uuid>dc2c1443-6a5a-4604-b949-b1ea12c455a9</Uuid>
      <Operation Id="ID_66ed5f97-8ef2-4baf-a2be-8ac22943533a" Name="SetResult" Visibility="public">
        <Description>For setting the result</Description>
        <Parameter Id="ID_6673de71-137b-4b6a-9be2-fb91348d7213" Name="result">
          <Description>The result</Description>
          <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
          <Default xsi:type="Types:SimpleValue">
            <Value xsi:type="xsd:double">0.0</Value>
          </Default>
        </Parameter>
      </Operation>
    </Type>
    <Type xsi:type="Catalogue:EventType" Id="ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7" Name="AddValue" Visibility="public">
      <Description>For triggering the AddValue function</Description>
      <Uuid>793da8ec-6535-4f14-bdb8-39cbed58e5c7</Uuid>
      <EventArgs xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
    </Type>
    <Type xsi:type="Catalogue:Model" Id="ID_b65c82e7-e375-4540-bfe9-da79a6db7338" Name="AssemblyModel" Visibility="public">
      <Description>Root model (container)</Description>
      <Uuid>b65c82e7-e375-4540-bfe9-da79a6db7338</Uuid>
      <Container Id="ID_3c6fa9ef-0ff6-4bda-a0bf-50f5848c2376" Name="MdlContainer" Lower="0" Upper="-1">
        <Description>Container of generic models</Description>
        <Type xlink:title="Interface IModel" xlink:href="http://www.esa.int/2005/10/Smp#Smp.IModel"/>
      </Container>
    </Type>
  </Namespace>
  <Namespace Id="ID_33ada973-db39-4dd0-88c9-85160d05c618" Name="Function">
    <Description>Functional models</Description>
    <Type xsi:type="Catalogue:Model" Id="ID_f62728e0-f91d-45b2-b1ad-3e9d0e899543" Name="MyFunction" Visibility="public">
      <Description>A functional model</Description>
      <Uuid>f62728e0-f91d-45b2-b1ad-3e9d0e899543</Uuid>
      <Interface xlink:title="Interface IStartFunction" xlink:href="#ID_4a038735-604f-4164-998c-8e5922fd0e38"/>
      <Reference Id="ID_359b9894-318c-4570-9d0a-84f1ebc51679" Name="RefResult" Lower="0">
        <Description>For sending the result of the function</Description>
        <Interface xlink:title="Interface IResult" xlink:href="#ID_dc2c1443-6a5a-4604-b949-b1ea12c455a9"/>
      </Reference>
      <Reference Id="ID_cf909626-70ea-4174-be97-f69dd2bf79ab" Name="RefAddValue" Lower="0">
        <Description>Reference the AddValue provided interface</Description>
        <Interface xlink:title="Interface IAddValue" xlink:href="#ID_b634e669-5488-434e-961a-5ea5f0af9cc5"/>
      </Reference>
      <EntryPoint Id="ID_5958531d-3b95-48be-8206-eb6fbc39e833" Name="CyclicActivation">
        <Description></Description>
      </EntryPoint>
      <EventSink Id="ID_ad94301d-fb55-4ee5-a27d-6f47cdcc2739" Name="EvtSnkStartFunction">
        <Description>Sink for starting the function</Description>
        <Type xlink:title="EventType StartFunction" xlink:href="#ID_da974620-4f89-437c-8c54-395fd95ebb77"/>
      </EventSink>
      <EventSink Id="ID_878d98b9-61eb-4527-a72b-8ccc2fb1544f" Name="EvtSnkAddValueResult">
        <Description>Sink for receiving the AddValue result</Description>
        <Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
      </EventSink>
      <EventSource Id="ID_9c8368f8-f6e6-441c-b557-da18c827db22" Name="EvtSrcResult">
        <Description>Source for sending the result</Description>
        <Type xlink:title="EventType Result" xlink:href="#ID_e3870678-8bc9-4316-854a-ab441e6a6dff"/>
      </EventSource>
      <EventSource Id="ID_6f0994e0-ca4d-4514-9a3b-5176beea413c" Name="EvtSrcAddValue">
        <Description>Source for triggering the AddValue function</Description>
        <Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
      </EventSource>
      <Field Id="ID_721626ee-011e-4e44-b7cc-4a480f311134" Name="result" Visibility="private" Output="true">
        <Description>Result of the function</Description>
        <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
        <Default xsi:type="Types:SimpleValue">
          <Value xsi:type="xsd:double">0.0</Value>
        </Default>
      </Field>
      <Field Id="ID_97668150-df6f-4e29-92bf-63254c593379" Name="startValue" Visibility="private" Input="true">
        <Description></Description>
        <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
        <Default xsi:type="Types:SimpleValue">
          <Value xsi:type="xsd:double">0.0</Value>
        </Default>
      </Field>
      <Field Id="ID_9a1f1377-a9b3-468d-b607-ef4f9f535b75" Name="started" Visibility="private" Input="false" Output="true">
        <Description>Indication that it has started running</Description>
        <Type xlink:title="PrimitiveType Bool" xlink:href="http://www.esa.int/2005/10/Smp#Bool"/>
        <Default xsi:type="Types:SimpleValue">
          <Value xsi:type="xsd:boolean">false</Value>
        </Default>
      </Field>
    </Type>
  </Namespace>
  <Namespace Id="ID_a4f44615-2e40-4708-ad3f-7f8eeb544ca8" Name="ControlMonitoring">
    <Description>For controlling and monitoring functions</Description>
    <Type xsi:type="Catalogue:Model" Id="ID_d05bc34e-7d85-4c5d-ada6-83ec120ad7e8" Name="OnLinuxGui" Visibility="public">
      <Description>Controller GUI on Linux</Description>
      <Uuid>d05bc34e-7d85-4c5d-ada6-83ec120ad7e8</Uuid>
      <Operation Id="ID_bce9692a-7225-4bb8-aed0-8861d3b78ea5" Name="Run" Visibility="public">
        <Description>Trigger from the user to start running</Description>
        <Parameter Id="ID_e1dbd635-cbfe-49ae-bf95-12b035fb4903" Name="initialValue">
          <Description>Initial value when starting to run</Description>
          <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
          <Default xsi:type="Types:SimpleValue">
            <Value xsi:type="xsd:double">10.0</Value>
          </Default>
        </Parameter>
      </Operation>
      <Interface xlink:title="Interface IResult" xlink:href="#ID_dc2c1443-6a5a-4604-b949-b1ea12c455a9"/>
      <Reference Id="ID_ee4dd288-7ef1-421d-bfd1-909557d9f069" Name="RefStartFunction" Lower="0">
        <Description>Reference to an IStartFunction interface</Description>
        <Interface xlink:title="Interface IStartFunction" xlink:href="#ID_4a038735-604f-4164-998c-8e5922fd0e38"/>
      </Reference>
      <EventSink Id="ID_331b7eaf-440e-4c70-8f64-2e1ac46b2b6e" Name="EvtSnkResult">
        <Description>Sink to receive the result of the AddValue function</Description>
        <Type xlink:title="EventType Result" xlink:href="#ID_e3870678-8bc9-4316-854a-ab441e6a6dff"/>
      </EventSink>
      <EventSource Id="ID_04b0a03e-e487-4317-8cb2-bc2e1ca03360" Name="EvtSrcStartFunction">
        <Description>Source to trigger StartFunction event</Description>
        <Type xlink:title="EventType StartFunction" xlink:href="#ID_da974620-4f89-437c-8c54-395fd95ebb77"/>
      </EventSource>
      <Field Id="ID_8442b86a-cdc0-40b9-a07e-a49c9a5f05ee" Name="result" Visibility="private" Input="true">
        <Description>Read result value</Description>
        <Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
        <Default xsi:type="Types:SimpleValue">
          <Value xsi:type="xsd:double">0.0</Value>
        </Default>
      </Field>
    </Type>
  </Namespace>
</Catalogue:Catalogue>