Commit f0af5e68 authored by Eric Tobias's avatar Eric Tobias
Browse files

Added initial configuration file for food scenario

parent 2e3ac759
<?xml version="1.0" encoding="UTF-8"?>
<scenario>
<scenes>
<scene>
<name>Background</name>
<image>assets/floorplan1.png</image>
<triggerCondition>true</triggerCondition>
</scene>
</scenes>
<objects>
<object>
<type>ValueWidget</type>
<handles>
<handle>1</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>1</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>1</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Beef</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Beef</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>2</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>2</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>2</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Chicken</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Chicken</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>3</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>3</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>3</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Fish</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>1</stepSize>
<variable>
<name>Fish</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>4</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>4</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>4</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Eggs</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Eggs</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>5</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>5</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>5</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Pineapple</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Pineapple</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>6</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>6</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>6</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Apple</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Apple</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>7</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>7</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>7</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Carrot</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Carrot</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>8</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>8</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>8</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Pasta</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Pasta</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>9</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>9</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>9</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<centred>true</centred>
<text>Banana</text>
</corona>
</coronas>
<name>Bread</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1000</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>10</stepSize>
<variable>
<name>Bread</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>True</modifyValueOnRotation>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>10</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>10</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>10</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<rotateWithHandle>false</rotateWithHandle>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<text>Banana</text>
</corona>
</coronas>
<name>Kalories</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>1</stepSize>
<variable>
<name>Kalories</name>
<unit>kcal</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>False</modifyValueOnRotation>
<dynamic>true</dynamic>
</object>
<object>
<type>ValueWidget</type>
<handles>
<handle>11</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>11</handle>
<centre>
<x>0</x>
<y>0</y>
<z>0</z>
</centre>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>11</handle>
<centre>
<x>50</x>
<y>50</y>
<z>0</z>
</centre>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<rotateWithHandle>false</rotateWithHandle>
<text>Banana</text>
</corona>
</coronas>
<name>CO2</name>
<definingShape></definingShape>
<networkAdapter></networkAdapter>
<lowerBound>0</lowerBound>
<upperBound>1</upperBound>
<lowerStopAngle>0</lowerStopAngle>
<upperStopAngle>6.28318530718</upperStopAngle>
<stepSize>1</stepSize>
<variable>
<name>CO2</name>
<unit>gr</unit>
<value>0</value>
</variable>
<modifyValueOnRotation>False</modifyValueOnRotation>
<dynamic>true</dynamic>
</object>
</objects>
<system>
<outputs>
<output name="Kalories" unit="kcal" />
<output name="CO2" unit="gr" />
</outputs>
<equations>
<equation name="Kalories Consumed">
<parameters>
<parameter name="Beef" unit="gr"/>
<parameter name="Chicken" unit="gr"/>
<parameter name="Fish" unit="gr"/>
<parameter name="Eggs" unit="gr"/>
<parameter name="Pineapple" unit="gr"/>
<parameter name="Apple" unit="gr"/>
<parameter name="Carrot" unit="gr"/>
<parameter name="Pasta" unit="gr"/>
<parameter name="Bread" unit="gr"/>
</parameters>
<invoke>2.73*Beef + 1.91*Chicken + 1.33*Fish + 1.51*Eggs + 0.51*Pineapple + 0.52*Apple + 0.31*Carrot + 3.75*Pasta + 2.51*Bread</invoke>
<results>
<result name="Kalories" />
</results>
</equation>
<equation name="CO2 Emissions">
<parameters>
<parameter name="Beef" unit="gr"/>
<parameter name="Chicken" unit="gr"/>
<parameter name="Fish" unit="gr"/>
<parameter name="Eggs" unit="gr"/>
<parameter name="Pineapple" unit="gr"/>
<parameter name="Apple" unit="gr"/>
<parameter name="Carrot" unit="gr"/>
<parameter name="Pasta" unit="gr"/>