<?xml version="1.0" encoding="windows-1251"?>
<protocol name="Sample" caption="Пример" module="RdxSample" driver="Tcp" version="2.0"
  redundancy="sample" priority="0" mode="cli"
  IPaddress="127.0.0.1" port="2000" portLocal="2001"
  portNumber="1" baudRate="19200" dataBits="8" parity="0" stopBits="0"
  portCfg="0" timeoutCfg="0" 
  tuwait="10000"
  timeShiftS="0" timeShiftW="0" startDelay="0"        
  t0="3000" t1="0" t2="100" t14="50">
  <properties title="number,caption,name" format="%s, %s (%s)"
    rdx="line(index=number,name=name,type=module,mode=mode,driver=driver,redLine=priority,
    IPaddress=IPaddress,port=port,portLocal=portLocal,
    portNumber=portNumber,baudRate=baudRate,dataBits=dataBits,parity=parity,stopBits=stopBits,
    portCfg=portCfg,timeoutCfg=timeoutCfg,
    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>
    <property name="mode" caption="Режим работы"
      type="text"	editing="true" visible="true" key="false">
      <enum item="cli" caption="Клиент"/>
      <enum item="srv" caption="Сервер"/>
    </property>
    <property name="driver" caption="Драйвер"
      type="text"	editing="true" visible="true" key="false">
      <enum item="Async" caption="Com"/>
      <enum item="Tcp" caption="Tcp"/>
      <enum item="Udp" caption="Udp"/>
    </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="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="portLocal" caption="UDP-порт"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="portNumber" caption="COM-порт"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="baudRate" caption="Скорость"
      type="text"	editing="true" visible="true" key="false">
      <enum item="1200" caption="1200"/>
      <enum item="2400" caption="2400"/>
      <enum item="4800" caption="4800"/>
      <enum item="9600" caption="9600"/>
      <enum item="19200" caption="19200"/>
      <enum item="38400" caption="38400"/>
      <enum item="57600" caption="57600"/>
      <enum item="115200" caption="115200"/>
    </property>
    <property name="dataBits" caption="Длина слова"
      type="text"	editing="true" visible="false" key="false">
      <enum item="5" caption="5"/>
      <enum item="6" caption="6"/>
      <enum item="7" caption="7"/>
      <enum item="8" caption="8*"/>
    </property>
    <property name="parity" caption="Паритет"
      type="text"	editing="true" visible="true" key="false">
      <enum item="0" caption="0-NOPARITY"/>
      <enum item="1" caption="1-ODDPARITY"/>
      <enum item="2" caption="2-EVENPARITY*"/>
      <enum item="3" caption="3-MARKPARITY"/>
    </property>
    <property name="stopBits" caption="Количество стоп-бит"
      type="text"	editing="true" visible="false" key="false">
      <enum item="0" caption="0-ONESTOPBIT*"/>
      <enum item="1" caption="1-ONE5STOPBITS"/>
      <enum item="2" caption="2-TWOSTOPBITS"/>
    </property>
    <property name="portCfg" caption="Удаленное конфигурирование (TCP-порт)"
      type="int"	editing="true" visible="true" key="false"/>
    <property name="timeoutCfg" caption="Удаленное конфигурирование (таймаут, сек)"
      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="Таймаут соединения (t0,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"/>
    <property name="tagid" caption="Адрес тэга. Имя свойства"
      type="text" editing="false" visible="false" key="false"/>
    <property name="tagtype" caption="Тип значения тэга. Имя свойства"
      type="text" 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" rep="rtu_%d"/>
    </properties>
    <source tagid="1" tagtype="0" caption="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagid=tagid,tagtype=tagtype)">
        <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="0-По умолчанию"/>
          <enum item="1" caption="1-BYTE (U1)"/>
          <enum item="2" caption="2-INT64 (I8)"/>
          <enum item="3" caption="3-DOUBLE (R8)"/>
          <enum item="4" caption="4-BLOB"/>
          <enum item="5" caption="5-TEXT"/>
        </property>
      </properties>
    </source>
    <pass tagid="1" tagtype="3" caption="">
      <properties title="tagid,caption" format="%s, %s"
	      rdx="crt(tagid=tagid,tagtype=tagtype)">
        <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="1-BYTE (U1)"/>
          <enum item="2" caption="2-INT64 (I8)"/>
          <enum item="3" caption="3-DOUBLE (R8)"/>
          <enum item="4" caption="4-BLOB"/>
          <enum item="5" caption="5-TEXT"/>
        </property>
      </properties>
    </pass>
    <controlsource tagid="1" tagtype="0" caption="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagid=tagid,tagtype=tagtype)">
        <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="false" key="false">
          <enum item="0" caption="0-По умолчанию"/>
          <enum item="1" caption="1-BYTE (U1)"/>
          <enum item="2" caption="2-INT64 (I8)"/>
          <enum item="3" caption="3-DOUBLE (R8)"/>
          <enum item="4" caption="4-BLOB"/>
          <enum item="5" caption="5-TEXT"/>
        </property>
      </properties>
    </controlsource>
    <controlpass tagid="1" tagtype="1" caption="">
      <properties title="tagid,caption" format="%s, %s"
	      rdx="crt(tagid=tagid,tagtype=tagtype)">
        <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="false" key="false">
          <enum item="1" caption="1-BYTE (U1)"/>
          <enum item="2" caption="2-INT64 (I8)"/>
          <enum item="3" caption="3-DOUBLE (R8)"/>
          <enum item="4" caption="4-BLOB"/>
          <enum item="5" caption="5-TEXT"/>
        </property>
      </properties>
    </controlpass>
  </remoteunit>
</protocol>

