strolch/service/src/test/resources/svctest/data/Resources.xml

126 lines
6.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<StrolchModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://strolch.li/schema/StrolchModel.xsd"
xsi:schemaLocation="https://strolch.li/schema/StrolchModel.xsd https://strolch.li/xsd/StrolchModel-2.0.xsd">
<Resource Id="Facility" Name="Hospital" Type="Location">
<ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
<Parameter Id="productionMode" Name="ProductionMode" Type="String" Value="auto"/>
</ParameterBag>
<ParameterBag Id="relations" Name="Relations" Type="Parameters">
<Parameter Id="parent" Name="Parent" Interpretation="Resource-Ref" Uom="Location" Type="String" Value=""/>
</ParameterBag>
</Resource>
<Resource Id="BlockA" Name="BlockA" Type="Location">
<ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
<Parameter Id="productionMode" Name="ProductionMode" Type="String" Value="semi-auto"/>
</ParameterBag>
<ParameterBag Id="relations" Name="Relations" Type="Parameters">
<Parameter Id="parent" Name="Parent" Interpretation="Resource-Ref" Uom="Location" Type="String" Value="Facility"/>
</ParameterBag>
</Resource>
<Resource Id="BlockA.1" Name="BlockA.1" Type="Location">
<ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
</ParameterBag>
<ParameterBag Id="relations" Name="Relations" Type="Parameters">
<Parameter Id="parent" Name="Parent" Interpretation="Resource-Ref" Uom="Location" Type="String" Value="BlockA"/>
</ParameterBag>
</Resource>
<Resource Id="BlockA.2" Name="BlockA.2" Type="Location">
<ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
<Parameter Id="productionMode" Name="ProductionMode" Type="String" Value="manual"/>
</ParameterBag>
<ParameterBag Id="relations" Name="Relations" Type="Parameters">
<Parameter Id="parent" Name="Parent" Interpretation="Resource-Ref" Uom="Location" Type="String" Value="BlockA"/>
</ParameterBag>
</Resource>
<Resource Id="BlockB" Name="Hospital" Type="Location">
<ParameterBag Id="relations" Name="Relations" Type="Parameters">
<Parameter Id="parent" Name="Parent" Interpretation="Resource-Ref" Uom="Location" Type="String" Value="Facility"/>
</ParameterBag>
</Resource>
<Resource Id="BlockB.1" Name="Hospital" Type="Location">
<ParameterBag Id="relations" Name="Relations" Type="Parameters">
<Parameter Id="parent" Name="Parent" Interpretation="Resource-Ref" Uom="Location" Type="String" Value="BlockB"/>
</ParameterBag>
</Resource>
<Resource Id="yellow" Name="Yellow Ball" Type="Ball">
<ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
<Parameter Id="owner" Name="Owner" Type="String" Value="eitch"/>
</ParameterBag>
<ParameterBag Id="something" Name="Something" Type="Something"/>
<TimedState Id="@state1" Name="State" Type="Float"/>
<TimedState Id="@state2" Name="State" Type="Float">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="0.0"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="1.0"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="2.0"/>
<Value Time="1970-01-01T00:03:00.000+01:00" Value="1.0"/>
</TimedState>
<TimedState Id="@state3" Name="State" Type="Integer"/>
<TimedState Id="@state4" Name="State" Type="Integer">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="0"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="1"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="2"/>
<Value Time="1970-01-01T00:03:00.000+01:00" Value="1"/>
</TimedState>
<TimedState Id="@state5" Name="State" Type="Boolean"/>
<TimedState Id="@state6" Name="State" Type="Boolean">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="false"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="true"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="false"/>
<Value Time="1970-01-01T00:03:00.000+01:00" Value="true"/>
</TimedState>
</Resource>
<Resource Id="something" Name="Something" Type="Something"/>
<Resource Id="bicycle" Name="Bicycle" Type="Product">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
<Resource Id="article1" Name="Article 1" Type="Article">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
<Resource Id="article2" Name="Article 2" Type="Article">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
<Resource Id="article3" Name="Article 3" Type="Article">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
<Resource Id="conveyor1" Name="Conveyor 1" Type="Conveyor">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
<Resource Id="conveyor2" Name="Conveyor 2" Type="Conveyor">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
<Resource Id="conveyor3" Name="Conveyor 3" Type="Conveyor">
<TimedState Id="quantity" Name="Quantity" Type="Integer"/>
<Policies>
<Policy Type="ExecutionPolicy" Value="java:li.strolch.execution.policy.DurationExecution"/>
</Policies>
</Resource>
</StrolchModel>