<root>
<document scada='0' projtype='1' schema='103' license='1,65920724,5Q78FW' title='' description='' fcversion='720898' target='PIC.16F.16F18877' >
	<config data='!0,3e9a!10,37fd!20,3f92!30,1fff!40,3fff%0,2%4,1%8,0%b,1%d,1%10,1%11,0%15,1%16,3%19,1%1a,1%1b,0%1c,1%1d,1%20,12%25,0%28,7%2b,7%30,3%3c,1%3d,0%40,1%41,1' clkspd='32000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='#include &lt;system.h&gt;
' body='' />
	<debug >
		<watch expr='brightnessColour' />
		<watch expr='SetBrightnessSim.Brightness' />
	</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='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='6' />
			<data name='CalculatedCommsDelay' value='6' />
			<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='0' center='1' unitscale='1' fixedscale='0' fixedx='0' fixedy='0' fixedz='0' headcode='0' />
		<definition guid='e6bd0a57-6bf2-42bb-b05e-6b6cdad2ce0e' vstate='40' vmin='5' vmaj='5' srcleaf='TM1637_7SEG_Quad_Driver_2dgi.fcfx' visiblename='7Segment (Quad TM1637)' description='Quad seven segment display using an two pin communications bus to reduce the number of control pins.
Driven using a TM1637 quad 7-segment display driver.' category='Segment' category2='' category3='' bIs2dOnly='1' bIs3dOnly='0' bIsWysiwyg='0' catenable='1' author='Matrix Ltd' manuname='MCI Electronics' manucode='' sysinfo='1053451' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='.\IC7segment.png' />
		<component class_type='root' codename='TM1637_Display_2dgdi' 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' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Display Type' target='Display_Type' typeid='16' hidden='0' locked='0' info='Set this according to the specification of your hardware display.
Common Anode:  Pin true -&gt; LED Off,  Pin false -&gt; LED On
Common Cathode:  Pin true -&gt; LED On,  Pin false -&gt; LED Off' filter='000Anode
001Cathode' />
				<property name='Show Seg Labels' target='ShowSegLabels' typeid='7' hidden='0' locked='0' info='Show segment name labels overlayed over the component.' />
				<property name='Connections' hidden='0' >
					<property name='DIO' target='DATA_PIN' typeid='5' hidden='0' locked='0' info='Data Pin connection to TM1637 IC' />
					<property name='CLK' target='CLK_PIN' typeid='5' hidden='0' locked='0' info='Clock Pin connection to TM1637 IC' />
				</property>
				<property name='Colours' hidden='0' >
					<property name='LED Colour' target='FGColor' typeid='1' hidden='0' locked='0' info='Color of the LED segments when truned on.  When off, they use a much darker shade of the same hue.' />
					<property name='Body Colour' target='BGColor' typeid='1' hidden='0' locked='0' info='Color of the plastic casing containing the LEDs.' />
					<property name='Label Colour' target='LabelColor' typeid='1' hidden='0' locked='0' info='Color for the optional LED segment labels.' />
					<property name='LED Off Colour' target='LEDAutoOffColour' typeid='1' hidden='1' locked='1' info='Color of the LED segments when truned on.  When off, they use a much darker shade of the same hue.' />
				</property>
			</properties>
			<values >
				<value target='Display_Type' data='000' />
				<value target='ShowSegLabels' data='1' />
				<value target='DATA_PIN' data='$PORTC.1' />
				<value target='CLK_PIN' data='$PORTC.0' />
				<value target='FGColor' data='65280' />
				<value target='BGColor' data='5921370' />
				<value target='LabelColor' data='16777215' />
				<value target='LEDAutoOffColour' data='13056' />
			</values>
			<events >
				<event class='Compile' event='AddVar' target='Ev_AddVar' />
				<event class='Components' event='Initialise' target='Ev_Initialize' />
				<event class='Simulation' event='Stop' target='Ev_Stop' />
				<event class='Components' event='Property' target='Ev_PropertyChange' />
				<event class='Simulation' event='Start' target='Ev_Start' />
			</events>
			<apis >
				<api name='ShowDigits' alt='ShowDigitsSim' type='1' proto='1' />
				<api name='SetBrightness' alt='SetBrightnessSim' type='1' proto='1' />
				<api name='ShowSegments' alt='ShowSegmentsSim' type='1' proto='1' />
				<api name='ShowDigit' alt='ShowDigitSim' type='1' proto='1' />
			</apis>
			<variables >
				<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='brightnessColour' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='displayOn' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Brightness' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='138' setinit='0x8A' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OffColor' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DataLUT' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='&quot; 0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F,0x77,0x7C,0x39,0x5E,0x79,0x71 &quot;' setinit='{0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F,0x77,0x7C,0x39,0x5E,0x79,0x71}' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='ShowDigits' description='Set the number and decimal point to be displayed in the given digit of the display.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Value0' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value1' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value2' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value3' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Colon' type='u8' description='Whether to show the colon character.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' macro='TM1637_Start' />
						<command class_type='call' title='ADDR_AUTO' macro='TM1637_WriteByte' >
							<argument exp='0x40' />
						</command>
						<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
						<command class_type='call' title='Call Macro' macro='TM1637_Start' />
						<command class_type='call' title='Segment address 0' macro='TM1637_WriteByte' >
							<argument exp='0xC0' />
						</command>
						<command class_type='decision' title='Decision' exp='.Value0 &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Convert value 0-15 to character pattern' >
									<exp exp='.Value0 = DataLUT[.Value0]' />
								</command>
								<command class_type='call' title='Character to display 0-15' macro='TM1637_WriteByte' >
									<argument exp='.Value0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Clear display' macro='TM1637_WriteByte' >
									<argument exp='0x00' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.Value1 &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Convert value 0-15 to character pattern' >
									<exp exp='.Value0 = DataLUT[.Value1]' />
								</command>
								<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Value0 = .Value0 | 0x80' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Character to display 0-15' macro='TM1637_WriteByte' >
									<argument exp='.Value0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
									<flowline >
										<command class_type='call' title='Clear display' macro='TM1637_WriteByte' >
											<argument exp='0x80' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Clear display' macro='TM1637_WriteByte' >
											<argument exp='0x00' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.Value2 &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Convert value 0-15 to character pattern' >
									<exp exp='.Value0 = DataLUT[.Value2]' />
								</command>
								<command class_type='call' title='Character to display 0-15' macro='TM1637_WriteByte' >
									<argument exp='.Value0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Clear display' macro='TM1637_WriteByte' >
									<argument exp='0x00' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.Value3 &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Convert value 0-15 to character pattern' >
									<exp exp='.Value0 = DataLUT[.Value3]' />
								</command>
								<command class_type='call' title='Character to display 0-15' macro='TM1637_WriteByte' >
									<argument exp='.Value0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Clear display' macro='TM1637_WriteByte' >
									<argument exp='0x00' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
						<command class_type='call' title='Call Macro' macro='TM1637_Start' />
						<command class_type='call' title='ADDR_FIXED' macro='TM1637_WriteByte' >
							<argument exp='Brightness' />
						</command>
						<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ClearDigit3' description='Clears Digit 3 Including decimal point' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentA' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentB' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentC' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentD' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentE' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentF' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d3segmentG' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ClearDigit2' description='Clears Digit 2 Including decimal point' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentA' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentB' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentC' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentD' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentE' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentF' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d2segmentG' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_PropertyChange' description='Sent when a property has been changed by the User' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempStr' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='OffColour' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='blue' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='green' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='red' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='.red = (FGColor AND 255) / 5' />
							<exp exp='.green = ((FGColor &gt;&gt; 8) AND 255) / 5' />
							<exp exp='.blue = ((FGColor &gt;&gt; 16) AND 255) / 5' />
							<exp exp='.OffColour = (.blue &lt;&lt; 16) + (.green &lt;&lt; 8) + .red' />
						</command>
						<command class_type='sim' title='Built-in Function' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;LEDAutoOffColour&quot;' />
							<argument exp='.OffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='Body' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='BGColor' />
						</command>
						<command class_type='call' title='Call Macro' macro='ClearDigits' />
						<command class_type='sim' title='Simulation' macro='Component.Property.GetValue' >
							<return exp='.TempStr' />
							<argument exp='this' />
							<argument exp='&quot;LabelColor&quot;' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelA' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelB' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelC' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelD' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelE' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelF' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.SetValue' >
							<argument exp='LabelG' />
							<argument exp='&quot;colTextColour&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='decision' title='Decision' exp='ShowSegLabels = 1' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelA' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelB' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelC' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelD' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelE' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelF' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelG' />
									<argument exp='1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelA' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelB' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelC' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelD' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelE' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelF' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelG' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Stop' description='Broadcast to all components that simulation has stopped' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='User Macro' macro='ClearDigits' />
						<command class_type='decision' title='Decision' exp='ShowSegLabels = 1' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelA' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelB' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelC' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelD' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelE' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelF' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelG' />
									<argument exp='1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ClearDigit1' description='Clears Digit 1 Including decimal point' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentA' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentB' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentC' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentD' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentE' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentF' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d1segmentG' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentDP' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ClearDigit0' description='Clears Digit 0 Including decimal point' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentA' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentB' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentC' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentD' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentE' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentF' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
							<argument exp='d0segmentG' />
							<argument exp='&quot;colFill&quot;' />
							<argument exp='LEDAutoOffColour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Initialize' description='Initialisation routine for the component once the component is linked to its parent' statediag='0' >
						<return name='Return' type='u32' description='Non-zero to prevent initialisation' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' disable='1' macro='Ev_PropertyChange' />
						<command class_type='call' title='Call Macro' macro='ClearDigits' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBrightness' description='Controls the brightness of the 7-seg displays' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Brightness' type='u8' description='Range: 0-7 - 0=Darkest, 7=Brightest' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='On' type='b1' description='0 = Display Off, 1 = Display On' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='In Range?' exp='.Brightness &lt; 8' swap='0' >
							<flowline >
								<command class_type='calculation' title='Update Brightness Control Variable' >
									<exp exp='Brightness = 0x80 | .Brightness' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' exp='.On' swap='0' >
							<flowline >
								<command class_type='calculation' title='Update Brightness Control Variable' >
									<exp exp='Brightness = Brightness | 0x08' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_PinChange' description='Sent during simulation if a connected port pin changes' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' macro='Prv_Update' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ShowDigit3' description='Updates a digit in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.Value &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Retrieve from const' >
									<exp exp='.Value = DataLUT[.Value]' />
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x01' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x02' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x04' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x08' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x10' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x20' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x40' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d3segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentA' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentB' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentC' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentD' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentE' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentF' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentG' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ShowSegmentsSim' description='Allows for manual control over the display segments.
The colon character can also be controlled when writing to digit 1.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Digit' type='u8' description='Which of the four digits to change. (0...3)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Segments' type='u8' description='The binary segment value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Digit' >
							<case >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='PrvSetSegs0' >
										<argument exp='.Segments' />
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='PrvSetSegs1' >
										<argument exp='.Segments' />
									</command>
									<command class_type='decision' title='Decision' exp='.Segments &amp; 0x80' swap='0' >
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;color&quot;' />
												<argument exp='brightnessColour' />
											</command>
										</flowline>
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;color&quot;' />
												<argument exp='OffColor' />
											</command>
										</flowline>
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='PrvSetSegs2' >
										<argument exp='.Segments' />
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='PrvSetSegs3' >
										<argument exp='.Segments' />
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ShowDigit2' description='Updates a digit in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.Value &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Retrieve from const' >
									<exp exp='.Value = DataLUT[.Value]' />
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x01' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x02' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x04' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x08' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x10' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x20' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x40' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d2segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentA' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentB' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentC' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentD' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentE' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentF' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentG' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TM1637_Stop' description='Send stop signal to TM1637' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Perform Stop Sequence' >
							<exp exp='CLK_PIN = 0' />
							<exp exp='DATA_PIN = 0' />
							<exp exp='CLK_PIN = 1' />
							<exp exp='DATA_PIN = 1' />
							<exp exp='' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ShowDigit1' description='Updates a digit in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.Value &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Retrieve from const' >
									<exp exp='.Value = DataLUT[.Value]' />
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x01' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x02' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x04' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x08' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x10' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x20' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x40' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d1segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentA' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentB' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentC' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentD' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentE' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentF' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentG' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ShowDigit0' description='Updates a digit in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.Value &lt; 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Retrieve from const' >
									<exp exp='.Value = DataLUT[.Value]' />
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x01' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentA' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x02' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentB' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x04' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentC' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x08' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentD' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x10' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentE' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x20' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentF' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Value &amp; 0x40' swap='0' >
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='brightnessColour' />
										</command>
									</flowline>
									<flowline >
										<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
											<argument exp='d0segmentG' />
											<argument exp='&quot;colFill&quot;' />
											<argument exp='LEDAutoOffColour' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentA' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentB' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentC' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentD' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentE' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentF' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentG' />
									<argument exp='&quot;colFill&quot;' />
									<argument exp='LEDAutoOffColour' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ShowDigitSim' description='Set the number and decimal point to be displayed by the chosen digit.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Digit' type='u8' description='Which digit of the display to change the setting for. (0...3)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value' type='u8' description='The number value to show at the selected digit.  (0...9)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Colon' type='u8' description='Whether to display the colon 0 = Don&apos;t Show,  1 = Show' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='delay' title='Delay to preven dispaly corruption' exp='50' type='1' />
						<command class_type='comment' title='' comment='Configure the segments first.' textarea='12,0,12,0' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Digit' >
							<case >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='Prv_ShowDigit0' >
										<argument exp='.Value' />
									</command>
									<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='brightnessColour' />
											</command>
										</flowline>
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='LEDAutoOffColour' />
											</command>
										</flowline>
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='Prv_ShowDigit1' >
										<argument exp='.Value' />
									</command>
									<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='brightnessColour' />
											</command>
										</flowline>
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='LEDAutoOffColour' />
											</command>
										</flowline>
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='Prv_ShowDigit2' >
										<argument exp='.Value' />
									</command>
									<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='brightnessColour' />
											</command>
										</flowline>
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='LEDAutoOffColour' />
											</command>
										</flowline>
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='call' title='Call Macro' macro='Prv_ShowDigit3' >
										<argument exp='.Value' />
									</command>
									<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='brightnessColour' />
											</command>
										</flowline>
										<flowline >
											<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
												<argument exp='d0segmentDP' />
												<argument exp='&quot;colFill&quot;' />
												<argument exp='LEDAutoOffColour' />
											</command>
										</flowline>
									</command>
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_Update' description='Updates the Quad display' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TM1637_Start' description='Send start signal to TM1637' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Perform Start Sequence' >
							<exp exp='CLK_PIN = 1' />
							<exp exp='DATA_PIN = 1' />
							<exp exp='DATA_PIN = 0' />
							<exp exp='CLK_PIN = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBrightnessSim' description='Controls the brightness of the 7-seg displays' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Brightness' type='u8' description='Range: 0-7 - 0=Darkest, 7=Brightest' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='On' type='b1' description='0 = Display Off, 1 = Display On' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='blueMax' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='greenMax' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='redMax' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='BrightnessValue' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='RedMin' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='GreenMin' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='BlueMin' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='LedsBrightnessValue' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.On' swap='0' >
							<flowline >
								<command class_type='decision' title='In Range?' exp='.Brightness &lt; 8' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.blueMax = ((FGColor &gt;&gt; 16) AND 255)' />
											<exp exp='.blueMin = ((LEDAutoOffColour &gt;&gt; 16) AND 255)' />
										</command>
										<command class_type='decision' title='Decision' exp='(.blueMax - .BlueMin) &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' component='MapFunction1' macro='MapUlong' >
													<return exp='.BrightnessValue' />
													<argument exp='.Brightness' />
													<argument exp='0' />
													<argument exp='7' />
													<argument exp='.BlueMin+40' />
													<argument exp='.blueMax' />
													<argument exp='1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='brightnessColour = (.BrightnessValue &lt;&lt; 16)' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.greenMax = ((FGColor &gt;&gt; 8) AND 255)' />
											<exp exp='.greenMin = ((LEDAutoOffColour &gt;&gt; 8) AND 255)' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.BrightnessValue = 0' />
										</command>
										<command class_type='decision' title='Decision' exp='(.greenMax - .greenMin) &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' component='MapFunction1' macro='MapUlong' >
													<return exp='.BrightnessValue' />
													<argument exp='.Brightness' />
													<argument exp='0' />
													<argument exp='7' />
													<argument exp='.greenMin+40' />
													<argument exp='.greenMax' />
													<argument exp='1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='brightnessColour = brightnessColour | (.BrightnessValue &lt;&lt; 8)' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.redMax = FGColor AND 255' />
											<exp exp='.redMin = LEDAutoOffColour AND 255' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.BrightnessValue = 0' />
										</command>
										<command class_type='decision' title='Decision' exp='(.redMax - .redMin) &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' component='MapFunction1' macro='MapUlong' >
													<return exp='.BrightnessValue' />
													<argument exp='.Brightness' />
													<argument exp='0' />
													<argument exp='7' />
													<argument exp='.redMin+40' />
													<argument exp='.redMax' />
													<argument exp='1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='brightnessColour = brightnessColour | .BrightnessValue' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='displayOn = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='displayOn = 0' />
								</command>
								<command class_type='call' title='User Macro' macro='ClearDigits' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ShowDigitsSim' description='Set the number and decimal point to be displayed in the given digit of the display.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Value0' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value1' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value2' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value3' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Colon' type='u8' description='Whether to show the colon character.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
							<argument exp='0' />
							<argument exp='.Value0' />
							<argument exp='.Colon' />
						</command>
						<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
							<argument exp='1' />
							<argument exp='.Value1' />
							<argument exp='.Colon' />
						</command>
						<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
							<argument exp='2' />
							<argument exp='.Value2' />
							<argument exp='.Colon' />
						</command>
						<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
							<argument exp='3' />
							<argument exp='.Value3' />
							<argument exp='.Colon' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ShowSegments' description='Allows for manual control over the display segments.
The colon character can also be controlled when writing to digit 1.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Digit' type='u8' description='Which of the four digits to change. (0...3)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Segments' type='u8' description='The binary segment value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.Digit &lt; 4' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' macro='TM1637_Start' />
								<command class_type='call' title='ADDR_FIXED' macro='TM1637_WriteByte' >
									<argument exp='0x44' />
								</command>
								<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
								<command class_type='call' title='Call Macro' macro='TM1637_Start' />
								<command class_type='call' title='Segment address' macro='TM1637_WriteByte' >
									<argument exp='.Digit | 0xC0' />
								</command>
								<command class_type='call' title='Character to display 0-15' macro='TM1637_WriteByte' >
									<argument exp='.Segments' />
								</command>
								<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
								<command class_type='call' title='Call Macro' macro='TM1637_Start' />
								<command class_type='call' title='ADDR_FIXED' macro='TM1637_WriteByte' >
									<argument exp='Brightness' />
								</command>
								<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ShowDigit' description='Set the number to be displayed in the given digit of the display.
The colon character can also be controlled when writing to digit 1.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Digit' type='u8' description='Which of the four digits to change. (0...3)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Value' type='u8' description='The number value to set the digit to (0...15), 16=Clear' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Colon' type='u8' description='Whether to display the colon 0 = Don&apos;t Show,  1 = Show' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.Digit &lt; 4' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' macro='TM1637_Start' />
								<command class_type='call' title='ADDR_FIXED' macro='TM1637_WriteByte' >
									<argument exp='0x44' />
								</command>
								<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
								<command class_type='call' title='Call Macro' macro='TM1637_Start' />
								<command class_type='call' title='Segment address' macro='TM1637_WriteByte' >
									<argument exp='.Digit | 0xC0' />
								</command>
								<command class_type='decision' title='Decision' exp='.Value &lt; 16' swap='0' >
									<flowline >
										<command class_type='calculation' title='Convert value 0-15 to character pattern' >
											<exp exp='.Value = DataLUT[.Value]' />
										</command>
										<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='.Value = .Value | 0x80' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Character to display 0-15' macro='TM1637_WriteByte' >
											<argument exp='.Value' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' exp='.Colon' swap='0' >
											<flowline >
												<command class_type='call' title='Clear display with DP' macro='TM1637_WriteByte' >
													<argument exp='0x80' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Clear display' macro='TM1637_WriteByte' >
													<argument exp='0x00' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
								<command class_type='call' title='Call Macro' macro='TM1637_Start' />
								<command class_type='call' title='ADDR_FIXED' macro='TM1637_WriteByte' >
									<argument exp='Brightness' />
								</command>
								<command class_type='call' title='Call Macro' macro='TM1637_Stop' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TM1637_WriteByte' description='Sends a data byte to the 7Seg IC.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='count1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ack' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Initialise to bit 0' >
							<exp exp='.i = 0' />
						</command>
						<command class_type='loop' title='Loop through 8 bits in a byte' type='0' exp='.i &lt; 8' for1='' for3='' >
							<flowline >
								<command class_type='calculation' title='Clock Pin Low' >
									<exp exp='CLK_PIN = 0' />
								</command>
								<command class_type='decision' title='Decision' exp='.Data &amp; 0x01' swap='0' >
									<flowline >
										<command class_type='calculation' title='Data Pin High' >
											<exp exp='DATA_PIN = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Data Pin Low' >
											<exp exp='DATA_PIN = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Shift data by one bit' >
									<exp exp='.Data = .Data &gt;&gt; 1' />
								</command>
								<command class_type='calculation' title='Clock Pin High' >
									<exp exp='CLK_PIN = 1' />
								</command>
								<command class_type='calculation' title='Move to next bit' >
									<exp exp='.i = .i + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Clock Pin Low' >
							<exp exp='CLK_PIN = 0' />
						</command>
						<command class_type='calculation' title='Data Pin High' >
							<exp exp='DATA_PIN = 1' />
						</command>
						<command class_type='calculation' title='Clock Pin High' >
							<exp exp='CLK_PIN = 1' />
						</command>
						<command class_type='calculation' title='Data Pin Input' >
							<exp exp='.ack = DATA_PIN' />
						</command>
						<command class_type='delay' title='Delay' exp='50' type='0' />
						<command class_type='calculation' title='Read Data Pin Input' >
							<exp exp='.ack = DATA_PIN' />
						</command>
						<command class_type='decision' title='Decision' exp='.ack = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Data Pin Low' >
									<exp exp='DATA_PIN = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Delay' exp='50' type='0' />
						<command class_type='calculation' title='Data Pin High' >
							<exp exp='DATA_PIN = 1' />
						</command>
						<command class_type='delay' title='Delay' exp='50' type='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='PrvSetSegs3' description='Manual Control of the segments in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.value &amp; 0x01' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x02' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x04' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x08' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x10' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x20' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x40' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d3segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrvSetSegs2' description='Manual Control of the segments in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.value &amp; 0x01' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x02' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x04' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x08' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x10' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x20' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x40' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d2segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_AddVar' description='Sent to a component to allow dynamic amendment of global constant declarations' statediag='0' >
						<return name='Return' type='u32' description='Non-zero to include definition - initialised on call' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='VarName' type='T8' description='The original Flowcode variable' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='ExpandName' type='T8' description='The expanded variable name' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='Expansion' type='T8*' description='The expanded string to inline to the code' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.Return = 1' />
						</command>
						<command class_type='decision' title='Decision' exp='Compare$(.VarName,&quot;brightnessColour&quot;,1)' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Return = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='Compare$(.VarName,&quot;OffColor&quot;,1)' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Return = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='Compare$(.VarName,&quot;displayOn&quot;,1)' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Return = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrvSetSegs1' description='Manual Control of the segments in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.value &amp; 0x01' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x02' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x04' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x08' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x10' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x20' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x40' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d1segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrvSetSegs0' description='Manual Control of the segments in simulation.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='value' type='u8' description='Value to display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.value &amp; 0x01' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentA' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x02' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentB' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x04' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentC' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x08' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentD' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x10' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentE' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x20' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentF' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='.value &amp; 0x40' swap='0' >
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='brightnessColour' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Panel' macro='Component.Property.SetValue' >
									<argument exp='d0segmentG' />
									<argument exp='&quot;color&quot;' />
									<argument exp='OffColor' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ClearDigits' description='Clear all digits of the display.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay to preven dispaly corruption' exp='50' type='1' />
						<command class_type='call' title='Call Macro' macro='Prv_ClearDigit0' />
						<command class_type='call' title='Call Macro' macro='Prv_ClearDigit1' />
						<command class_type='call' title='Call Macro' macro='Prv_ClearDigit2' />
						<command class_type='call' title='Call Macro' macro='Prv_ClearDigit3' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Start' description='Broadcast to all components that simulation is starting' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='brightnessColour = FGColor' />
						</command>
						<command class_type='call' title='Call Macro' macro='Ev_Initialize' />
						<command class_type='decision' title='Decision' exp='ShowSegLabels = 1' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelA' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelB' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelC' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelD' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelE' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelF' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' macro='Component.SetVisible' >
									<argument exp='LabelG' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='bright' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='comment' title='' comment='Component Version Information;
3, 3.0, 09-12-24, MW, improved component simuulation;
4, 4.0, 04-02-25, MW, Adding simulation and embedded SetBrightness function;
5, 5.0, 17-08-26, MW, Fixed Simulation ShowDigitSim so Colon remains on;
5, 5.0, 17-08-26, MW, Fixed embedded SetBrightnes On/Off function; 
5, 5.0, 17-08-26, MW, Changed wording for Colon parameter within SetBrightness function; ; ' textarea='12,0,12,0' />
						<command class_type='call' title='Call Macro' macro='ClearDigits' />
						<command class_type='call' title='User Macro' break='1' macro='ShowDigitsSim' >
							<argument exp='0' />
							<argument exp='1' />
							<argument exp='2' />
							<argument exp='3' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='User Macro' break='1' disable='1' macro='ShowDigitSim' >
							<argument exp='0' />
							<argument exp='2' />
							<argument exp='1' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' for1='' for3='' >
							<flowline />
						</command>
						<command class_type='call' title='User Macro' macro='SetBrightnessSim' >
							<argument exp='4' />
							<argument exp='1' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' for1='' for3='' >
							<flowline >
								<command class_type='loop' title='Loop' type='0' exp='1' for1='' for3='' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
											<argument exp='3' />
											<argument exp='.bright MOD 10' />
											<argument exp='1' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.bright = .bright + 1' />
										</command>
										<command class_type='delay' title='Delay' exp='200' type='1' />
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='2' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='2' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='3' />
									<argument exp='3' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='3' />
									<argument exp='3' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='2' />
									<argument exp='2' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='2' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigit' >
									<argument exp='3' />
									<argument exp='3' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitSim' >
									<argument exp='3' />
									<argument exp='3' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Macro' disable='1' macro='ShowDigits' >
									<argument exp='5' />
									<argument exp='6' />
									<argument exp='7' />
									<argument exp='8' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitsSim' >
									<argument exp='5' />
									<argument exp='6' />
									<argument exp='7' />
									<argument exp='8' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Macro' macro='ShowDigits' >
									<argument exp='5' />
									<argument exp='6' />
									<argument exp='7' />
									<argument exp='8' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitsSim' >
									<argument exp='5' />
									<argument exp='6' />
									<argument exp='7' />
									<argument exp='8' />
									<argument exp='1' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Macro' macro='ShowDigits' >
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitsSim' >
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Macro' macro='ShowDigits' >
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='ShowDigitsSim' >
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='16' />
									<argument exp='1' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='.bright = (.bright + 1) &amp; 7' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='GdiShape' codename='Body' panelId='-1' x='120.013' y='50.229' z='-18.1875' xsz='73.3569' ysz='30.1682' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='nType' data='  3' />
					<value target='iSubStyle' data='0' />
					<value target='iRounding' data='25' />
					<value target='colFill' data='5921370' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.500000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='7895160' />
					<value target='colOutlineGradient' data='16777215' />
					<value target='nOutlineStyle' data='  3' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='bTooltipEnable' data='0' />
					<value target='sTooltipText' data='' />
					<value target='sTooltipDesc' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentDP' panelId='-1' x='94.1567' y='50' z='1.75913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,104,-56
AA,135,-56,1,1
AA,104,-56,1,1
SP
SS,88,72
AA,119,72,1,1
AA,88,72,1,1' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentA' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,65,-145
AA,68,-142,4,3
AL,64,-116
AL,61,-114
AL,-31,-114
AL,-33,-117
AL,-30,-142
AA,-27,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentB' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,82,-145
AA,98,-130,18,17
AL,82,-6
AL,80,-3
AL,73,-3
AL,56,-22
AL,72,-142
AA,75,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentC' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,79,3
AL,62,131
AA,45,144,18,17
AL,36,144,
AA,33,142,5,4
AL,50,21
AL,72,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentD' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,30,113
AA,31,116,5,4
AL,28,141.
AA,25,143,4,5
AL,-66,143
AA,-69,141,4,3
AL,-66,115
AA,-63,112,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentE' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-75,1
AL,-58,22
AL,-58,22
AL,-74,139
AA,-77,143,8,7
AL,-86,142
AA,-100,127,18,17
AL,-84,5
AA,-80,1,5,4' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentF' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-49,-145
AL,-37,-145
AA,-34,-142,4,3
AL,-50,-25
AL,-74,-4
AL,-80,-4
AL,-82,-6
AL,-65,-130
AA,-49,-145,18,17' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d0segmentG' panelId='-1' x='30.088' y='49.7599' z='1.50913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-50,-16
AL,54,-15
AL,66,-1
AL,66,1
AL,48,15
AL,-55,15
AL,-67,2
AL,-67,-2' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelA' panelId='-1' x='214.347' y='85.2391' z='2.47262' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='A' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelB' panelId='-1' x='228.106' y='69.2667' z='2.37262' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='B' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelC' panelId='-1' x='222.744' y='28.1821' z='2.37262' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='C' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelD' panelId='-1' x='206.265' y='14.7609' z='2.27262' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='D' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelE' panelId='-1' x='191.894' y='30.1642' z='2.27262' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='E' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelF' panelId='-1' x='196.574' y='67.9452' z='28.2226' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='F' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='LabelG' panelId='-1' x='210.425' y='49.7643' z='28.1226' xsz='3.90016' ysz='7.80032' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='G' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3.000000' />
					<value target='bScaleWidth' data='1' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='16777215' />
					<value target='colTextGradient' data='255' />
					<value target='nGradient' data='  0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentA' panelId='-1' x='150' y='50' z='-0.24087' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,65,-145
AA,68,-142,4,3
AL,64,-116
AL,61,-114
AL,-31,-114
AL,-33,-117
AL,-30,-142
AA,-27,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentB' panelId='-1' x='150' y='50' z='0.00913' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,82,-145
AA,98,-130,18,17
AL,82,-6
AL,80,-3
AL,73,-3
AL,56,-22
AL,72,-142
AA,75,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentC' panelId='-1' x='150' y='50' z='-0.24087' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,79,3
AL,62,131
AA,45,144,18,17
AL,36,144,
AA,33,142,5,4
AL,50,21
AL,72,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentD' panelId='-1' x='150' y='50' z='-0.24087' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,30,113
AA,31,116,5,4
AL,28,141.
AA,25,143,4,5
AL,-66,143
AA,-69,141,4,3
AL,-66,115
AA,-63,112,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentE' panelId='-1' x='150' y='50' z='-0.24087' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-75,1
AL,-58,22
AL,-58,22
AL,-74,139
AA,-77,143,8,7
AL,-86,142
AA,-100,127,18,17
AL,-84,5
AA,-80,1,5,4' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentF' panelId='-1' x='150' y='50' z='-0.24087' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-49,-145
AL,-37,-145
AA,-34,-142,4,3
AL,-50,-25
AL,-74,-4
AL,-80,-4
AL,-82,-6
AL,-65,-130
AA,-49,-145,18,17' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d2segmentG' panelId='-1' x='150' y='50' z='-0.240869' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-50,-16
AL,54,-15
AL,66,-1
AL,66,1
AL,48,15
AL,-55,15
AL,-67,2
AL,-67,-2' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentA' panelId='-1' x='90' y='50' z='0.27262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,65,-145
AA,68,-142,4,3
AL,64,-116
AL,61,-114
AL,-31,-114
AL,-33,-117
AL,-30,-142
AA,-27,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentB' panelId='-1' x='90' y='50' z='0.52262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,82,-145
AA,98,-130,18,17
AL,82,-6
AL,80,-3
AL,73,-3
AL,56,-22
AL,72,-142
AA,75,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentC' panelId='-1' x='90' y='50' z='0.27262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,79,3
AL,62,131
AA,45,144,18,17
AL,36,144,
AA,33,142,5,4
AL,50,21
AL,72,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentD' panelId='-1' x='90' y='50' z='0.27262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,30,113
AA,31,116,5,4
AL,28,141.
AA,25,143,4,5
AL,-66,143
AA,-69,141,4,3
AL,-66,115
AA,-63,112,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentE' panelId='-1' x='90' y='50' z='0.27262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-75,1
AL,-58,22
AL,-58,22
AL,-74,139
AA,-77,143,8,7
AL,-86,142
AA,-100,127,18,17
AL,-84,5
AA,-80,1,5,4' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentF' panelId='-1' x='90' y='50' z='0.27262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-49,-145
AL,-37,-145
AA,-34,-142,4,3
AL,-50,-25
AL,-74,-4
AL,-80,-4
AL,-82,-6
AL,-65,-130
AA,-49,-145,18,17' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d1segmentG' panelId='-1' x='90' y='50' z='0.27262' xsz='14.5768' ysz='17.2637' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-50,-16
AL,54,-15
AL,66,-1
AL,66,1
AL,48,15
AL,-55,15
AL,-67,2
AL,-67,-2' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentA' panelId='-1' x='210' y='50' z='0.52262' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,65,-145
AA,68,-142,4,3
AL,64,-116
AL,61,-114
AL,-31,-114
AL,-33,-117
AL,-30,-142
AA,-27,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentB' panelId='-1' x='210' y='50' z='0.52262' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,82,-145
AA,98,-130,18,17
AL,82,-6
AL,80,-3
AL,73,-3
AL,56,-22
AL,72,-142
AA,75,-145,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentC' panelId='-1' x='210' y='50' z='0.52262' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,79,3
AL,62,131
AA,45,144,18,17
AL,36,144,
AA,33,142,5,4
AL,50,21
AL,72,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentD' panelId='-1' x='210' y='50' z='0.52262' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,30,113
AA,31,116,5,4
AL,28,141.
AA,25,143,4,5
AL,-66,143
AA,-69,141,4,3
AL,-66,115
AA,-63,112,4,3' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentE' panelId='-1' x='210' y='50' z='0.52262' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-75,1
AL,-58,22
AL,-58,22
AL,-74,139
AA,-77,143,8,7
AL,-86,142
AA,-100,127,18,17
AL,-84,5
AA,-80,1,5,4' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentF' panelId='-1' x='210' y='50' z='0.772621' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-49,-145
AL,-37,-145
AA,-34,-142,4,3
AL,-50,-25
AL,-74,-4
AL,-80,-4
AL,-82,-6
AL,-65,-130
AA,-49,-145,18,17' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiComplexShape' codename='d3segmentG' panelId='-1' x='210' y='50' z='0.522621' xsz='14.3521' ysz='16.9976' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sCode' data='SS,-50,-16
AL,54,-15
AL,66,-1
AL,66,1
AL,48,15
AL,-55,15
AL,-67,2
AL,-67,-2' />
					<value target='bClosed' data='1' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='0.000000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='0' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='colFill' data='13056' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='  0' />
					<value target='nFillOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ccdce31d-a1a3-437a-88ba-5431745ddf6e' vmin='0' vmaj='2' codename='MapFunction1' panelId='-1' x='130' y='50' z='0' xsz='11.1416' ysz='11.1607' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='0' scadavisible='1' interactive='0' solid='0' layer='1' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='0' brightness='0' >
		<background rgb='16711680' img='' style='0' />
		<camera xe='121.184' ye='67.7314' ze='172.402' xt='121.184' yt='67.7314' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='459' dy='705' zoom='322.148' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
		<winpos ID='7005' RectRecentFloat='795,295,1920,1020' RectRecentDocked='775,183,1254,987' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
	</panel2d>
	<panel3d shadows='0' lighting='0' brightness='0' perspective='1' >
		<background rgb='8404224' img='' style='0' />
		<table rgb='8404224' img='' style='0' size='0' />
		<camera xe='125.022' ye='-125.295' ze='2741.7' xt='125.022' yt='-125.295' 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,229,654,806' RectRecentDocked='0,0,433,804' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='0' />
	<layout >
		<view type='0' name='ShowDigit' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='261' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='120' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ShowDigits' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_PropertyChange' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Initialize' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Start' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Stop' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ShowDigit3' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ShowDigit2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ShowDigit1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='65' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ShowDigit0' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='80' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ShowDigitSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ShowDigitsSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ClearDigit0' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ClearDigit1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearDigits' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ClearDigit2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ClearDigit3' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TM1637_WriteByte' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TM1637_Stop' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TM1637_Start' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_Update' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_PinChange' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBrightnessSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ShowSegmentsSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ShowSegments' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrvSetSegs3' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrvSetSegs2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrvSetSegs1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrvSetSegs0' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBrightness' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_AddVar' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ShowDigit' mode='3' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA1AEAAB8DAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
