<?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">
	    <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="0"
		    DESCR="Libraries of the data sources, services and processing."
		    DESCR_uk="Бібліотеки джерел даних, служб та обробки."
		    DESCR_ru="Библиотеки источников данных, служб и обработки." />
		<fld ID="vcaBase" TYPE="SQLite" ADDR="LibsDB/vcaBase.db" CODEPAGE="UTF-8" EN="0"
		    DESCR="Graphical elements' libraries of the OpenSCADA module UI.VCAEngine."
		    DESCR_uk="Бібліотеки графічних елементів OpenSCADA модуля UI.VCAEngine."
		    DESCR_ru="Библиотеки графических элементов OpenSCADA модуля UI.VCAEngine." />
		<fld ID="vcaElectroEls" TYPE="SQLite" ADDR="LibsDB/vcaElectroEls.db" CODEPAGE="UTF-8" EN="0"
		    DESCR="Provides the mnemonic elements library of the user interface of the electrical substations and the electricity generation station."
		    DESCR_uk="Надає бібліотеку мнемонічних елементів інтерфейсу користувача електричних підстанцій та станцій генерації електрики."
		    DESCR_ru="Предоставляет библиотеку мнемонических элементов интерфейса пользователя электрических подстанций и станций генерации электрики." />
		<fld ID="vcaTest" TYPE="SQLite" ADDR="LibsDB/vcaTest.db" CODEPAGE="UTF-8" EN="0"
		    DESCR="Graphical elements' tests library."
		    DESCR_uk="Бібліотека тестів графічних елементів."
		    DESCR_ru="Библиотека тестов графических элементов." />
	    </tbl>
	</node>

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

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

	<node id="sub_Transport">
	    <tbl id="Transport_in">
		<fld ID="WEB" MODULE="Sockets" NAME="WWW-interface" DESCRIPT="WEB-interface transport."
			DESCRIPT_uk="Транспорт WEB-інтерфейсів." DESCRIPT_ru="Транспорт WEB-интерфейсов."
			ADDR="*:10002,10003,10004" PROT="HTTP" START="0">
		    <A_PRMS>&lt;prms MaxQueue="10" MaxClients="100" MaxClientsPerHost="25" BufLen="5" KeepAliveReqs="0" KeepAliveTm="60" /&gt;</A_PRMS>
		</fld>
		<fld ID="CNTR" MODULE="Sockets" NAME="Control interface" DESCRIPT="Control interface."
			DESCRIPT_uk="Інтерфейс контролю." DESCRIPT_ru="Интерфейс контроля."
			ADDR="*:10005,10006,10007" PROT="SelfSystem" START="0">
		    <A_PRMS>&lt;prms MaxQueue="10" MaxClients="20" MaxClientsPerHost="10" BufLen="5" KeepAliveReqs="0" KeepAliveTm="60" /&gt;</A_PRMS>
		</fld>
	    </tbl>
	</node>

	<node id="sub_DAQ">
	</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>

	    <tbl id="Archive_mess_proc">
		<fld ID="SYS" MODUL="FSArch" NAME="System" NAME_uk="Система" NAME_ru="Система" START="0" CATEG="/*" LEVEL="0" ADDR="ARCHIVES/MESS/SYS">
		    <A_PRMS>&lt;XML="0" MSize="10240" NFiles="30" TmSize="30" PackTm="10" CheckTm="60" PackInfoFiles="1" PrevDbl="0" PrevDblTmCatLev="0" /&gt;</A_PRMS>
		</fld>
		<fld ID="alarms" MODUL="FSArch" NAME="Alarms" NAME_uk="Порушення" NAME_ru="Нарушения" START="0" CATEG="al*" LEVEL="1" ADDR="ARCHIVES/MESS/alarms">
		    <A_PRMS>&lt;XML="0" MSize="10240" NFiles="30" TmSize="30" PackTm="10" CheckTm="60" PackInfoFiles="1" PrevDbl="1" PrevDblTmCatLev="1" /&gt;</A_PRMS>
		</fld>
		<fld ID="actions" MODUL="FSArch" NAME="User actions" NAME_uk="Дії користувача" NAME_ru="Действия пользователя" START="0" CATEG="OP*" LEVEL="1" ADDR="ARCHIVES/MESS/actions">
		    <A_PRMS>&lt;XML="0" MSize="10240" NFiles="30" TmSize="30" PackTm="10" CheckTm="60" PackInfoFiles="1" PrevDbl="0" PrevDblTmCatLev="0" /&gt;</A_PRMS>
		</fld>
	    </tbl>

	    <tbl id="Archive_val_proc">
		<fld ID="1s" MODUL="FSArch" NAME="1second (instantaneous)" NAME_uk="1секунда (миттєвий)" NAME_ru="1секунда (мгновенный)" START="0" ADDR="ARCHIVES/VAL/1s" V_PER="1" A_PER="60">
		    <A_PRMS>&lt;prms TmSize="720" NFiles="100" MaxCapacity="5000" Round="0.01" PackTm="10" CheckTm="60" PackInfoFiles="1" /&gt;</A_PRMS>
		</fld>
		<fld ID="1m" MODUL="FSArch" NAME="1minute" NAME_uk="1хвилина" NAME_ru="1минута" START="0" ADDR="ARCHIVES/VAL/1m" V_PER="60" A_PER="60">
		    <A_PRMS>&lt;prms TmSize="8600" NFiles="100" MaxCapacity="1000" Round="0.01" PackTm="10" CheckTm="60" PackInfoFiles="1" /&gt;</A_PRMS>
		</fld>
		<fld ID="1h" MODUL="FSArch" NAME="1hour" NAME_uk="1година" NAME_ru="1час" START="0" ADDR="ARCHIVES/VAL/1h" V_PER="3600" A_PER="60">
		    <A_PRMS>&lt;prms TmSize="8600" NFiles="100" MaxCapacity="1000" Round="0.01" PackTm="10" CheckTm="60" PackInfoFiles="1" /&gt;</A_PRMS>
		</fld>
	    </tbl>
	</node>

	<node id="sub_UI">
	    <node id="mod_QTStarter">
		<prm id="StartMod">QTCfg</prm>
		<prm id="CloseToTray">0</prm>
		<prm id="Style"></prm>
		<prm id="Font"></prm>
		<prm id="Palette"></prm>
		<prm id="StyleSheets"></prm>
		<tbl id="LookFeel">
		    <fld NAME="Typical TDE" STYLE="" FONT="" STL_SHTS="">
			<PALETTE>#000000, #dddfe4, #ffffff, #ffffff, #555555, #c7c7c7, #000000, #ffffff, #000000, #ffffff, #efefef, #000000, #678db2, #ffffff, #0000ee, #52188b, #C8C8C8
#808080, #dddfe4, #ffffff, #ffffff, #555555, #c7c7c7, #c7c7c7, #ffffff, #808080, #ffffff, #efefef, #000000, #567594, #ffffff, #0000ee, #52188b, #C8C8C8
#000000, #dddfe4, #ffffff, #ffffff, #555555, #c7c7c7, #000000, #ffffff, #000000, #ffffff, #efefef, #000000, #678db2, #ffffff, #0000ee, #52188b, #C8C8C8</PALETTE>
		    </fld>
		    <fld NAME="Blue Slate" STYLE="" FONT="" STL_SHTS="">
			<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" STYLE="" FONT="" STL_SHTS="">
			<PALETTE>#ffffff, #426794, #5788c3, #4871a2, #162231, #37567b, #dcdcdc, #5788c3, #ffffff, #002a4e, #426794, #000000, #5cb3ff, #000000, #00ffff, #c0c0ff, #003666
#555555, #426794, #5788c3, #4871a2, #162231, #37567b, #37567b, #5788c3, #555555, #002a4e, #426794, #000000, #4c95d4, #ffffff, #00ffff, #c0c0ff, #003666
#ffffff, #426794, #5788c3, #4871a2, #162231, #37567b, #dcdcdc, #5788c3, #ffffff, #002a4e, #426794, #000000, #5cb3ff, #000000, #00ffff, #c0c0ff, #003666</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>
