﻿<?xml version="1.0" encoding="utf-8" ?>
<FusionControlCentreConfiguration version="2.3.0.0" author="Nicholas Vergunst" date_created="Sunday, November 4th, 2007" last_modified="Thursday, December 20th, 2007">
	<require>
		<function file="content\config\Thermometer" id="thermometer"></function>
    <font name="Arial14" originalSize="14" font_config="content\config\fonts\FusionFontArial14.xml"></font>
	</require>
  <general>
    <remote>
      <watch_folder path=""></watch_folder>
    </remote>
  </general>
	<graphics>
		<main_display designed_for_size="800,600" show_at_size="800,600" menubar="fixed"></main_display>
    <background_image style="tile" imagefilepath="images\BMV2_Background.jpg" page="0"></background_image>
    <background_image style="centre" imagefilepath="images\BMV2_Background.jpg" page="1"></background_image>
    <background_image style="stretch" imagefilepath="images\BMV2_Background.jpg" page="2"></background_image>

		<button id="Output1_Button" enabled="no" function="trigger output" functionTargetID="Test Output 1" vote="attached" vote_opinion="on" vote_priority="medium">
			<images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
			<display size="190,50" location="25,25" page="0" z_order="0.0"></display>
      <options imageScaling="stretch"></options>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Test Primary A"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Test Secondary A"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Test Disabled A"></text>
    </button>
    <button id="Output2_Button" enabled="yes" function="trigger output" functionTargetID="Test Output 2" vote="attached" vote_opinion="off" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="225,25" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Test Primary 2 A"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Test Secondary 2 A"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Test Disabled 2 A"></text>
    </button>
    <button id="Enable_Output1" enabled="yes" function="enable or disable" functionTargetID="Output1_Button" vote_opinion="toggle" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button.png" imageSecondary="images\BMV2_Button.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="425,25" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Disable Output 1 Button"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Enable Output 1 Button"></text>
    </button>
    <button id="Output1_ButtonNumber2" enabled="yes" function="trigger output" functionTargetID="Test Output 1" vote="detached" vote_opinion="on" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="25,100" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Test Primary D"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Test Secondary D"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Test Disabled D"></text>
    </button>
    <button id="Output2_ButtonNumber2" enabled="yes" function="trigger output" functionTargetID="Test Output 2" vote="detached" vote_opinion="on" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="225,100" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Test Primary 2 D"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Test Secondary 2 D"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Test Disabled 2 D"></text>
    </button>
    <button id="Output1_ButtonNumber3" enabled="yes" function="trigger output" functionTargetID="Test Output 1" vote="detached" vote_opinion="off" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="25,175" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Test Primary D"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Test Secondary D"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Test Disabled D"></text>
    </button>
    <button id="Output2_ButtonNumber3" enabled="yes" function="trigger output" functionTargetID="Test Output 2" vote="detached" vote_opinion="off" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="225,175" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Test Primary 2 D"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Test Secondary 2 D"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Test Disabled 2 D"></text>
    </button>
    <button id="IncreaseWantedTemperatureIncremental" enabled="yes" function="change variable" functionTargetID="wantedtemperature" vote_opinion="+1" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="305,305" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="+1F"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="+1F"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="+1F"></text>
    </button>
    <button id="DecreaseWantedTemperatureIncremental" enabled="yes" function="change variable" functionTargetID="wantedtemperature" vote_opinion="-1" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="225,305" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="-1F"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="-1F"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="-1F"></text>
    </button>
    <button id="IncreaseWantedTemperatureAbsolute" enabled="yes" function="change variable" functionTargetID="wantedtemperature" vote_opinion="70" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="465,305" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="70F"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="70F"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="70F"></text>
    </button>
    <button id="DecreaseWantedTemperatureAbsolute" enabled="yes" function="change variable" functionTargetID="wantedtemperature" vote_opinion="80" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="385,305" page="0"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="80F"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="80F"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="80F"></text>
    </button>
    <button id="IncrementPage" enabled="yes" function="change page" functionTargetID="RequiredFiller" vote_opinion="+1" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="625,305" page="0"></display>
      <multiplepages page="1"></multiplepages>
      <multiplepages page="2"></multiplepages>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Page +1"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Page +1"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Page +1"></text>
    </button>
    <button id="DecrementPage" enabled="yes" function="change page" functionTargetID="RequiredFiller" vote_opinion="-1" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="545,305" page="0"></display>
      <multiplepages page="1"></multiplepages>
      <multiplepages page="2"></multiplepages>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Page -1"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Page -1"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Page -1"></text>
    </button>
    <button id="Toggle Logging Test" enabled="yes" function="change logging" functionTargetID="Outside Temperature Log" vote="attached" vote_opinion="toggle" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="25,25" page="1"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Toggle Logging"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Toggle Logging"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Toggle Logging"></text>
    </button>
    <button id="Start Logging Test" enabled="yes" function="change logging" functionTargetID="Outside Temperature Log" vote="attached" vote_opinion="start" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="225,25" page="1"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Start Logging"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Start Logging"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Start Logging"></text>
    </button>
    <button id="Stop Logging Test" enabled="yes" function="change logging" functionTargetID="Outside Temperature Log" vote="attached" vote_opinion="stop" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="425,25" page="1"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Stop Logging"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Stop Logging"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Stop Logging"></text>
    </button>
    <button id="Toggle Analogue Logging Test" enabled="yes" function="change logging" functionTargetID="Analogue Test Log" vote="attached" vote_opinion="toggle" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button_Down.png" imageSecondary="images\BMV2_Button.png" imageDisabled="images\BMV2_Button_Disabled.png" imagePushed="images\BMV2_Button_Down.png"></images>
      <display size="190,50" location="25,100" page="1"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="255,221,221,221" textPrimary="Toggle Analogue Logging"></text>
      <text colourSecondaryARGB="255,221,221,221" textSecondary="Toggle Analogue Logging"></text>
      <text colourDisabledARGB="255,90,90,90" textDisabled="Toggle Analogue Logging"></text>
    </button>
    <button id="WinampPlay" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="x" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="20,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Play"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Play"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Play"></text>
    </button>
    <button id="WinampStop" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="v" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="100,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Stop"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Stop"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Stop"></text>
    </button>
    <button id="WinampPrevious" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="z" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="180,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="&lt;&lt;"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="&lt;&lt;"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="&lt;&lt;"></text>
    </button>
    <button id="WinampNext" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="b" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="260,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="&gt;&gt;"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="&gt;&gt;"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="&gt;&gt;"></text>
    </button>
    <button id="WinampVolumeDown" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="NUM2" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="340,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="-"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="-"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="-"></text>
    </button>
    <button id="WinampVolumeUp" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="NUM8" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="420,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="+"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="+"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="+"></text>
    </button>
    <button id="WinampPause" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="c" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="500,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Pause"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Pause"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Pause"></text>
    </button>
    <button id="WinampPreferences" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="CTRL::P" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="580,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Pref"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Pref"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Pref"></text>
    </button>
    <button id="WinampSkins" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="ALT::S" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="660,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Skins"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Skins"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Skins"></text>
    </button>
    <button id="WinampAddDirectory" enabled="yes" function="send key" functionTargetID="winamp" vote_opinion="SHIFT::L" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="740,20" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="+ Dir"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="+ Dir"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="+ Dir"></text>
    </button>
    <button id="Notepad_A" enabled="yes" function="send key" functionTargetID="Notepad:Edit" vote_opinion="A" vote_priority="medium">
      <images imagePrimary="images\BMV2_Button60.png" imageSecondary="images\BMV2_Button60.png" imagePushed="images\BMV2_Button60_Down.png"></images>
      <display size="60,50" location="20,90" page="2"></display>
      <text font="Arial14" font_size="14"></text>
      <text colourPrimaryARGB="68,255,255,255" textPrimary="Note"></text>
      <text colourSecondaryARGB="136,255,255,255" textSecondary="Note"></text>
      <text colourDisabledARGB="136,255,255,255" textDisabled="Note"></text>
    </button>
    <multiimage id="TemperatureGraphVoltage" monitorType="analogue" monitorID="outside temp">
      <options imageScaling="stretch"></options>
      <display size="92,144" location="25,285" page="0"></display>
      <image path="images\graph\Bar0.png">
        <values atleastorequalto="0" atmost="0.625"></values>
      </image>
      <image path="images\graph\Bar1.png">
        <values atleastorequalto="0.625" atmost="1.25"></values>
      </image>
      <image path="images\graph\Bar2.png">
        <values atleastorequalto="1.25" atmost="1.875"></values>
      </image>
      <image path="images\graph\Bar3.png">
        <values atleastorequalto="1.875" atmost="2.5"></values>
      </image>
      <image path="images\graph\Bar4.png">
        <values atleastorequalto="2.5" atmost="3.125"></values>
      </image>
      <image path="images\graph\Bar5.png">
        <values atleastorequalto="3.125" atmost="3.75"></values>
      </image>
      <image path="images\graph\Bar6.png">
        <values atleastorequalto="3.75" atmost="4.375"></values>
      </image>
      <image path="images\graph\Bar7.png">
        <values atleastorequalto="4.375" atmost="5"></values>
      </image>
    </multiimage>
    <multiimage id="TemperatureGraphVariable" monitorType="variable" monitorID="wantedtemperature">
      <display size="92,144" location="125,285" page="0"></display>
      <image path="images\graph\Bar0.png">
        <values atleastorequalto="-20" atmost="70" rotate="0"></values>
      </image>
      <image path="images\graph\Bar1.png">
        <values atleastorequalto="70" atmost="71" rotate="0"></values>
      </image>
      <image path="images\graph\Bar2.png">
        <values atleastorequalto="71" atmost="72" rotate="0"></values>
      </image>
      <image path="images\graph\Bar3.png">
        <values atleastorequalto="72" atmost="73" rotate="0"></values>
      </image>
      <image path="images\graph\Bar4.png">
        <values atleastorequalto="73" atmost="74" rotate="0"></values>
      </image>
      <image path="images\graph\Bar5.png">
        <values atleastorequalto="74" atmost="75" rotate="0"></values>
      </image>
      <image path="images\graph\Bar6.png">
        <values atleastorequalto="75" atmost="76" rotate="0"></values>
      </image>
      <image path="images\graph\Bar7.png">
        <values atleastorequalto="76" atmost="200" rotate="0"></values>
      </image>
    </multiimage>
    <rotateimage id="NeedleToRotateSmooth" monitorType="variable" monitorID="wantedtemperature">
      <display size="150,150" location="25,455" page="0" z_order="0.0"></display>
			<options streakImage="false" smoothImage="true" smoothMaximumAngleDifference="2" imageScaling="stretch"></options>
			<image path="images\NeedlePNG.png"></image>
			<values angleMinimum="130" angleMaximum="220" valueMinimum="70" valueMaximum="80"></values>
			<values angleMinimum="0" angleMaximum="90" valueMinimum="60" valueMaximum="70"></values>
		</rotateimage>
    <rotateimage id="NeedleToRotateSmooth" monitorType="variable" monitorID="wantedtemperature">
      <display size="150,150" location="200,455" page="0"></display>
      <options streakImage="false" smoothImage="false"></options>
      <image path="images\NeedlePNG.png"></image>
      <values angleMinimum="130" angleMaximum="220" valueMinimum="70" valueMaximum="80"></values>
      <values angleMinimum="0" angleMaximum="90" valueMinimum="60" valueMaximum="70"></values>
    </rotateimage>
    <rotateimage id="StreakTest" monitorType="variable" monitorID="wantedtemperature">
      <display size="150,150" location="375,455" page="0"></display>
      <options streakImage="true" smoothImage="false"></options>
      <image path="images\NeedlePNG.png"></image>
      <values angleMinimum="130" angleMaximum="220" valueMinimum="70" valueMaximum="80"></values>
      <values angleMinimum="0" angleMaximum="90" valueMinimum="60" valueMaximum="70"></values>
    </rotateimage>
    <multiimage id="GuageDialRotateVariable" monitorType="variable" monitorID="wantedtemperature">
      <display size="150,150" location="550,400" page="0" z_order="0.0"></display>
      <options imageScaling="stretch"></options>
      <imageAUTO directory_path="images\UberArcByh3rk">
        <image_range filename_base="" filename_start="0" filename_end="240" filename_extension="png"></image_range>
        <value_range value_start="65" value_end="85"></value_range>
        <options rotate="70"></options>
      </imageAUTO>
    </multiimage>
    <multiimage id="GuageDialRotateInput" monitorType="analogue" monitorID="Ultrasonic">
      <display size="150,150" location="50,250" page="1"></display>
      <options imageScaling="stretch"></options>
      <imageAUTO directory_path="images\UberArcByh3rk">
        <image_range filename_base="" filename_start="0" filename_end="160" filename_extension="png"></image_range>
        <value_range value_start="0" value_end="1.5"></value_range>
        <options rotate="330"></options>
      </imageAUTO>
    </multiimage>
    <staticimage>
      <image path="images\BMV2_Button_Disabled.png"></image>
      <display size="150,150" location="250,250" page="3" z_order="0.0"></display>
    </staticimage>
	</graphics>
	<io>
		<brain id="MainBrain">USB\VID_04D8&amp;PID_000C\5&amp;38631973&amp;0&amp;1</brain>

		<timer id="logic" interval="250"></timer>
		<timer id="gui" interval="10"></timer>
		<timer id="output" interval="100"></timer>
		<timer id="input" interval="1"></timer>

    <iochannel id="Outside Temp" port="0" brain="MainBrain" type="analogue_input">
      <options history="100" auto_average="true"></options>
    </iochannel>
    <iochannel id="Test Analogue 1" port="1" brain="MainBrain" type="analogue_input">
      <options history="100" auto_average="false"></options>
    </iochannel>
    <iochannel id="Test Analogue 2" port="2" brain="MainBrain" type="analogue_input">
      <options history="100" auto_average="false"></options>
    </iochannel>
    <iochannel id="Ultrasonic" port="9" brain="MainBrain" type="analogue_input">
      <options history="15" auto_average="false"></options>
    </iochannel>
		<iochannel id="Heater" port="10" brain="MainBrain" type="digital_output">
			<defaults defaultstate="off"></defaults>
		</iochannel>
    <iochannel id="Cooler" port="11" brain="MainBrain" type="digital_output">
      <defaults defaultstate="off"></defaults>
    </iochannel>
		<iochannel id="Test Output 1" port="0" brain="MainBrain" type="digital_output">
			<defaults defaultstate="off"></defaults>
		</iochannel>
		<iochannel id="Test Output 2" port="1" brain="MainBrain" type="digital_output">
			<defaults defaultstate="on"></defaults>
		</iochannel>
	</io>
	<logic>
		<all_variables>
			<variable name="wantedtemperature">72</variable>
		</all_variables>
    
    <all_logging>
      <log LogID="Output Test Log" MonitorType="digital output" TargetID="Test Output 1" fire_on="logic">
        <options DefaultMonitorState="off" filename="Logs\TestLogging" StoreBeforeDumping="100" holdStreamOpen="false"></options>
        <data DataName="Output Test Value" DataFrom="value"></data>
      </log>
      <log LogID="Analogue Test Log" MonitorType="analogue input" TargetID="Test Analogue 1" fire_on="input">
        <options DefaultMonitorState="off" filename="Logs\TestLoggingANALOGUE" StoreBeforeDumping="5000" holdStreamOpen="true"></options>
        <data DataName="Raw Analogue Value" DataFrom="value"></data>
      </log>
      <log LogID="Variable Test Log" MonitorType="variable" TargetID="wantedtemperature" fire_on="logic">
        <options DefaultMonitorState="off" filename="Logs\TestLogging" StoreBeforeDumping="100" holdStreamOpen="false"></options>
        <data DataName="Variable Test" DataFrom="value"></data>
      </log>
      <log LogID="Outside Temperature Log" MonitorType="variable" TargetID="actualtemperature" fire_on="logic">
        <options DefaultMonitorState="off" filename="Logs\TestLogging" StoreBeforeDumping="100" holdStreamOpen="false"></options>
        <data DataName="Outside Temperature" DataFrom="value"></data>
      </log>
    </all_logging>

    <all_statements>
			<if fire_on="logic">
				<parameter1>
					<variable do="set" name="is5greaterthan3">
						<if>
							<parameter1>
								<number>5</number>
							</parameter1>
							<test check="greater than or equal to"></test>
							<parameter2>
								<number>3</number>
							</parameter2>
						</if>
					</variable>
				</parameter1>
				<test check="NAND"></test>
				<parameter2>
					<boolean_operation type="NOT">
						<parameter1>
							<boolean_operation type="OR">
								<parameter1>
									<variable do="get">is5greaterthan3</variable>
								</parameter1>
								<parameter2>
									<boolean>false</boolean>
								</parameter2>
							</boolean_operation>
						</parameter1>
					</boolean_operation>
				</parameter2>
			</if>
      <if fire_on="logic">
        <parameter1>
          <if>
            <parameter1>
              <analogue id="Steering Wheel Buttons" time="0"></analogue>
            </parameter1>
            <test check="greater than or equal to"></test>
            <parameter2>
              <number>3.4</number>
            </parameter2>
          </if>
        </parameter1>
        <test check="AND"></test>
        <parameter2>
          <if>
            <parameter1>
              <analogue id="Steering Wheel Buttons" time="0"></analogue>
            </parameter1>
            <test check="less than or equal to"></test>
            <parameter2>
              <number>3.6</number>
            </parameter2>
          </if>
        </parameter2>
        <then>
          <do function="send key" functionTargetID="winamp" vote_opinion="c" vote_priority="medium"></do>
        </then>
      </if>
			<if fire_on="logic">
				<parameter1>
          <variable do="set" name="actualtemperature">
            <evaluate function="thermometer">
              <input order="1">
                <analogue id="Outside Temp" time="0"></analogue>
              </input>
            </evaluate>
          </variable>
				</parameter1>
				<test check="less than"></test>
				<parameter2>
					<variable do="get">wantedtemperature</variable>
				</parameter2>
				<then>
					<do function="trigger output" functionTargetID="Heater" vote_opinion="on" vote_priority="medium"></do>
				</then>
			</if>
			<if fire_on="logic">
				<parameter1>
					<number>10</number>
				</parameter1>
				<test check="greater than"></test>
				<parameter2>
					<number>15</number>
				</parameter2>
        <then>
          <do function="trigger output" functionTargetID="Test Output 1" vote_opinion="on" vote_priority="medium"></do>
          <do function="trigger output" functionTargetID="Test Output 2" vote_opinion="off" vote_priority="medium"></do>
        </then>
			</if>
      <if fire_on="logic">
        <parameter1>
          <variable do="get">wantedtemperature</variable>
        </parameter1>
        <test check="greater than or equal to"></test>
        <parameter2>
          <number>78</number>
        </parameter2>
        <then>
          <do function="trigger output" functionTargetID="Cooler" vote_opinion="on" vote_priority="medium"></do>
          <do function="trigger output" functionTargetID="Heater" vote_opinion="off" vote_priority="medium"></do>
        </then>
      </if>
      <if fire_on="logic">
        <parameter1>
          <variable do="get">wantedtemperature</variable>
        </parameter1>
        <test check="less than or equal to"></test>
        <parameter2>
          <number>70</number>
        </parameter2>
        <then>
          <do function="trigger output" functionTargetID="Cooler" vote_opinion="off" vote_priority="medium"></do>
          <do function="trigger output" functionTargetID="Heater" vote_opinion="on" vote_priority="medium"></do>
        </then>
      </if>
    </all_statements>
	</logic>
</FusionControlCentreConfiguration>
