<?xml version="1.0" encoding="utf-8"?>
<protocol name="Mde" caption="MDE" module="ModExt.ModMde" driver="LoopBack" version="2.0"
  redundancy="mde" priority="0"
	srvaddr="127.0.0.1" srvport="1212" login="ADMIN" password="" tuwait="10000" 
  timeShiftS="0" timeShiftW="0" startDelay="0"        
  t0="3000" t1="1000" t2="50" t14="50">
  <properties title="number,caption,name" format="%s, %s (%s)"
      rdx="line(index=number,name=name,type=module,driver=driver,
      redLine=priority,direction=direction.number,
      srvaddr=srvaddr,srvport=srvport,login=login,password=password,
      tuwait=tuwait,
      timeShiftS=timeShiftS,timeShiftW=timeShiftW,startDelay=startDelay,
      t0=t0,t1=t1,t2=t2,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="driver" caption="Драйвер"
      type="text"	editing="false" 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="true" key="false">
      <range min="0" max="100"/>
    </property>
    <property name="srvaddr" caption="IP-адрес"
      type="text"	editing="true" visible="true" key="false"/>
    <property name="srvport" caption="Порт"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="login" caption="Логин"
      type="text"	editing="true" visible="true" key="false"/>
    <property name="password" caption="Пароль"
      type="text"	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="true" key="false"/>
    <property name="t1" caption="Периодический контроль (ms)"
      type="int"	editing="true" visible="false" key="false"/>
    <property name="t2" caption="Кеширование значений (ms)"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="t14" caption="Таймаут ожидания не в overlaped режиме (ms)"
      type="int" editing="false" visible="false" key="false"/>
  </properties>
 	<remoteunit name="" caption="Группа тэгов">
    <properties title="caption" format="%s">
      <property name="caption" caption="Наименование"
        type="text"	editing="true" visible="true" key="false"/>
      <property name="name" caption="Имя"
        type="text"	editing="true" visible="true" key="true"/>
    </properties>
    <source tagarch="T_ARCH_TI" tagid="1" caption="">
      <properties title="tagarch,tagid,caption" format="%s, %s, %s"
        rdx="informationObject(tagarch=tagarch,tagid=tagid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagarch" caption="Архив"
          type="text"	editing="true" visible="true" key="true"/>
	      <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true" rep="%d"/>
      </properties>
    </source>
    <pass tagarch="T_ARCH_TI" tagid="1" caption="">
      <properties title="tagarch,tagid,caption" format="%s, %s, %s"
        rdx="crt(tagarch=tagarch,tagid=tagid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagarch" caption="Архив"
          type="text"	editing="true" visible="true" key="true"/>
	      <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true" rep="%d"/>
      </properties>
    </pass>
    <controlsource tagarch="TU" tagid="1" caption="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagarch=tagarch,tagid=tagid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagarch" caption="Архив"
          type="text"	editing="false" visible="false" key="true"/>
	      <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true" rep="%d"/>
      </properties>
    </controlsource>
    <controlpass tagarch="TU" tagid="1" caption="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="crt(tagarch=tagarch,tagid=tagid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagarch" caption="Архив"
          type="text"	editing="false" visible="false" key="true"/>
	      <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true" rep="%d"/>
      </properties>
    </controlpass>
  </remoteunit>
</protocol>

