<?xml version="1.0" encoding="utf-8"?>
<protocol name="Can" caption="Can" module="Can" driver="LoopBack" version="2.0"
	redundancy="" priority="0" canPort="1" canRate="19200" timeShiftS="0" 
	timeShiftW="0" startDelay="0" t0="2000" timeSync="0">
	<properties title="number,caption,name" format="%s, %s (%s)" 
	    rdx="line(index=number,name=name,type=module,driver=driver,redLine=priority, canPort=canPort,canRate=canRate, timeShiftS=timeShiftS,timeShiftW=timeShiftW,startDelay=startDelay, t0=t0,timeSync=timeSync)">
		<property name="name" caption="Протокол" type="text" editing="false" visible="false" key="false"/>
		<property name="caption" caption="Наименование" type="text"	editing="true" visible="true" key="false"/>
		<property name="module" caption="Модуль" type="text" editing="true" visible="true" key="false">
			<enum item="Can" caption="Can"/>
		</property>
		<property name="driver" caption="Драйвер" type="text" editing="true" visible="true" key="false">
			<enum item="LoopBack" caption="Не используется"/>
		</property>
		<property name="redundancy" caption="Резервирование" type="text" editing="false" visible="false" key="false"/>
		<property name="priority" caption="Приоритет" type="int" editing="true" visible="false" key="false">
			<range min="0" max="100"/>
		</property>
		<property name="canPort" caption="CAN-порт" type="int" editing="true" visible="true" key="false"/>
		<property name="canRate" caption="Скорость" type="text"	editing="true" visible="true" key="false">
			<enum item="100" caption="100"/>
			<enum item="110" caption="110"/>
			<enum item="200" caption="200"/>
			<enum item="300" caption="300"/>
			<enum item="600" caption="600"/>
			<enum item="1200" caption="1200"/>
			<enum item="2400" caption="2400"/>
			<enum item="4800" caption="4800"/>
			<enum item="9600" caption="9600"/>
			<enum item="14400" caption="14400"/>
			<enum item="19200" caption="19200"/>
			<enum item="38400" caption="38400"/>
			<enum item="56000" caption="56000"/>
			<enum item="57600" caption="57600"/>
			<enum item="115200" caption="115200"/>
			<enum item="128000" caption="128000"/>
			<enum item="256000" caption="256000"/>
		</property>
		<property name="timeShiftS" caption="Сдвиг летнего времени(s)" type="int" editing="true" visible="true" key="false"/>
		<property name="timeShiftW" caption="Сдвиг зимнего времени(s)" type="int" editing="true" visible="true" key="false"/>
		<property name="t0" caption="Таймаут подключения (ms)" type="int" editing="true" visible="true" key="false"/>
		<property name="timeSync" caption="Синхронизация времени" type="bool" editing="true" visible="true" key="false"/>
	</properties>
	<remoteunit physicalAddress="1" logicalAddress="1" caption="Устройство">
		<properties title="caption" format="%s">
			<property name="caption" caption="Наименование" type="text"	editing="true" visible="true" key="false"/>
			<property name="physicalAddress" caption="Физический адрес устройства" type="Int" editing="true" visible="true" key="false"/>
			<property name="logicalAddress" caption="Логический адрес устройства" type="Int" editing="true" visible="true" key="true"/>
		</properties>
		<source caption="" function="1" no="0">
			<properties title="no,caption" format="%s, %s" 
			    rdx="informationObject(physicalAddress=remoteunit.physicalAddress, logicalAddress=remoteunit.logicalAddress, function=function, no=no)">
				<property name="caption" caption="Наименование" type="text"	editing="true" visible="true" key="false"/>
				<property name="function" caption="Тип параметра" type="int" editing="true" visible="true" key="true">
					<enum item="1" caption="1-ТС"/>
					<enum item="3" caption="3-ТИ"/>
					<enum item="5" caption="5-события модуля питания"/>
					<enum item="6" caption="6-время в текстовом формате"/>
				</property>
				<property name="no" caption="Номер параметра" type="int" editing="true" visible="true" key="true" rep="%d"/>
			</properties>
		</source>
		<pass caption="" function="1" no="1">
			<properties title="no,caption" format="%s, %s " 
			    rdx="crt(physicalAddress=remoteunit.physicalAddress, logicalAddress=remoteunit.logicalAddress, function=function, no=no)">
				<property name="caption" caption="Наименование" type="text"	editing="true" visible="true" key="false"/>
				<property name="function" caption="Тип параметра" type="int" editing="true" visible="true" key="true">
					<enum item="1" caption="1-ТС"/>
					<enum item="3" caption="3-ТИ"/>
					<enum item="5" caption="5-события модуля питания"/>
					<enum item="6" caption="6-время в текстовом формате"/>
				</property>
				<property name="no" caption="Номер параметра" type="int" editing="true" visible="true" key="true" rep="%d"/>
			</properties>
		</pass>
		<controlsource caption="" function="2" no="1">
			<properties title="no,caption" format="%s, %s " 
			    rdx="informationObject(physicalAddress=remoteunit.physicalAddress, logicalAddress=remoteunit.logicalAddress, function=function, no=no)">
				<property name="caption" caption="Наименование" type="text" editing="true" visible="true" key="false"/>
				<property name="function" caption="Однопозиционное ТУ" type="int" editing="false" visible="true" key="true"/>
				<property name="no" caption="Номер параметра" type="int" editing="true" visible="true" key="true" rep="%d"/>
			</properties>
		</controlsource>
		<controlpass caption="" function="2" no="1">
			<properties title="no,caption" format="%s, %s " 
			    rdx="crt(physicalAddress=remoteunit.physicalAddress, logicalAddress=remoteunit.logicalAddress, function=function, no=no)">
				<property name="caption" caption="Наименование" type="text" editing="true" visible="true" key="false"/>
				<property name="function" caption="Однопозиционное ТУ" type="int" editing="false" visible="true" key="true"/>
				<property name="no" caption="Номер параметра" type="int" editing="true" visible="true" key="true" rep="%d"/>
			</properties>
		</controlpass>
	</remoteunit>
</protocol>
