<?xml version='1.0' encoding='UTF-8' ?>
<OpenSCADA>
    <!--
    This is the OpenSCADA configuration file.
    -->
    <station id="WorkStation">
	<!--
	Description of the internal parameters of the station.
	The station is the OpenSCADA program.
	-->
	<!--<prm id="StName">Work station</prm>-->
	<prm id="WorkDB">SQLite.GenDB</prm>
	<prm id="LogTarget">10</prm>
	<prm id="SaveAtExit">0</prm>
	<prm id="SavePeriod">0</prm>

	<node id="sub_BD">
	    <prm id="SYSStPref">0</prm>
	    <tbl id="DB">
		<fld ID="GenDB" TYPE="SQLite" NAME="Main DB" ADDR="St.db" CODEPAGE="UTF-8" />
	    <fld ID="OscadaLibs" TYPE="SQLite" ADDR="../LibsDB/OscadaLibs.db" CODEPAGE="UTF-8" EN="1" /><fld ID="i2c_templates" TYPE="SQLite" ADDR="./i2c_t.db" CODEPAGE="UTF-8" EN="1" /></tbl>
	</node>

	<node id="sub_Security">
	</node>

	<node id="sub_ModSched">
	    <prm id="ModAllow">*</prm>
	    <prm id="ModDeny" />
	    <prm id="ChkPer">0</prm>
	</node>

	<node id="sub_Transport">
	    <tbl id="Transport_in">
		<fld ID="WEB_1" MODULE="Sockets" NAME="Main WWW-interface" DESCRIPT="Main transport of the WEB interfaces." DESCRIPT_uk="Основний транспорт WEB інтерфейсів." DESCRIPT_ru="Основной транспорт WEB интерфейсов." ADDR="TCP::10002:0" PROT="HTTP" START="1">
		    <A_PRMS>&lt;prms MaxQueue="10" MaxClients="100" MaxClientsPerHost="25" BufLen="5" KeepAliveReqs="0" KeepAliveTm="5" /&gt;</A_PRMS>
		</fld>
		<fld ID="WEB_2" MODULE="Sockets" NAME="Reserve WWW-interface" DESCRIPT="Reserve transport of the WEB interfaces." DESCRIPT_uk="Резервний транспорт WEB інтерфейсів." DESCRIPT_ru="Резервный транспорт WEB интерфейсов." ADDR="TCP::10004:0" PROT="HTTP" START="1">
		    <A_PRMS>&lt;prms MaxQueue="10" MaxClients="100" MaxClientsPerHost="25" BufLen="5" KeepAliveReqs="0" KeepAliveTm="5" /&gt;</A_PRMS>
		</fld>
		<fld ID="CNTR" MODULE="Sockets" NAME="OpenSCADA control interface" DESCRIPT="Main control interface of OpenSCADA" DESCRIPT_uk="Основний інтерфейс контролю OpenSCADA" DESCRIPT_ru="Основной интерфейс контроля OpenSCADA" ADDR="TCP::10005:1" PROT="SelfSystem" START="1">
		    <A_PRMS>&lt;prms MaxQueue="10" MaxClients="20" MaxClientsPerHost="5" BufLen="5" KeepAliveReqs="0" KeepAliveTm="60" /&gt;</A_PRMS>
		</fld>
	    </tbl>
	</node>

	<node id="sub_DAQ"><prm id="tmplib" /><prm id="tmplib_i2c_dev_io" /><prm id="tmplib_i2c_dev" />
	</node>

	<node id="sub_Archive">
	    <prm id="MessBufSize">1000</prm>
	    <prm id="MessPeriod">5</prm>
	    <prm id="ValPeriod">1000</prm>
	    <prm id="ValPriority">10</prm>
	</node>

	<node id="sub_UI">
	    <node id="mod_QTStarter">
		<prm id="StartMod">QTCfg</prm>
		<prm id="CloseToTray">0</prm>
		<prm id="Style" />
		<prm id="Palette" />
		<prm id="StyleSheets" />
		<tbl id="LookFeel">
		    <fld NAME="Typical TDE">
			<PALETTE>#000000, #dddfe4, #ffffff, #ffffff, #555555, #c7c7c7, #000000, #ffffff, #000000, #ffffff, #efefef, #000000, #678db2, #ffffff, #0000ee, #52188b
#808080, #dddfe4, #ffffff, #ffffff, #555555, #c7c7c7, #c7c7c7, #ffffff, #808080, #ffffff, #efefef, #000000, #567594, #ffffff, #0000ee, #52188b
#000000, #dddfe4, #ffffff, #ffffff, #555555, #c7c7c7, #000000, #ffffff, #000000, #ffffff, #efefef, #000000, #678db2, #ffffff, #0000ee, #52188b</PALETTE>
		    </fld>
		    <fld NAME="Blue Slate">
			<PALETTE>#000000, #9db9c8, #f6fcff, #c9dae3, #4e5c64, #697b85, #000000, #bfe2f4, #000000, #c3c3c3, #9db9c8, #000000, #558097, #ffffff, #0000ee, #52188b, #b4b4b4, #000000, #ffffdc, #000000
#808080, #9db9c8, #f6fcff, #b5d5e6, #4e5c64, #697b85, #808080, #bfe2f4, #808080, #c3c3c3, #9db9c8, #000000, #558097, #808080, #0000ee, #52188b, #b4b4b4, #000000, #ffffdc, #000000
#000000, #9db9c8, #f6fcff, #b5d5e6, #4e5c64, #697b85, #000000, #bfe2f4, #000000, #c3c3c3, #9db9c8, #000000, #558097, #ffffff, #0000ee, #52188b, #b4b4b4, #000000, #ffffdc, #000000</PALETTE>
		    </fld>
		    <fld NAME="Blue Darkness">
			<PALETTE>#ffffff, #426794, #5788c3, #4871a2, #162231, #37567b, #dcdcdc, #5788c3, #ffffff, #002a4e, #426794, #000000, #5cb3ff, #000000, #00ffff, #c0c0ff
#555555, #426794, #5788c3, #4871a2, #162231, #37567b, #37567b, #5788c3, #555555, #002a4e, #426794, #000000, #4c95d4, #ffffff, #00ffff, #c0c0ff
#ffffff, #426794, #5788c3, #4871a2, #162231, #37567b, #dcdcdc, #5788c3, #ffffff, #002a4e, #426794, #000000, #5cb3ff, #000000, #00ffff, #c0c0ff</PALETTE>
		    </fld>
		</tbl>
	    </node>
	    <node id="mod_QTCfg">
		<prm id="StartUser">root</prm>
	    </node>
	    <node id="mod_Vision">
		<prm id="StartUser">root</prm>
	    </node>
	    <node id="mod_WebCfg">
		<prm id="SessTimeLife">20</prm>
	    </node>
	</node>

    </station>
</OpenSCADA>