<root>
<document schema='101' license='50,Dev User,9QNVTP' title='' description='' target='PIC.16F.16F1937' >
	<config data='!0,fe2!10,1633%0,2%3,0%5,1%6,1%7,1%8,1%9,3%b,1%c,0%d,0%10,3%14,3%18,0%19,1%1a,1%1c,1%1d,0' clkspd='19660800' simspd='0' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='1000' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='
' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='b4f06cd3-e489-49c1-9dfa-7536a6472683' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' 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' interactive='1' solid='1' layer='0' poslock='0' macronames='$(type)_$(module)__$(macro)' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='TEST1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='PrintNumber' description='' >
						<param name='n' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' component='LCD' macro='PrintNumber' >
							<argument exp='.n' />
						</command>
						<command class_type='call' title='Call Macro' component='LCD' macro='PrintAscii' >
							<argument exp='&apos; &apos;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintHex' description='' >
						<param name='x' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.x &gt; 9' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.x = .x + &apos;A&apos; - 10' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.x = .x + &apos;0&apos;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' component='LCD' macro='PrintAscii' >
							<argument exp='.x' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintValue' description='' >
						<param name='idx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='str' type='T8*' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<command class_type='decision' title='Decision' exp='.str[0]' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='LCD' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' macro='PrintNumber' >
									<argument exp='.idx' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD' macro='PrintString' >
									<argument exp='.str' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Print2Hex' description='' >
						<param name='x' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' macro='PrintHex' >
							<argument exp='(.x &gt;&gt; 4) &amp; 0x0f' />
						</command>
						<command class_type='call' title='Call Macro' macro='PrintHex' >
							<argument exp='.x &amp; 0x0f' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Indicate' description='' >
						<param name='c' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' component='LCD' macro='Cursor' >
							<argument exp='15' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' component='LCD' macro='PrintAscii' >
							<argument exp='.c' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='calculation' title='Calculation' >
							<exp exp='TEST1 = 1' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Call Macro' component='LCD' macro='Start' />
						<command class_type='call' title='Simulation' component='LCD' macro='PrintString' >
							<argument exp='&quot;On&quot;' />
						</command>
						<command class_type='call' title='Call Macro' component='Webserver_EB023_00_22' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='SetOutValue' >
							<argument exp='0' />
							<argument exp='&quot;Out 0&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='SetOutValue' >
							<argument exp='1' />
							<argument exp='&quot;Out 1&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='SetOutValue' >
							<argument exp='2' />
							<argument exp='&quot;Out 2&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='SetOutValue' >
							<argument exp='3' />
							<argument exp='&quot;Out 3&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='SetOutValue' >
							<argument exp='4' />
							<argument exp='&quot;Out 4&quot;' />
						</command>
						<command class_type='call' title='Simulation' component='LCD' macro='PrintString' >
							<argument exp='&quot; Init&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='CreateServerSocket' >
							<return exp='ret' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='80' />
						</command>
						<command class_type='decision' title='Decision' exp='ret' swap='0' >
							<flowline >
								<command class_type='call' title='Simulation' component='LCD' macro='PrintString' >
									<argument exp='&quot; OK&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Simulation' component='LCD' macro='PrintString' >
									<argument exp='&quot; Fail&quot;' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='1' >
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' macro='Indicate' >
									<argument exp='&apos;-&apos;' />
								</command>
								<command class_type='delay' title='Delay' exp='500' type='1' />
								<command class_type='call' title='Call Macro' component='Webserver_EB023_00_22' macro='CheckSocketActivity' >
									<return exp='ret' />
								</command>
								<command class_type='decision' title='Decision' exp='ret' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='Indicate' >
											<argument exp='&apos;&gt;&apos;' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='TEST1 = TEST1 + 1' />
										</command>
										<command class_type='sim' title='Simulation' macro='Debug.PrintLn' >
											<argument exp='&quot;request &quot; + tostring$(TEST1)' />
										</command>
										<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='GetInValue' >
											<return exp='value' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Macro' macro='PrintValue' >
											<argument exp='0' />
											<argument exp='value' />
										</command>
										<command class_type='sim' title='Simulation' macro='Debug.PrintLn' >
											<argument exp='&quot; param0 = &quot; + value' />
										</command>
										<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='GetInValue' >
											<return exp='value' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Macro' macro='PrintValue' >
											<argument exp='1' />
											<argument exp='value' />
										</command>
										<command class_type='sim' title='Simulation' macro='Debug.PrintLn' >
											<argument exp='&quot; param1 = &quot; + value' />
										</command>
										<command class_type='call' title='Call Component Macro' component='Webserver_EB023_00_22' macro='GetInValue' >
											<return exp='value' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Macro' macro='PrintValue' >
											<argument exp='2' />
											<argument exp='value' />
										</command>
										<command class_type='sim' title='Simulation' macro='Debug.PrintLn' >
											<argument exp='&quot; param2 = &quot; + value' />
										</command>
										<command class_type='delay' title='Delay' exp='500' type='1' />
									</flowline>
									<flowline >
										<command class_type='call' title='Call Macro' macro='Indicate' >
											<argument exp='&apos;_&apos;' />
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' exp='500' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='7' vmaj='1' codename='LCD' x='0' y='40' z='2' xsz='200' ysz='40' zsz='4' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Pin_Data_0' data='$PORTB.0' />
					<value target='Pin_Data_1' data='$PORTB.1' />
					<value target='Pin_Data_2' data='$PORTB.2' />
					<value target='Pin_Data_3' data='$PORTB.3' />
					<value target='Pin_RS' data='$PORTB.4' />
					<value target='Pin_E' data='$PORTB.5' />
					<value target='Rows' data='2' />
					<value target='Columns' data='16' />
					<value target='BackgroundColor' data='24832' />
					<value target='LineColor' data='0' />
					<value target='TextColor' data='0' />
					<value target='Font' data='@Gulim' />
					<value target='CursorPosX' data='16' />
					<value target='CursorPosY' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9e68a715-edc2-4a98-be64-c0d02f700135' vmin='3' vmaj='1' codename='Webserver_EB023_00_22' 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' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='label' data='Web Server' />
					<value target='max_channels' data='4' />
					<value target='html_source' data='000' />
					<value target='Directory' data='E:\' />
					<value target='max_pages' data='2' />
					<value target='name1' data='index.htm' />
					<value target='html1' data='&lt;html&gt;
&lt;body&gt;
&lt;h1&gt;
test page index.htm
&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;' />
					<value target='name2' data='page2.htm' />
					<value target='html2' data='&lt;html&gt;
&lt;body&gt;
&lt;hr&gt;
%0
&lt;hr&gt;
%1
&lt;hr&gt;
%2
&lt;hr&gt;
%3
&lt;hr&gt;
%4
&lt;hr&gt;
%% and %a
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='name3' data='page3.htm' />
					<value target='html3' data='' />
					<value target='name4' data='page4.htm' />
					<value target='html4' data='' />
					<value target='channel' data='001' />
					<value target='MOSI_pin' data='$PORTC.5' />
					<value target='MISO_pin' data='$PORTC.4' />
					<value target='CLK_pin' data='$PORTC.3' />
					<value target='CS_pin' data='$PORTC.1' />
					<value target='int_pin' data='$PORTC.0' />
					<value target='MosiRemap' data='' />
					<value target='MisoRemap' data='' />
					<value target='ClkRemap' data='' />
					<value target='gateway0' data='192' />
					<value target='gateway1' data='168' />
					<value target='gateway2' data='1' />
					<value target='gateway3' data='1' />
					<value target='subnet0' data='255' />
					<value target='subnet1' data='255' />
					<value target='subnet2' data='255' />
					<value target='subnet3' data='0' />
					<value target='ip0' data='192' />
					<value target='ip1' data='168' />
					<value target='ip2' data='1' />
					<value target='ip3' data='212' />
					<value target='mac0' data='0' />
					<value target='mac1' data='8' />
					<value target='mac2' data='221' />
					<value target='mac3' data='123' />
					<value target='mac4' data='1' />
					<value target='mac5' data='2' />
					<value target='html1_n' data='1' />
					<value target='html1_1' data='&lt;html&gt;
&lt;body&gt;
&lt;h1&gt;
test page index.htm
&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;' />
					<value target='html1_2' data='' />
					<value target='html1_3' data='' />
					<value target='html1_4' data='' />
					<value target='html1_5' data='' />
					<value target='html2_n' data='2' />
					<value target='html2_1' data='&lt;html&gt;
&lt;body&gt;
&lt;hr&gt;
%0
&lt;hr&gt;
%1
&lt;hr&gt;
%2
&lt;hr&gt;
%3
&lt;hr&gt;
%4
&lt;hr&gt;' />
					<value target='html2_2' data='
%% and %a
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='html2_3' data='' />
					<value target='html2_4' data='' />
					<value target='html2_5' data='' />
					<value target='html3_n' data='0' />
					<value target='html3_1' data='' />
					<value target='html3_2' data='' />
					<value target='html3_3' data='' />
					<value target='html3_4' data='' />
					<value target='html3_5' data='' />
					<value target='html4_n' data='0' />
					<value target='html4_1' data='' />
					<value target='html4_2' data='' />
					<value target='html4_3' data='' />
					<value target='html4_4' data='' />
					<value target='html4_5' data='' />
					<value target='chunk' data='71' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='0' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='61.2657' ye='-272.239' ze='349.966' xt='0' yt='0' zt='0' xquat='-0.328225' yquat='-0.0364763' zquat='-0.104255' wquat='0.93812' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA9gIAAEMDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
