<?xml version="1.0" encoding="utf-8"?>
<protocol name="Iec62541" caption="IEC62541 (OPC UA)" module="Iec62541" driver="LoopBack" version="2.0"
  redundancy="" priority="0"
  srvprefix="opc.tcp://"	srvaddr="127.0.0.1" srvport="48480" srvendpoint="" login="admin" password=""
  tuwait="10000" syncManual="0" testTagId="0" testTime="2"  
  timeSync="0" timeShiftS="0" timeShiftW="0" startDelay="0" 
  t0="3000" t1="2000" connectionOscillationRate="0" connectionOscillationCount="0">

  <properties title="number,caption,name" format="%s, %s (%s)"
    rdx="line(index=number,name=name,type=module,driver=driver,
    redLine=priority,direction=direction.number,
    srvprefix=srvprefix,srvaddr=srvaddr,srvport=srvport,srvendpoint=srvendpoint,
	  login=login,password=password,
	  
      tuwait=tuwait,syncManual=syncManual,testTagId=testTagId,testTime=testTime,
    	timeSync=timeSync,timeShiftS=timeShiftS,timeShiftW=timeShiftW,startDelay=startDelay,
    t0=t0,t1=t1,connectionOscillationRate=connectionOscillationRate,connectionOscillationCount=connectionOscillationCount)">

    <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="srvprefix" caption="Префикс протокола"
      type="text"	editing="true" visible="true" key="false"/>

    <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="srvendpoint" caption="Точка подключения"
      type="text"	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="t1" caption="Таймаут Т1 (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"/>

  </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="2" wheelOut="0" caption="" nodeid="ns=1;s=Path/To/Attribute">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagid=tagid,tagtype=tagtype,nodeid=nodeid,wheelOut=wheelOut)">

        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>
        
        <property name="nodeid" caption="NodeID"
          type="text"	editing="true" visible="true" key="true"/>

        <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="false" 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"/>
        </property>

        <property name="wheelOut" caption="Выкатной элемент"
          type="bool" editing="false" visible="false" key="false" rep="%d"/>
      </properties>
    </source>

    <pass tagid="1" tagtype="2"  wheelOut="0" caption="" nodeid="NodeName">
      <properties title="tagid,caption" format="%s, %s"
        rdx="crt(tagid=tagid,tagtype=tagtype,nodeid=nodeid,wheelOut=wheelOut)">
        
        <property name="caption" caption="Наименование"
          type="text"	editing="true" visible="true" key="false"/>

        <property name="nodeid" caption="NodeID"
          type="text"	editing="true" visible="true" key="true"/>

        <property name="tagid" caption="Номер тэга"
          type="int"	editing="true" visible="true" key="false" 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"/>
        </property>

        <property name="wheelOut" caption="Выкатной элемент"
          type="bool" editing="true" visible="true" key="false" rep="%d"/>
      </properties>
    </pass>

    <controlsource tagid="1" tagtype="1"  wheelOut="0" caption="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="informationObject(tagid=tagid,tagtype=tagtype,wheelOut=wheelOut)">
        <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"/>
      </properties>
    </controlsource>
    <controlpass tagid="1" tagtype="1"  wheelOut="0" caption="">
      <properties title="tagid,caption" format="%s, %s"
        rdx="crt(tagid=tagid,tagtype=tagtype,wheelOut=wheelOut)">
        <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"/>
      </properties>
    </controlpass>
  </remoteunit>
</protocol>

