<?xml version="1.0" encoding="utf-8"?>
<DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd"
  xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Types namespace="localTypes">

    <EnumType basetype="std:BYTE" name="BoudRate">
      <Enum identifier="9600">
        <Value>1</Value>
        <VisibleName name="local:9600">9600</VisibleName>
      </Enum>
      <Enum identifier="19200">
        <Value>2</Value>
        <VisibleName name="local:19200">19200</VisibleName>
      </Enum>
      <Enum identifier="38400">
        <Value>3</Value>
        <VisibleName name="local:38400">38400</VisibleName>
      </Enum>
      <Enum identifier="57600">
        <Value>4</Value>
        <VisibleName name="local:57600">57600</VisibleName>
      </Enum>
      <Enum identifier="115200">
        <Value>5</Value>
        <VisibleName name="local:115200">115200</VisibleName>
      </Enum>
    </EnumType>

    <EnumType basetype="std:BYTE" name="CheckBit">
      <Enum identifier="无">
        <Value>0</Value>
        <VisibleName name="local:nocheck">无校验</VisibleName>
      </Enum>
      <Enum identifier="奇校验">
        <Value>1</Value>
        <VisibleName name="local:ODD">ODD</VisibleName>
      </Enum>
      <Enum identifier="偶校验">
        <Value>2</Value>
        <VisibleName name="local:EVEN">EVEN</VisibleName>
      </Enum>
    </EnumType>


    <EnumType basetype="std:BYTE" name="StopBit">
      <Enum identifier="1">
        <Value>0</Value>
        <VisibleName name="local:1stopbit">1</VisibleName>
      </Enum>
      <Enum identifier="2">
        <Value>1</Value>
        <VisibleName name="local:2stopbit">2</VisibleName>
      </Enum>
    </EnumType>
	
     <EnumType basetype="std:BYTE" name="OpenBit">
      <Enum identifier="1">
        <Value>0</Value>
        <VisibleName name="local:关闭从站">关闭从站</VisibleName>
      </Enum>
      <Enum identifier="2">
        <Value>1</Value>
        <VisibleName name="local:打开从站t">打开从站</VisibleName>
      </Enum>
    </EnumType>

    <EnumType basetype="std:BYTE" name="TransMode">
      <Enum identifier="1">
        <Value>0</Value>
        <VisibleName name="local:RTU">RTU</VisibleName>
      </Enum>
      <Enum identifier="2">
        <Value>1</Value>
        <VisibleName name="local:ASCII">ASCII</VisibleName>
      </Enum>
    </EnumType>

    <EnumType basetype="std:BYTE" name="ComPort">
      <Enum identifier="1">
        <Value>0</Value>
        <VisibleName name="local:Com1">COM1</VisibleName>
      </Enum>
      <Enum identifier="2">
        <Value>1</Value>
        <VisibleName name="local:Com2">COM2</VisibleName>
      </Enum>
      <Enum identifier="3">
        <Value>2</Value>
        <VisibleName name="local:Com3">COM3</VisibleName>
      </Enum>
      <Enum identifier="4">
        <Value>3</Value>
        <VisibleName name="local:Com4">COM4</VisibleName>
      </Enum>
    </EnumType>

    <RangeType basetype="std:BYTE" name="SlaveID">
      <Min>1</Min>
      <Max>247</Max>
      <Default>1</Default>
    </RangeType>

    <RangeType basetype="std:UINT" name="Interval">
      <Min>5</Min>
      <Max>1000</Max>
      <Default>10</Default>
    </RangeType>

  </Types>

  <Strings namespace="local">
    <Language lang="en">
      <String identifier="ModelName">LCTMODBUSRTU_Slave</String>
      <String identifier="DeviceDescription">Modbus RTU Slave</String>
      <String identifier="VendorName">LCT</String>
    </Language>
    <Language lang="zh-CHS">
      <String identifier="ModelName">LCTMODBUSRTU_Slave</String>
      <String identifier="DeviceDescription">Modbus RTU 从站</String>
      <String identifier="VendorName">LCT</String>
    </Language>
  </Strings>
  <Device hideInCatalogue="false">
    <DeviceIdentification>
      <Type>33500</Type>
      <Id>17da 0001</Id>
      <Version>1.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:ModelName">LCT MODBUS RTU_Slave</Name>
      <Description name="local:DeviceDescription">LCT MODBUS  RTU_Slave</Description>
      <Vendor name="local:VendorName">LCT</Vendor>
      <OrderNumber>*</OrderNumber>
    </DeviceInfo>
    <Connector moduleType="33500" interface="Common.PCI" role="child" explicit="false"
      connectorId="4" hostpath="-1" hideInStatusPage="false">
      <Slot count="1" allowEmpty="false">
      </Slot>
      <InterfaceName name="localStrings:InterfaceName">LCT MODBUS  RTU_Slave</InterfaceName>
      <HostParameterSet>
       <Parameter ParameterId="69999" type="localTypes:OpenBit">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite"
            onlineaccess="read" />
          <Name name="local:打开从站">打开从站</Name>
          <Description name="local:打开从站">打开从站</Description>
          <Default>0</Default>
        </Parameter>

        <Parameter ParameterId="70000" type="localTypes:BoudRate">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite"
            onlineaccess="read" />
          <Name name="local:波特率">波特率</Name>
          <Description name="local:波特率">波特率</Description>
          <Default>1</Default>
        </Parameter>

        <Parameter ParameterId="70001" type="localTypes:CheckBit">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite"
            onlineaccess="read" />
          <Name name="local:校验位">校验位</Name>
          <Description name="local:校验位">校验位</Description>
          <Default>1</Default>
        </Parameter>

        <Parameter ParameterId="70002" type="localTypes:StopBit">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite"
            onlineaccess="read" />
          <Name name="local:停止位">停止位</Name>
          <Description name="local:停止位">停止位</Description>
          <Default>1</Default>
        </Parameter>

        <Parameter ParameterId="70003" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" offlineaccess="read"
            onlineaccess="read" />
          <Name name="local:数据位">数据位</Name>
          <Description name="local:数据位">数据位</Description>
          <Default>8</Default>
        </Parameter>

        <Parameter ParameterId="70004" type="localTypes:SlaveID">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite"
            onlineaccess="read" />
          <Name name="local:站号">站号</Name>
          <Description name="local:站号">站号</Description>
          <Default>1</Default>
        </Parameter>

        <Parameter ParameterId="70005" type="localTypes:ComPort">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite"
            onlineaccess="read" />
          <Name name="local:Com口">Com口</Name>
          <Description name="local:Com口">Com口</Description>
          <Default>0</Default>
        </Parameter>

        <Parameter ParameterId="70006" type="localTypes:TransMode">
          <Attributes channel="none" download="true" functional="false" offlineaccess="read"
            onlineaccess="read" />
          <Name name="local:传输协议">传输协议</Name>
          <Description name="local:传输协议">传输协议</Description>
          <Default>0</Default>
        </Parameter>

        <Parameter ParameterId="70007" type="localTypes:Interval">
          <Attributes channel="none" download="true" functional="false" offlineaccess="read"
            onlineaccess="read" />
          <Name name="local:帧间隔">帧间隔</Name>
          <Description name="local:帧间隔">帧间隔</Description>
          <Default>20</Default>
        </Parameter>

      </HostParameterSet>

    </Connector>
  </Device>
</DeviceDescription> 