<?xml version="1.0" encoding="utf-8"?>
<Cfg Version="1.0">
  <BlockCfg Size="14">
    <Address From="0" To="2"/>
  </BlockCfg>

  <PropTreeCfg>

    <TreeItem Type="PropTreeItem" Des="空中协议参数">
      <TreeItem Type="PropTreeItemCombo" Des="副载波" StartBitPos="0.5.0" EndBitPos="0.5.7">
        <List Des="单副载波" Value="0"/>
        <List Des="双副载波" Value="1"/>
      </TreeItem>
      <TreeItem Type="PropTreeItemCombo" Des="ASK调制深度" StartBitPos="0.6.0" EndBitPos="0.6.7">
        <List Des="OOK 100%" Value="100"/>
        <List Des="ASK 7%" Value="7"/>
        <List Des="ASK 8.5%" Value="8"/>
        <List Des="ASK 10%" Value="10"/>
        <List Des="ASK 13%" Value="13"/>
        <List Des="ASK 16%" Value="16"/>
        <List Des="ASK 22%" Value="22"/>
        <List Des="ASK 30%" Value="30"/>
      </TreeItem>
      <TreeItem Type="PropTreeItemCombo" Des="射频编码" StartBitPos="0.9.0" EndBitPos="0.9.7">
        <List Des="1/4编码" Value="0x00"/>
        <List Des="1/256编码" Value="0x01"/>
      </TreeItem>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="系统工作模式">
      <TreeItem Type="PropTreeItemCombo" Des="工作模式" StartBitPos="0.7.0" EndBitPos="0.7.7">
        <List Des="主机控制模式" Value="0x00"/>
        <List Des="扫描模式" Value="0x01"/>
        <List Des="模拟键盘模式" Value="0x02"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="扫描模式参数">
        <TreeItem Type="PropTreeItemCheckBox" Des="读取数据块" StartBitPos="1.0.1" EndBitPos="1.0.1" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItemEdit"  Des="数据块开始地址" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="1.1.0" EndBitPos="1.1.7"/>
        <TreeItem Type="PropTreeItemCombo" Des="扫描数据块数量" ListStart="0"  ListEnd="8" StartBitPos="1.2.0" EndBitPos="1.2.7"/> 
        <TreeItem Type="PropTreeItemCombo" Des="数据输出格式" StartBitPos="1.3.0" EndBitPos="1.3.7">
          <List Des="原始数据输出" Value="0x00"/>
          <List Des="原始数据转换成16进制A字符串输出" Value="0x01"/>
        </TreeItem>

        <TreeItem Type="PropTreeItem" Des="分隔符">
          <TreeItem Type="PropTreeItemCombo" Des="分隔符类型" StartBitPos="1.4.7" EndBitPos="1.4.7">
            <List Des="使用系统分隔符" Value="0x00"/>
            <List Des="使用用户自定义分隔符" Value="0x01"/>
          </TreeItem>
          <TreeItem Type="PropTreeItemCombo" Des="系统分隔符" StartBitPos="1.4.0" EndBitPos="1.4.6">
            <List Des="回车换行 0x0D+0x0A" Value="0x00"/>
            <List Des="换行0x0A" Value="0x01"/>
            <List Des="回车0x0D " Value="0x02"/>
            <List Des="TAB 0x07" Value="0x03"/>
            <List Des="分号0x3B" Value="0x04"/>
            <List Des="逗号0x2C" Value="0x05"/>
            <List Des="空格0x20" Value="0x06"/>
          </TreeItem>
          <TreeItem Type="PropTreeItemEdit"  Des="自定义分隔符" ValueFormat="ValueFormatHex" StartBitPos="1.5.0" EndBitPos="1.5.7"/>
        </TreeItem>


        <TreeItem Type="PropTreeItem" Des="结束符">
          <TreeItem Type="PropTreeItemCombo" Des="结束符类型" StartBitPos="1.6.7" EndBitPos="1.6.7">
            <List Des="使用系统结束符" Value="0x00"/>
            <List Des="使用用户自定义结束符" Value="0x01"/>
          </TreeItem>
          <TreeItem Type="PropTreeItemCombo" Des="系统结束符" StartBitPos="1.6.0" EndBitPos="1.6.6">
            <List Des="回车换行 0x0D+0x0A" Value="0x00"/>
            <List Des="换行 0x0A" Value="0x01"/>
            <List Des="回车 0x0D " Value="0x02"/>
            <List Des="TAB 0x07" Value="0x03"/>
            <List Des="分号 0x3B" Value="0x04"/>
            <List Des="逗号 0x2C" Value="0x05"/>
            <List Des="空格 0x20" Value="0x06"/>
          </TreeItem>
          <TreeItem Type="PropTreeItemEdit"  Des="自定义结束符" ValueFormat="ValueFormatHex" StartBitPos="1.7.0" EndBitPos="1.7.7"/>
        </TreeItem>
      </TreeItem>

      <TreeItem Type="PropTreeItem" Des="键盘输出模式">
        <TreeItem Type="PropTreeItemCombo" Des="卡号输出格式" StartBitPos="2.0.0" EndBitPos="2.0.7">
          <List Des="卡号十六进制字符串输出" Value="0x00"/>
          <List Des="兼容微耕韦根26控制器编码输出" Value="0x01"/>
          <List Des="兼容周立功韦根26控制器编码输出" Value="0x02"/>
          <List Des="兼容周立功韦根34控制器编码输出" Value="0x03"/>
        </TreeItem>
        <TreeItem Type="PropTreeItemCombo" Des="卡号输出最大长度" StartBitPos="2.1.0" EndBitPos="2.1.7">
          <List Des="0" Value="0x00"/>
          <List Des="1" Value="0x01"/>
          <List Des="2" Value="0x02"/>
          <List Des="3" Value="0x03"/>
          <List Des="4" Value="0x04"/>
          <List Des="5" Value="0x05"/>
          <List Des="6" Value="0x06"/>
          <List Des="7" Value="0x07"/>
          <List Des="8" Value="0x08"/>
        </TreeItem>
        <TreeItem Type="PropTreeItemCheckBox" Des="追加回车换行" StartBitPos="2.2.0" EndBitPos="2.2.7" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItemCheckBox" Des="反转序列号" StartBitPos="2.3.0" EndBitPos="2.3.7" CheckValue="0x01" UnCheckValue="0x00"/>
      </TreeItem>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="触发参数">
      <TreeItem Type="PropTreeItemCheckBox" Des="读卡蜂鸣" StartBitPos="0.0.0" EndBitPos="0.0.0" CheckValue="0x01" UnCheckValue="0x00"/>
      <TreeItem Type="PropTreeItemCheckBox" Des="空闲时关闭射频" StartBitPos="0.10.0" EndBitPos="0.10.0" CheckValue="0x01" UnCheckValue="0x00"/>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="蜂鸣器参数">
        <TreeItem Type="PropTreeItemEdit"  Des="激活时间(×100ms)" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="0.2.0" EndBitPos="0.2.7"/>
        <TreeItem Type="PropTreeItemEdit"  Des="停止时间(×100ms)" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="0.3.0" EndBitPos="0.3.7"/>
        <TreeItem Type="PropTreeItemEdit"  Des="鸣叫频率" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="0.4.0" EndBitPos="0.4.7"/>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="主动扫描读卡选项">
      <TreeItem Type="PropTreeItemCheckBox" Des="只读新标签" StartBitPos="0.0.1" EndBitPos="0.0.1" CheckValue="0x01" UnCheckValue="0x00"/>
      <TreeItem Type="PropTreeItemCheckBox" Des="匹配AFI" StartBitPos="0.0.2" EndBitPos="0.0.2" CheckValue="0x01" UnCheckValue="0x00"/>
      <TreeItem Type="PropTreeItemEdit"  Des="AFI值" ValueFormat="ValueFormatHex" StartBitPos="0.1.0" EndBitPos="0.1.7"/>
      <TreeItem Type="PropTreeItemCheckBox" Des="过滤重复序列号" StartBitPos="0.0.3" EndBitPos="0.0.3" CheckValue="0x01" UnCheckValue="0x00"/>
      <TreeItem Type="PropTreeItemEdit"  Des="过滤重复序列号周期(s)" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="0.11.0" EndBitPos="0.11.7"/>
    </TreeItem>
  </PropTreeCfg>
</Cfg>
