<root>
<document scada='1' panel2DSCADA='0' panel3DSCADA='0' panelPropsSCADA='0' panelConsoleSCADA='0' panelDataRecorderSCADA='0' panel2DCount='1' panel2DSCADA_0='6' playbackSCADA='0' ShouldAutoStartSCADA='0' ShouldLockCameraSCADA='0' ShouldBundleSCADA='1' SCADAProgramTitle='' buildnumber='0' schema='103' license='10,BenR,C9TN1M' title='Blank Web' description='' fcversion='655364' target='SCADA.SCADA.WEBEXP' >
	<config data='' clkspd='100000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='4095' />
			<data name='ClockPin' value='0' />
			<data name='DataPort' value='4095' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='19967730-7af4-454e-9e19-7a626c84d29a' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='1' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='panel' panelId='-1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='b' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Heater' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Fan' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SwitchStates' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='time' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='OnClickSwitchFan' description='Called when the button is clicked' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Handle' type='h32' description='The handle of the component that was clicked' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='State' type='u8' description='The current state of the switch' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Object' type='h32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ValueObject' type='h32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='Switch_Fan::GetState() != Fan' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
									<exp exp='Fan = Switch_Fan::GetState()' />
								</command>
								<command class_type='comment' title='' comment='Start JSON Encoding' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONEncoder1' macro='ClearAll' />
								<command class_type='comment' title='' comment='Add Fan' textarea='40,-8,40,-8' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONEncoder1' macro='AssignDataAsFloat' >
									<argument exp='&quot;fan&quot;' />
									<argument exp='Fan' />
								</command>
								<command class_type='comment' title='' comment='Generate JSON and Send' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONEncoder1' macro='GenerateJSON' >
									<return exp='.data' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Publish' >
									<return exp='b' />
									<argument exp='&quot;mtx_demo_switchdata&quot;' />
									<argument exp='.data' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
											<argument exp='&quot;not connected&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnClickDisconnect' description='Called when the button is clicked' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Disconnect' >
							<return exp='b' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;not connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnMqttMessageDelivered' description='Called when an MQTT message has been delivered' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Topic' type='T8' description='The topic (destination name) for the message' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='Message' type='T8' description='The message payload (if it consists of valid UTF-8 characters)' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='MsgBuffer' type='u8' description='The message payload as an ArrayBuffer' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='200' />
						</param>
						<local name='msg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = &quot;Delivered on topic: &quot; + .Topic' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebTextBlock1' macro='SetText' >
							<argument exp='.msg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnMqttConnectionLost' description='Called when an MQTT connection has been lost' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Code' type='s16' description='The error code' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Message' type='T8' description='Text describing the error' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='msg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = &quot;Connection lost: &quot; + .Message' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebTextBlock1' macro='SetText' >
							<argument exp='.msg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnClickConnect' description='Called when the button is clicked' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Connect' >
							<return exp='b' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;already connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnClickUnsubscribe' description='Called when the button is clicked' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Unsubscribe' >
							<return exp='b' />
							<argument exp='&quot;mtx_sensedata&quot;' />
							<argument exp='10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;not connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnMqttMessageArrived' description='Called when an MQTT message has arrived at this client' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Topic' type='T8' description='The topic (destination name) for the message' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='Message' type='T8' description='The message payload (if it consists of valid UTF-8 characters)' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='MsgBuffer' type='u8' description='The message payload as an ArrayBuffer' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='200' />
						</param>
						<param name='QoS' type='s16' description='The Quality of Service used to deliver the message' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Retained' type='b1' description='The message was retained by the server (i.e. was sent before this client subscribed to it)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Duplicate' type='b1' description='This message might be a duplicate of one which has already been received' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='msg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Temperature' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Humidity' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Index' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = &quot;Arrived on topic: &quot; + .Topic' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = .msg + &quot;&lt;br&gt;message: &quot; + .Message' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebTextBlock1' macro='SetText' >
							<argument exp='.msg' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='Compare$(.Topic,&quot;mtx_demo_sensedata&quot;,0) == 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ParseJSON' >
									<argument exp='.Message' />
								</command>
								<command class_type='call' title='Look for key' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='FindName' >
									<return exp='.Index' />
									<argument exp='&quot;count&quot;' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Does key exist in JSON packet?' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='.Index &gt;= 0' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ReadDataAsNumber' >
											<return exp='.count' />
											<argument exp='.Index' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Look for key' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='FindName' >
									<return exp='.Index' />
									<argument exp='&quot;temperature&quot;' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Does key exist in JSON packet?' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='.Index &gt;= 0' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ReadDataAsFloat' >
											<return exp='.Temperature' />
											<argument exp='.Index' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Look for key' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='FindName' >
									<return exp='.Index' />
									<argument exp='&quot;humidity&quot;' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Does key exist in JSON packet?' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='.Index &gt;= 0' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ReadDataAsFloat' >
											<return exp='.Humidity' />
											<argument exp='.Index' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Pass values to UI objects
' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
									<exp exp='.str = ToString$(.Count)' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Label1' macro='SetText' >
									<argument exp='.str' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Gauge1_Hum' macro='SetValue' >
									<argument exp='.Humidity' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Gauge2_Temp' macro='SetValue' >
									<argument exp='.Temperature' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='LineChart1' macro='AddPoint' >
									<argument exp='time' />
									<argument exp='.Temperature' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='LineChart1' macro='AddPoint' >
									<argument exp='time' />
									<argument exp='.Humidity' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='LineChart1' macro='Redraw' />
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
									<exp exp='time = time + 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='Compare$(.Topic,&quot;mtx_demo_switchdata&quot;,0) == 0' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ParseJSON' >
											<argument exp='.Message' />
										</command>
										<command class_type='call' title='Look for key' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='FindName' >
											<return exp='.Index' />
											<argument exp='&quot;heater&quot;' />
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Does key exist in JSON packet?' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='.Index &gt;= 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ReadDataAsNumber' >
													<return exp='Heater' />
													<argument exp='.Index' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Look for key' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='FindName' >
											<return exp='.Index' />
											<argument exp='&quot;fan&quot;' />
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Does key exist in JSON packet?' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='.Index &gt;= 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONDecoder1' macro='ReadDataAsNumber' >
													<return exp='Fan' />
													<argument exp='.Index' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnMqttConnected' description='Called when an MQTT connection is successfully made to the server' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Reconnect' type='b1' description='if true, the connection was the result of a reconnect' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='URI' type='T8' description='The URI used to connect to the server' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='msg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = &quot;Connected: &quot; + .URI' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='.Reconnect' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
									<exp exp='.msg = .msg + &quot;&lt;br&gt;(reconnected)&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebTextBlock1' macro='SetText' >
							<argument exp='.msg' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Subscribe' >
							<return exp='b' />
							<argument exp='&quot;mtx_demo_sensedata&quot;' />
							<argument exp='0' />
							<argument exp='10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;not connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Subscribe' >
							<return exp='b' />
							<argument exp='&quot;mtx_demo_switchdata&quot;' />
							<argument exp='0' />
							<argument exp='10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;not connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnMqttSuccess' description='Called when an MQTT operation is successful' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Type' type='s16' description='The type of operation (0=connect, 1=subscribe, 2=unsubscribe)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='msg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = &quot;Success(&quot; + ToString$(.Type) + &quot;)&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebTextBlock1' macro='SetText' >
							<argument exp='.msg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnClickSwitchHeater' description='Called when the button is clicked' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Handle' type='h32' description='The handle of the component that was clicked' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='State' type='u8' description='The current state of the switch' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Object' type='h32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ValueObject' type='h32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='Switch_Heater::GetState() != Heater' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
									<exp exp='Heater = Switch_Heater::GetState()' />
								</command>
								<command class_type='comment' title='' comment='Start JSON Encoding' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONEncoder1' macro='ClearAll' />
								<command class_type='comment' title='' comment='Add Heater' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONEncoder1' macro='AssignDataAsFloat' >
									<argument exp='&quot;heater&quot;' />
									<argument exp='Heater' />
								</command>
								<command class_type='comment' title='' comment='Generate JSON and Send' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='JSONEncoder1' macro='GenerateJSON' >
									<return exp='.data' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Publish' >
									<return exp='b' />
									<argument exp='&quot;mtx_demo_switchdata&quot;' />
									<argument exp='.data' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
											<argument exp='&quot;not connected&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnClickSubscribe' description='Called when the button is clicked' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Subscribe' >
							<return exp='b' />
							<argument exp='&quot;mtx_sensedata&quot;' />
							<argument exp='0' />
							<argument exp='10' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;not connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OnMqttFailure' description='Called when an MQTT operation is unsuccessful' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Type' type='s16' description='The type of operation (0=connect, 1=subscribe, 2=unsubscribe)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Code' type='s16' description='The error code' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Message' type='T8' description='Text describing the error' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='msg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='.msg = &quot;Failure (&quot; + ToString$(.Type) + &quot;): &quot; + .Message' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebTextBlock1' macro='SetText' >
							<argument exp='.msg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='LineChart1' macro='ClearData' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebMQTT1' macro='Connect' >
							<return exp='b' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='0.64' exp='!b' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='WebPopup1' macro='Alert' >
									<argument exp='&quot;already connected&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='15f033b8-7422-4475-9e3a-35e5731fb589' vmin='1' vmaj='0' codename='WebPopup1' panelId='0' x='260' y='-560' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ac5ba24f-d4c3-48e7-9147-e5197de7f7b5' vmin='1' vmaj='0' codename='WebMQTT1' panelId='0' x='170' y='-560' z='1' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='sHost' data='broker.hivemq.com' />
					<value target='iPort' data='8000' />
					<value target='sDir' data='/mqtt' />
					<value target='sClientId' data='' />
					<value target='bSSL' data='0' />
					<value target='bAuthentication' data='0' />
					<value target='sUsername' data='' />
					<value target='sPassword' data='' />
					<value target='iConnectTimeout' data='30' />
					<value target='iKeepAlive' data='60' />
					<value target='bCleanSession' data='1' />
					<value target='bReconnect' data='0' />
					<value target='iReconnectInterval' data='2000' />
					<value target='bLWT' data='0' />
					<value target='sLwtTopic' data='test' />
					<value target='sLwtMessage' data='Unexpected client disconnection' />
					<value target='iQoS' data='002' />
					<value target='bLwtRetain' data='0' />
					<value target='iVersion' data='003' />
					<value target='bDebug' data='1' />
					<value target='macOnSuccess' data='OnMqttSuccess' />
					<value target='macOnFailure' data='OnMqttFailure' />
					<value target='macOnConnected' data='OnMqttConnected' />
					<value target='macOnConnectionLost' data='OnMqttConnectionLost' />
					<value target='macOnMessageDelivered' data='OnMqttMessageDelivered' />
					<value target='macOnMessageArrived' data='OnMqttMessageArrived' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c68e35f2-92e3-4a48-abd9-4a1818aa1023' vmin='1' vmaj='0' codename='WebButton4' panelId='0' x='88' y='-29' z='2' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Reconnect' />
					<value target='Caption::nHorizontalAlignment' data='2' />
					<value target='Caption::fntFamily' data='Calibri' />
					<value target='iFontSize' data='16' />
					<value target='Caption::iFontSize' data='16' />
					<value target='Caption::colTextColour' data='0' />
					<value target='Caption::bBold' data='0' />
					<value target='Caption::bItalic' data='0' />
					<value target='Caption::bUnderline' data='0' />
					<value target='Caption::bStrikethrough' data='0' />
					<value target='Button::colFill' data='13816530' />
					<value target='iStyle' data='000' />
					<value target='iBorderWidth' data='0' />
					<value target='Button::iOutlineSize' data='0' />
					<value target='Button::colOutline' data='0' />
					<value target='bShadow' data='1' />
					<value target='Shadow::colFill' data='7895160' />
					<value target='macroOnClick' data='OnClickConnect' />
					<value target='sCursor' data='024' />
					<value target='bShowPress' data='1' />
					<value target='bAutoColour' data='1' />
					<value target='colHover' data='5724159' />
					<value target='colClick' data='5921370' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c68e35f2-92e3-4a48-abd9-4a1818aa1023' vmin='1' vmaj='0' codename='WebButton5' panelId='0' x='238' y='-28' z='3' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Disconnect' />
					<value target='Caption::nHorizontalAlignment' data='2' />
					<value target='Caption::fntFamily' data='Calibri' />
					<value target='iFontSize' data='16' />
					<value target='Caption::iFontSize' data='16' />
					<value target='Caption::colTextColour' data='0' />
					<value target='Caption::bBold' data='0' />
					<value target='Caption::bItalic' data='0' />
					<value target='Caption::bUnderline' data='0' />
					<value target='Caption::bStrikethrough' data='0' />
					<value target='Button::colFill' data='13816530' />
					<value target='iStyle' data='000' />
					<value target='iBorderWidth' data='0' />
					<value target='Button::iOutlineSize' data='0' />
					<value target='Button::colOutline' data='0' />
					<value target='bShadow' data='1' />
					<value target='Shadow::colFill' data='7895160' />
					<value target='macroOnClick' data='OnClickDisconnect' />
					<value target='sCursor' data='024' />
					<value target='bShowPress' data='1' />
					<value target='bAutoColour' data='1' />
					<value target='colHover' data='5724159' />
					<value target='colClick' data='5921370' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3bd55a33-d9ed-44a0-80d9-76a8d954a335' vmin='1' vmaj='0' codename='WebTextBlock1' panelId='0' x='143.5' y='-75.5' z='4' xsz='15.0625' ysz='6.09375' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='GdiText1::sText' data='(debug messages will appear here)' />
					<value target='GdiText1::fntFamily' data='Arial' />
					<value target='iFontSize' data='12' />
					<value target='GdiText1::iFontSize' data='12' />
					<value target='GdiText1::nHorizontalAlignment' data='  0' />
					<value target='GdiText1::bWordWrap' data='1' />
					<value target='bHideOverflow' data='0' />
					<value target='GdiText1::bBold' data='0' />
					<value target='GdiText1::bItalic' data='0' />
					<value target='GdiText1::bUnderline' data='0' />
					<value target='GdiText1::bStrikethrough' data='0' />
					<value target='GdiText1::colTextColour' data='0' />
					<value target='GdiText1::colBackgroundColour' data='-1' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f43a5e51-dae4-4d71-803d-27e56a7b25b2' vmin='1' vmaj='0' codename='Gauge1_Hum' panelId='0' x='154' y='-254' z='5' xsz='58.3333' ysz='58.3333' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='sTitle' data='Humidity' />
					<value target='dValue' data='50' />
					<value target='Gauge1::dLowerBound' data='0' />
					<value target='Gauge1::dUpperBound' data='100' />
					<value target='iMajorTicks' data='009' />
					<value target='iMinorTicks' data='5' />
					<value target='iShowLabels' data='000' />
					<value target='iDecimals' data='000' />
					<value target='sSuffix' data='' />
					<value target='sCustomLabels' data='&apos;min&apos;,&apos;max&apos;' />
					<value target='nStyle' data='001' />
					<value target='custcolOutline' data='16777215' />
					<value target='custcolFrame' data='0' />
					<value target='custcolInnerFrame' data='14474460' />
					<value target='custcolFace' data='1973790' />
					<value target='custcolMinorTicks' data='16777215' />
					<value target='custcolMajorTicks' data='16777215' />
					<value target='custcolPointerOutline' data='16777215' />
					<value target='custcolPointerFill' data='3947580' />
					<value target='custcolCapOutline' data='16777215' />
					<value target='custcolCapFill' data='3947580' />
					<value target='custcolCaption' data='16777215' />
					<value target='custcolValue' data='16777215' />
					<value target='custcolScale' data='16777215' />
					<value target='Gauge1::nRangeCount' data='002' />
					<value target='Gauge1::Range_nStart1' data='75.00000' />
					<value target='Gauge1::Range_nEnd1' data='100.00000' />
					<value target='colRange1' data='5724159' />
					<value target='Gauge1::Range_nStart2' data='25.00000' />
					<value target='Gauge1::Range_nEnd2' data='75.00000' />
					<value target='colRange2' data='12632064' />
					<value target='Gauge1::Range_nStart3' data='0.00000' />
					<value target='Gauge1::Range_nEnd3' data='25.00000' />
					<value target='colRange3' data='32768' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f43a5e51-dae4-4d71-803d-27e56a7b25b2' vmin='1' vmaj='0' codename='Gauge2_Temp' panelId='0' x='447' y='-255' z='6' xsz='58.3333' ysz='58.3333' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='sTitle' data='Temp' />
					<value target='dValue' data='25' />
					<value target='Gauge1::dLowerBound' data='0' />
					<value target='Gauge1::dUpperBound' data='60' />
					<value target='iMajorTicks' data='005' />
					<value target='iMinorTicks' data='3' />
					<value target='iShowLabels' data='000' />
					<value target='iDecimals' data='000' />
					<value target='sSuffix' data='' />
					<value target='sCustomLabels' data='&apos;min&apos;,&apos;max&apos;' />
					<value target='nStyle' data='000' />
					<value target='custcolOutline' data='16777215' />
					<value target='custcolFrame' data='0' />
					<value target='custcolInnerFrame' data='14474460' />
					<value target='custcolFace' data='1973790' />
					<value target='custcolMinorTicks' data='16777215' />
					<value target='custcolMajorTicks' data='16777215' />
					<value target='custcolPointerOutline' data='16777215' />
					<value target='custcolPointerFill' data='3947580' />
					<value target='custcolCapOutline' data='16777215' />
					<value target='custcolCapFill' data='3947580' />
					<value target='custcolCaption' data='16777215' />
					<value target='custcolValue' data='16777215' />
					<value target='custcolScale' data='16777215' />
					<value target='Gauge1::nRangeCount' data='003' />
					<value target='Gauge1::Range_nStart1' data='40' />
					<value target='Gauge1::Range_nEnd1' data='60' />
					<value target='colRange1' data='128' />
					<value target='Gauge1::Range_nStart2' data='10' />
					<value target='Gauge1::Range_nEnd2' data='40' />
					<value target='colRange2' data='49152' />
					<value target='Gauge1::Range_nStart3' data='0.00000' />
					<value target='Gauge1::Range_nEnd3' data='10' />
					<value target='colRange3' data='12582948' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='add0cf83-9484-4047-8048-40f00c95972e' vmin='1' vmaj='0' codename='Switch_Heater' panelId='0' x='152' y='-449' z='7' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='bState' data='0' />
					<value target='macroOnClick' data='OnClickSwitchHeater' />
					<value target='sCursor' data='002' />
					<value target='iTransitionSpeed' data='0' />
					<value target='bAutoReturn' data='0' />
					<value target='sOn' data='On' />
					<value target='sOff' data='Off' />
					<value target='iStyle' data='000' />
					<value target='bShowThumb' data='1' />
					<value target='iBorderWidth' data='1' />
					<value target='shapeOff::iOutlineSize' data='1' />
					<value target='iBorderRadius' data='0' />
					<value target='shapeOff::colOutline' data='0' />
					<value target='txtOn::fntFamily' data='Calibri' />
					<value target='iFontSize' data='16' />
					<value target='txtOn::iFontSize' data='16' />
					<value target='txtOn::bBold' data='0' />
					<value target='txtOn::bItalic' data='0' />
					<value target='shapeOff::colFill' data='16777215' />
					<value target='shapeOff::colFillGradient' data='12632256' />
					<value target='shapeOff::nGradientStyle' data='2' />
					<value target='txtOff::colTextColour' data='0' />
					<value target='shapeOn::colFill' data='16759906' />
					<value target='shapeOn::colFillGradient' data='16777215' />
					<value target='shapeOn::nGradientStyle' data='2' />
					<value target='txtOn::colTextColour' data='0' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='add0cf83-9484-4047-8048-40f00c95972e' vmin='1' vmaj='0' codename='Switch_Fan' panelId='0' x='453' y='-451' z='8' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='bState' data='0' />
					<value target='macroOnClick' data='OnClickSwitchFan' />
					<value target='sCursor' data='002' />
					<value target='iTransitionSpeed' data='0' />
					<value target='bAutoReturn' data='0' />
					<value target='sOn' data='On' />
					<value target='sOff' data='Off' />
					<value target='iStyle' data='000' />
					<value target='bShowThumb' data='1' />
					<value target='iBorderWidth' data='1' />
					<value target='shapeOff::iOutlineSize' data='1' />
					<value target='iBorderRadius' data='0' />
					<value target='shapeOff::colOutline' data='0' />
					<value target='txtOn::fntFamily' data='Calibri' />
					<value target='iFontSize' data='16' />
					<value target='txtOn::iFontSize' data='16' />
					<value target='txtOn::bBold' data='0' />
					<value target='txtOn::bItalic' data='0' />
					<value target='shapeOff::colFill' data='16777215' />
					<value target='shapeOff::colFillGradient' data='12632256' />
					<value target='shapeOff::nGradientStyle' data='2' />
					<value target='txtOff::colTextColour' data='0' />
					<value target='shapeOn::colFill' data='16759906' />
					<value target='shapeOn::colFillGradient' data='16777215' />
					<value target='shapeOn::nGradientStyle' data='2' />
					<value target='txtOn::colTextColour' data='0' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='724dc5b4-8519-41ff-a96d-413275961305' vmin='1' vmaj='0' codename='LineChart1' panelId='0' x='1010.5' y='-319' z='9' xsz='48.0625' ysz='46.25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BaseChart1::sTitle' data='Chart Title' />
					<value target='nStackType' data='000' />
					<value target='iLegend' data='004' />
					<value target='nStyle' data='000' />
					<value target='custcolFill' data='-1' />
					<value target='custcolOutline' data='-1' />
					<value target='custcolPlot' data='16777215' />
					<value target='custcolLine' data='3947580' />
					<value target='custcolText' data='3947580' />
					<value target='custcolSeries1' data='4697456' />
					<value target='custcolSeries2' data='13998939' />
					<value target='custcolSeries3' data='49407' />
					<value target='custcolSeries4' data='255' />
					<value target='custcolSeries5' data='12583040' />
					<value target='BaseChart1::sXName' data='X-axis' />
					<value target='BaseChart1::bXAuto' data='1' />
					<value target='BaseChart1::dXStart' data='0' />
					<value target='BaseChart1::dXEnd' data='100' />
					<value target='BaseChart1::bXLogarithmic' data='0' />
					<value target='BaseChart1::bXScalable' data='0' />
					<value target='BaseChart1::sYName' data='Y-axis' />
					<value target='BaseChart1::bYAuto' data='1' />
					<value target='BaseChart1::dYStart' data='0' />
					<value target='BaseChart1::dYEnd' data='100' />
					<value target='BaseChart1::bYLogarithmic' data='0' />
					<value target='BaseChart1::bYScalable' data='0' />
					<value target='sCustomAttributes' data='' />
					<value target='sCustomOptions' data='' />
					<value target='iSeriesCount' data='002' />
					<value target='BaseChart1::sSeriesName1' data='Temperature' />
					<value target='BaseChart1::sSeriesName2' data='Humidity' />
					<value target='BaseChart1::sSeriesName3' data='Series 3' />
					<value target='BaseChart1::sSeriesName4' data='Series 4' />
					<value target='BaseChart1::sSeriesName5' data='Series 5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3bd55a33-d9ed-44a0-80d9-76a8d954a335' vmin='1' vmaj='0' codename='WebTextBlock2' panelId='0' x='168' y='-422' z='10' xsz='4.125' ysz='1.875' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='GdiText1::sText' data='Heater' />
					<value target='GdiText1::fntFamily' data='Calibri' />
					<value target='iFontSize' data='12' />
					<value target='GdiText1::iFontSize' data='12' />
					<value target='GdiText1::nHorizontalAlignment' data='  0' />
					<value target='GdiText1::bWordWrap' data='1' />
					<value target='bHideOverflow' data='0' />
					<value target='GdiText1::bBold' data='0' />
					<value target='GdiText1::bItalic' data='0' />
					<value target='GdiText1::bUnderline' data='0' />
					<value target='GdiText1::bStrikethrough' data='0' />
					<value target='GdiText1::colTextColour' data='0' />
					<value target='GdiText1::colBackgroundColour' data='-1' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3bd55a33-d9ed-44a0-80d9-76a8d954a335' vmin='1' vmaj='0' codename='WebTextBlock3' panelId='0' x='473' y='-423.5' z='11' xsz='3.625' ysz='2.34375' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='GdiText1::sText' data='Fan' />
					<value target='GdiText1::fntFamily' data='Calibri' />
					<value target='iFontSize' data='12' />
					<value target='GdiText1::iFontSize' data='12' />
					<value target='GdiText1::nHorizontalAlignment' data='  0' />
					<value target='GdiText1::bWordWrap' data='1' />
					<value target='bHideOverflow' data='0' />
					<value target='GdiText1::bBold' data='0' />
					<value target='GdiText1::bItalic' data='0' />
					<value target='GdiText1::bUnderline' data='0' />
					<value target='GdiText1::bStrikethrough' data='0' />
					<value target='GdiText1::colTextColour' data='0' />
					<value target='GdiText1::colBackgroundColour' data='-1' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8572e90c-bb9d-4d3c-8350-a68d412af899' vmin='1' vmaj='0' codename='Label1' panelId='0' x='301' y='-100' z='12' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='sLabel' data='Label' />
					<value target='GdiText1::fntFamily' data='Arial' />
					<value target='iFontSize' data='16' />
					<value target='GdiText1::nHorizontalAlignment' data='  2' />
					<value target='GdiText1::bBold' data='0' />
					<value target='GdiText1::bItalic' data='0' />
					<value target='GdiText1::bUnderline' data='0' />
					<value target='GdiText1::bStrikethrough' data='0' />
					<value target='GdiText1::colTextColour' data='0' />
					<value target='GdiText1::colBackgroundColour' data='-1' />
					<value target='sCustomAttributes' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='872dba99-b369-457e-b6f1-914a9f35ad19' vmin='1' vmaj='0' codename='JSONDecoder1' panelId='0' x='350' y='-560' z='13' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='macReviver' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0e2759dd-5335-4769-bdb4-5ddea30a6236' vmin='1' vmaj='0' codename='JSONEncoder1' panelId='0' x='440' y='-560' z='14' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='536.087' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='561' dy='396' zoom='126.623' fix_topleft='0' />
		<page x='1000' y='1000' show='1' rgb='16777215' />
		<winpos ID='7005' RectRecentFloat='1270,288,1920,738' RectRecentDocked='0,0,561,419' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
		<winpos ID='7004' RectRecentFloat='0,600,650,1050' RectRecentDocked='0,0,250,870' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='1' >
		<panel2d_0 id='0' name='2D Panel' >
			<winpos ID='1171' RectRecentFloat='81,-983,1600,-101' RectRecentDocked='894,141,1461,1021' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376149408988' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_0>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnClickSubscribe' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnClickUnsubscribe' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnClickDisconnect' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnClickConnect' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnMqttMessageArrived' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='598' scrolly='747' flags='0' />
		<view type='0' name='OnClickSwitchHeater' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='80' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnClickSwitchFan' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='80' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnMqttConnected' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='175' flags='0' />
		<view type='0' name='OnMqttSuccess' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OnMqttConnectionLost' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAaQQAAGsDAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
