<?xml version="1.0" encoding="utf-8"?>
<protocol name="Mdx" caption="MDX" module="ModExt.ModMdx" driver="LoopBack" version="2.0"
  redundancy="mdx" priority="0"
	srvaddr="127.0.0.1" srvport="1312" login="admin" password="" 
  tuwait="10000" syncManual="0" testTagId="0" testTime="2"  
  timeSync="0" timeShiftS="0" timeShiftW="0" startDelay="0" 
  t0="3000" t14="50" connectionOscillationRate="0" connectionOscillationCount="0"
  mridAndTagidSynchro="false">
  <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,syncManual=syncManual,testTagId=testTagId,testTime=testTime,
    timeSync=timeSync,timeShiftS=timeShiftS,timeShiftW=timeShiftW,startDelay=startDelay,
    t0=t0,t14=t14,connectionOscillationRate=connectionOscillationRate,connectionOscillationCount=connectionOscillationCount,
	mridAndTagidSynchro=mridAndTagidSynchro)">
    <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="syncManual" caption="Синхронизация ручного ввода"
   	  type="bool"	editing="true" visible="true" key="false"/>
    <property name="testTagId" caption="Проверочный сигнал"
   	  type="int"	editing="true" visible="true" key="false"/>
    <property name="testTime" caption="Время принудительного обновления (сек)"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="timeSync" 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="t14" caption="Таймаут ожидания не в overlaped режиме (ms)"
      type="int" editing="false" visible="false" key="false"/>
    <property name="tagid" caption="Адрес тэга. Имя свойства"
      type="text" editing="false" visible="false" key="false"/>
    <property name="tagtype" caption="Тип значения тэга. Имя свойства"
      type="text" editing="false" visible="false" key="false"/>
    <property name="connectionOscillationRate" caption="Таймаут дребезга канала (сек)"
      type="int" editing="false" visible="false" key="false"/>
    <property name="connectionOscillationCount" caption="Число быстрых изменений"
      type="int" editing="false" visible="false" key="false"/>
    <property name="mridAndTagidSynchro" caption="Синхронизация mrid и locId при старте"
   	  type="bool"	editing="true" visible="true" key="false"/>
  </properties>
 	<remoteunit name="" caption="Группа тэгов" path="">
    <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"/>
      <property name="path" caption="path" type="text" editing="false" visible="true" key="false"/>
    </properties>
    <source tagid="1" tagtype="0" wheelOut="0" caption="" mrid="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagid=tagid,tagtype=tagtype,wheelOut=wheelOut,mrid=mrid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true" rep="%d"/>
        <property name="tagtype" caption="Тип"
          type="int"	editing="true" visible="true" key="false">
          <enum item="0" caption="По умолчанию"/>
          <enum item="1" caption="Boolean"/>
          <enum item="2" caption="Integer"/>
          <enum item="3" caption="Double"/>
          <enum item="4" caption="Blob"/>
        </property>
        <property name="wheelOut" caption="Выкатной элемент"
          type="bool" editing="false" visible="false" key="false" rep="%d"/>
        <property name="mrid" caption="Идентификатор"
          type="text" 	editing="true" visible="true" key="false"/>
      </properties>
    </source>
    <pass tagid="1" tagtype="1"  wheelOut="0" caption="" mrid="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="crt(tagid=tagid,tagtype=tagtype,wheelOut=wheelOut,mrid=mrid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true" rep="%d"/>
        <property name="tagtype" caption="Тип"
          type="int"	editing="true" visible="true" key="false">
          <enum item="1" caption="Boolean"/>
          <enum item="2" caption="Integer"/>
          <enum item="3" caption="Double"/>
          <enum item="4" caption="Blob"/>
        </property>
        <property name="wheelOut" caption="Выкатной элемент"
          type="bool" editing="true" visible="true" key="false" rep="%d"/>
        <property name="mrid" caption="Идентификатор"
          type="text" 	editing="true" visible="true" key="false"/>
      </properties>
    </pass>
    <controlsource tagid="1" tagtype="1"  wheelOut="0" caption="" mrid="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagid=tagid,tagtype=tagtype,wheelOut=wheelOut,mrid=mrid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true"/>
        <property name="tagtype" caption="Тип"
          type="int"	editing="true" visible="false" key="false"/>
        <property name="wheelOut" caption="Выкатной элемент"
          type="bool" editing="true" visible="false" key="false" rep="%d"/>
        <property name="mrid" caption="Идентификатор"
          type="text" 	editing="true" visible="true" key="false"/>
      </properties>
    </controlsource>
    <controlpass tagid="1" tagtype="1"  wheelOut="0" caption="" mrid="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="crt(tagid=tagid,tagtype=tagtype,wheelOut=wheelOut,mrid=mrid)">
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="true"/>
        <property name="tagtype" caption="Тип"
          type="int"	editing="true" visible="false" key="false"/>
        <property name="wheelOut" caption="Выкатной элемент"
          type="bool" editing="true" visible="false" key="false" rep="%d"/>
        <property name="mrid" caption="Идентификатор"
          type="text" 	editing="true" visible="true" key="false"/>
      </properties>
    </controlpass>
  </remoteunit>
</protocol>

