<?xml version="1.0" encoding="windows-1251"?>
<protocol name="Iec61850srv" caption="МЭК-61850 SRV" module="Iec61850srv" driver="TcpServer"  version="2.0"
  redundancy="" priority="0"
  IPaddress="127.0.0.1" port="102"
  tuwait="10000"
  timeShiftS="0" timeShiftW="0" startDelay="0"
  t0="3000" t1="10000" t14="50">
  <properties title="number,caption,name" format="%s, %s (%s)"
      rdx="line(index=number,name=name,type=module,driver=driver,redLine=priority,
      tuwait=tuwait,IPaddress=IPaddress,port=port,
      timeShiftS=timeShiftS,timeShiftW=timeShiftW,startDelay=startDelay, 
      t0=t0,t1=t1,t14=t14)">
    <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="false" visible="true" key="false"/>
    <property name="redundancy" caption="Резервирование"
      type="text"	editing="false" visible="false" key="false"/>
    <property name="priority" caption="Приоритет"
      type="int"	editing="true" visible="true" key="false">
      <range min="0" max="100"/>
    </property>
    <property name="driver" caption="Драйвер"
      type="text"	editing="true" visible="true" key="false">
     <!--  <enum item="LoopBack" caption="Не используется"/>   -->
	 <enum item="TcpServer" caption="TcpServer-slave"/>
    </property>
	<property name="IPaddress" caption="IP-адрес"
      type="text"	editing="true" visible="true" key="false"/>
    <property name="port" caption="TCP-порт"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="tuwait" caption="Таймаут ТУ (ms)"
      type="int"	editing="true" visible="true" key="false"/>
    <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="false" key="false"/>
    <property name="t1" caption="Таймаут ожидания ответа"
      type="int" editing="true" visible="false" key="false"/>
    <property name="t14" caption="Таймаут ожидания не в overlaped режиме (ms)"
      type="int" editing="false" visible="false" key="false"/>
    <property name="tag_guid" caption="Адрес тэга. Имя свойства"
      type="text" editing="false" visible="false" key="false"/>
    <property name="protinfo" caption="Тип значения тэга. Имя свойства"
      type="text" editing="false" visible="false" key="false"/>
  </properties>
    <!-- добавлео свойство path= -->
 	<remoteunit  ied_name="" ied_icd="" caption="Устройство"  time_shift="0"  type_load="1" sclcomplete="true" path="" >
    <properties title="caption" format="%s">
      <property name="ied_name" caption="Имя устройства"
        type="text"	editing="true" visible="true" key="true"/>
      <property name="caption" caption="Наименование"
        type="text"	editing="true" visible="true" key="false"/>
     <!-- <property name="ied_port" caption="TCP-порт"
        type="int"	editing="true" visible="true" key="false"/> -->
	 <property name="type_load" caption="type_load" type="int" editing="true" visible="true" key="false"/>
      <property name="ied_icd" caption="ICD-файл"
        type="text"	editing="true" visible="true" key="false"/>
      <property name="time_shift" caption="Смещение времени (s)"
        type="int" editing="true" visible="true" key="false"/>
	  <property name="path" caption="path" type="text" editing="false" visible="true" key="false"/>	
	  <property name="sclcomplete" caption="Отмена редактирования" type="bool"	editing="false" visible="true" key="false"/>
    </properties>
    <source caption="" tag_id="" tag_type="2">
      <properties title="caption,tag_id" format="%s|%s"
        rdx="src(ied_name=remoteunit.ied_name,time_shift=remoteunit.time_shift,type_load=remoteunit.type_load, tag_id=tag_id,tag_type=tag_type,
		ObDesc=ObDesc, ProtInfo=ProtInfo, sFC=sFC)">
        <property name="caption" caption="Наименование"
  	      type="text"	editing="true" visible="true" key="false"/>
        <property name="tag_id" caption="Ключ привязки"
          type="text"	editing="true" visible="true" key="true"/>
		<property name="tag_type" caption="Тип тега rdx" type="int" editing="true" visible="true" key="false">
          <enum item="0" caption="unknow"/>
		  <enum item="1" caption="byte"/>
          <enum item="2" caption="int"/>
          <enum item="3" caption="double"/>
		  <enum item="4" caption="text-blob"/>
          <enum item="5" caption="text-short"/>
        </property>  
		<property name="ObDesc"    caption="Описание в устройстве" type="text"	editing="true" visible="true" key="false"/>
        <property name="ProtInfo"    caption="Тип 61850" type="text"	editing="false" visible="true" key="false"/>
		<property name="sFC"    caption="FC из 61850" type="text"	editing="false" visible="true" key="false"/>
      </properties>
    </source>
    <pass caption="" tag_id="" tag_type="2">
      <properties title="caption,tag_id" format="%s|%s"
        rdx="crt(ied_name=remoteunit.ied_name,time_shift=remoteunit.time_shift,type_load=remoteunit.type_load,tag_id=tag_id, tag_type=tag_type,
		ObDesc=ObDesc, ProtInfo=ProtInfo, sFC=sFC)">
        <property name="caption" caption="Наименование"
  	      type="text"	editing="true" visible="true" key="false"/>
        <property name="tag_id" caption="Ключ привязки"
          type="text"	editing="true" visible="true" key="true"/>
		<property name="tag_type" caption="Тип тега rdx" type="int" editing="true" visible="true" key="false">
          <enum item="0" caption="unknow"/>
		  <enum item="1" caption="byte"/>
          <enum item="2" caption="int"/>
          <enum item="3" caption="double"/>
		  <enum item="4" caption="text-blob"/>
          <enum item="5" caption="text-short"/>
        </property>    
		<property name="ObDesc"    caption="Описание в устройстве" type="text"	editing="true" visible="true" key="false"/>
        <property name="ProtInfo"    caption="Тип 61850" type="text"	editing="false" visible="true" key="false"/>
		<property name="sFC"    caption="FC из 61850" type="text"	editing="false" visible="true" key="false"/>
      </properties>
    </pass>
    <controlsource caption="" tag_id="" tag_type="2">
      <properties title="caption,tag_id" format="%s|%s"
        rdx="src(ied_name=remoteunit.ied_name,time_shift=remoteunit.time_shift,type_load=remoteunit.type_load, tag_id=tag_id,tag_type=tag_type,
		ObDesc=ObDesc, ProtInfo=ProtInfo, sFC=sFC)">
        <property name="caption" caption="Наименование"
  	      type="text"	editing="true" visible="true" key="false"/>
        <property name="tag_id" caption="Ключ привязки"
          type="text"	editing="true" visible="true" key="true"/>
		<property name="tag_type" caption="Тип тега rdx" type="int" editing="true" visible="true" key="false">
           <enum item="0" caption="unknow"/>
		  <enum item="1" caption="byte"/>
          <enum item="2" caption="int"/>
          <enum item="3" caption="double"/>
		  <enum item="4" caption="text-blob"/>
          <enum item="5" caption="text-short"/>
        </property>  
        <property name="ObDesc"    caption="Описание в устройстве" type="text"	editing="true" visible="true" key="false"/>
        <property name="ProtInfo"    caption="Тип 61850" type="text"	editing="false" visible="true" key="false"/>
		<property name="sFC"    caption="FC из 61850" type="text"	editing="false" visible="true" key="false"/>		
      </properties>
    </controlsource>
    <controlpass caption="" tag_id="" tag_type="2">
      <properties title="caption,tag_id" format="%s|%s"
        rdx="crt(ied_name=remoteunit.ied_name,time_shift=remoteunit.time_shift,type_load=remoteunit.type_load, tag_id=tag_id,tag_type=tag_type,
		ObDesc=ObDesc, ProtInfo=ProtInfo, sFC=sFC)">
        <property name="caption" caption="Наименование"
  	      type="text"	editing="true" visible="true" key="false"/>
        <property name="tag_id" caption="Ключ привязки"
          type="text"	editing="true" visible="true" key="true"/>
		<property name="tag_type" caption="Тип тега rdx" type="int" editing="true" visible="true" key="false">
          <enum item="0" caption="unknow"/>
		  <enum item="1" caption="byte"/>
          <enum item="2" caption="int"/>
          <enum item="3" caption="double"/>
		  <enum item="4" caption="text-blob"/>
          <enum item="5" caption="text-short"/>
        </property>   
        <property name="ObDesc"    caption="Описание в устройстве" type="text"	editing="true" visible="true" key="false"/>
        <property name="ProtInfo"    caption="Тип 61850" type="text"	editing="false" visible="true" key="false"/>
		<property name="sFC"    caption="FC из 61850" type="text"	editing="false" visible="true" key="false"/>		
      </properties>
    </controlpass>
  </remoteunit>
</protocol>

