<?xml version="1.0" encoding="utf-8"?>
<Cfg Version="1.0">

  <BlockCfg Size="14">
    <Address From="2" To="18"/>
  </BlockCfg>

  <PropTreeCfg>
    <TreeItem Type="PropTreeItem" Des="Communication">

      <TreeItem Type="PropTreeItem" Des="Serail port">
        <TreeItem Type="PropTreeItemEdit"  Des="Bus address" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="2.0.0" EndBitPos="2.0.7"/>
        <TreeItem Type="PropTreeItemCombo" Des="Baud" StartBitPos="2.1.0" EndBitPos="2.1.7">
          <List Des="9600" Value="0x00"/>
          <List Des="19200" Value="0x01"/>
          <List Des="38400" Value="0x02"/>
          <List Des="57600" Value="0x03"/>
          <List Des="115200" Value="0x04"/>
          <List Des="230400" Value="0x05"/>
        </TreeItem>
        <TreeItem Type="PropTreeItemCombo" Des="Frame" StartBitPos="2.2.0" EndBitPos="2.2.1">
          <List Des="None" Value="0x00"/>
          <List Des="Odd" Value="0x01"/>
          <List Des="Even" Value="0x02"/>
        </TreeItem>
      </TreeItem>

      <TreeItem Type="PropTreeItem" Des="Network">
        <TreeItem Type="PropTreeItem" Des="Ethernet">
          <TreeItem Type="PropTreeItemCheckBox" Des="DHCP" StartBitPos="2.3.0" EndBitPos="2.3.0" CheckValue="0x01" UnCheckValue="0x00"/>
          <TreeItem Type="PropTreeItem" Des="Static address">
            <TreeItem Type="PropTreeItemIPAddr" Des="IP" StartBitPos="3.0.0" EndBitPos="3.3.7"/>
            <TreeItem Type="PropTreeItemIPAddr" Des="Mask" StartBitPos="3.4.0" EndBitPos="3.7.7"/>
            <TreeItem Type="PropTreeItemIPAddr" Des="Gate" StartBitPos="3.8.0" EndBitPos="3.11.7"/>
          </TreeItem>
        </TreeItem>

        <TreeItem Type="PropTreeItem" Des="WIFI STA">
          <TreeItem Type="PropTreeItemEdit"  Des="SSID" ValueFormat="ValueFormatText" StartBitPos="5.0.0" EndBitPos="6.13.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Password" ValueFormat="ValueFormatText" StartBitPos="7.0.0" EndBitPos="8.13.7"/>
          <TreeItem Type="PropTreeItemCheckBox" Des="DHCP" StartBitPos="2.3.1" EndBitPos="2.3.1" CheckValue="0x01" UnCheckValue="0x00"/>
          <TreeItem Type="PropTreeItem" Des="Static address">
            <TreeItem Type="PropTreeItemIPAddr" Des="IP" StartBitPos="4.0.0" EndBitPos="4.3.7"/>
            <TreeItem Type="PropTreeItemIPAddr" Des="Mask" StartBitPos="4.4.0" EndBitPos="4.7.7"/>
            <TreeItem Type="PropTreeItemIPAddr" Des="Gate" StartBitPos="4.8.0" EndBitPos="4.11.7"/>
          </TreeItem>
        </TreeItem>
      </TreeItem>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="Anti-theft alarm parameters">

      <TreeItem Type="PropTreeItemCombo" Des="Detection method" StartBitPos="11.0.0" EndBitPos="11.0.7">
        <List Des="EPC" Value="0x00"/>
        <List Des="USER" Value="0x01"/>
        <List Des="EAS" Value="0x02"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="EPC">
        <TreeItem Type="PropTreeItemCombo" Des="EPC matching option" StartBitPos="11.1.0" EndBitPos="11.1.7">
          <List Des="Detect 1st region of EPC" Value="0x00"/>
          <List Des="Detect 1st and 2nd regions of EPC" Value="0x01"/>
          <List Des="Detect 1st,2nd and 3rd regions of EPC" Value="0x02"/>
        </TreeItem>
        <TreeItem Type="PropTreeItem" Des="EPC 1">
          <TreeItem Type="PropTreeItemEdit"  Des="Address(bit)" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="11.2.0" EndBitPos="11.3.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Length" ValueFormat="ValueFormatNumber" MaxValue="48" StartBitPos="11.4.0" EndBitPos="11.4.7"/>
          <TreeItem Type="PropTreeItermByteEdit" Des="Value(hex)" ByteCount="6"  StartBitPos="11.5.0" EndBitPos="11.10.7"/>
        </TreeItem>
        <TreeItem Type="PropTreeItem" Des="EPC 2">
          <TreeItem Type="PropTreeItemEdit"  Des="Address(bit)" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="12.0.0" EndBitPos="12.1.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Length" ValueFormat="ValueFormatNumber" MaxValue="48" StartBitPos="12.2.0" EndBitPos="12.2.7"/>
          <TreeItem Type="PropTreeItermByteEdit" Des="Value(hex)" ByteCount="6"  StartBitPos="12.3.0" EndBitPos="12.8.7"/>
        </TreeItem>
        <TreeItem Type="PropTreeItem" Des="EPC 3">
          <TreeItem Type="PropTreeItemEdit"  Des="Address(bit)" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="13.0.0" EndBitPos="13.1.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Length" ValueFormat="ValueFormatNumber" MaxValue="48" StartBitPos="13.2.0" EndBitPos="13.2.7"/>
          <TreeItem Type="PropTreeItermByteEdit" Des="Value(hex)" ByteCount="6"  StartBitPos="13.3.0" EndBitPos="13.8.7"/>
        </TreeItem>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="USER">
        <TreeItem Type="PropTreeItemEdit"  Des="Address(bit)" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="14.0.0" EndBitPos="14.1.7"/>
        <TreeItem Type="PropTreeItemEdit"  Des="Length" ValueFormat="ValueFormatNumber" MaxValue="48" StartBitPos="14.2.0" EndBitPos="14.2.7"/>
        <TreeItem Type="PropTreeItermByteEdit" Des="Value(hex)" ByteCount="6"  StartBitPos="14.3.0" EndBitPos="14.8.7"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="EAS">
        <TreeItem Type="PropTreeItemCombo" Des="EAS Command 1" StartBitPos="15.1.0" EndBitPos="15.1.7">
          <List Des="NXP Command" Value="0x00"/>
        </TreeItem>
        <TreeItem Type="PropTreeItem" Des="EAS Command 2">
          <TreeItem Type="PropTreeItemCheckBox" Des="Enable" StartBitPos="15.0.0" EndBitPos="15.0.0" CheckValue="0x01" UnCheckValue="0x00"/>
          <TreeItem Type="PropTreeItemCombo" Des="Type" StartBitPos="15.2.0" EndBitPos="15.2.7">
            <List Des="NXP Command" Value="0x00"/>
          </TreeItem>
        </TreeItem>
        <TreeItem Type="PropTreeItem" Des="EAS Command 3">
          <TreeItem Type="PropTreeItemCheckBox" Des="Enable" StartBitPos="15.0.1" EndBitPos="15.0.1" CheckValue="0x01" UnCheckValue="0x00"/>
          <TreeItem Type="PropTreeItemCombo" Des="Type" StartBitPos="15.3.0" EndBitPos="15.3.7">
            <List Des="NXP Command" Value="0x00"/>
          </TreeItem>
        </TreeItem>
      </TreeItem>

      <TreeItem Type="PropTreeItem" Des="Read memory bank option">
        <TreeItem Type="PropTreeItemCombo" Des="Memory bank" StartBitPos="15.5.0" EndBitPos="15.5.7">
          <List Des="EPC" Value="0x01"/>
          <List Des="EPC and USER" Value="0x02"/>
          <List Des="EPC and TID" Value="0x03"/>
        </TreeItem>
        <TreeItem Type="PropTreeItem" Des="USER/TID Bank">
          <TreeItem Type="PropTreeItemEdit"  Des="Address(bit)" ValueFormat="ValueFormatNumber"  MaxValue="0xFF" StartBitPos="15.6.0" EndBitPos="15.7.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Length" ValueFormat="ValueFormatNumber" MaxValue="0xFF"  StartBitPos="15.8.0" EndBitPos="15.8.7"/>
          <TreeItem Type="PropTreeItermByteEdit" Des="Password(hex)" ByteCount="4"  StartBitPos="15.9.0" EndBitPos="15.12.7"/>
        </TreeItem>
      </TreeItem>

      <TreeItem Type="PropTreeItem" Des="GPIO Alarm">
        <TreeItem Type="PropTreeItemCombo" Des="Trigger method" StartBitPos="16.2.0" EndBitPos="16.2.3">
          <List Des="None" Value="0x00"/>
          <List Des="Alarm when detection" Value="0x01"/>
        </TreeItem>
        <TreeItem Type="PropTreeItemCheckBox" Des="Broadcast alarm" StartBitPos="16.2.7" EndBitPos="16.2.7" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItem" Des="Output parameters">
          <TreeItem Type="PropTreeItemEdit"  Des="Frequency" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="16.3.0" EndBitPos="16.3.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Activation time" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="16.4.0" EndBitPos="16.5.7"/>
          <TreeItem Type="PropTreeItemEdit"  Des="Invalid time" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="16.6.0" EndBitPos="16.7.7"/>
        </TreeItem>
        <TreeItem Type="PropTreeItemCheckBox" Des="Close buzzer" StartBitPos="16.2.6" EndBitPos="16.2.6" CheckValue="0x01" UnCheckValue="0x00"/>
      </TreeItem>

      <TreeItem Type="PropTreeItem" Des="Data stored">
        <TreeItem Type="PropTreeItemCombo" Des="Record location" StartBitPos="16.0.0" EndBitPos="16.0.7">
          <List Des="FLASH" Value="0x00"/>
          <List Des="RAM" Value="0x01"/>
        </TreeItem>
        <TreeItem Type="PropTreeItemEdit"  Des="How many seconds does the same tag save only one record" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="16.1.0" EndBitPos="16.1.7"/>
        <TreeItem Type="PropTreeItemEdit"  Des="Maximum EPC length" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="10.12.0" EndBitPos="10.12.7"/>
      </TreeItem>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="Reading tags parameters">
      <TreeItem Type="PropTreeItemCombo" Des="Trigger mode of reading tags" StartBitPos="18.11.0" EndBitPos="18.11.7">
        <List Des="Trigger by command" Value="0x00"/>
        <List Des="Trigger by infrared and asynchronous reading" Value="0x01"/>
        <List Des="Trigger by infrared and synchronous reading" Value="0x02"/>
      </TreeItem>
      <TreeItem Type="PropTreeItemCombo" Des="RF frequency" StartBitPos="17.0.0" EndBitPos="17.0.7">
        <List Des="Open 860-960MHz" Value="0x00"/>
        <List Des="NA 902-926MHz" Value="0x01"/>
        <List Des="EU 865-867MHz" Value="0x02"/>
        <List Des="KR 910-913MHz" Value="0x03"/>
        <List Des="IN 865-867MHz" Value="0x04"/>
        <List Des="JP 916.8-923.4MHz" Value="0x05"/>
        <List Des="PRC 920-925MHz" Value="0x06"/>
        <List Des="EU2 869-872MHz" Value="0x07"/>
        <List Des="EU3 865.6-867.6MHz" Value="0x08"/>
        <List Des="KR2 917-923.5MHz" Value="0x09"/>
        <List Des="PRC2 840-845MH" Value="0x0A"/>
        <List Des="AU 920-926MHz" Value="0x0B"/>
        <List Des="NZ 922-927.5MHz" Value="0x0C"/>
        <List Des="NA2 917.4-927.2MHz" Value="0x0D"/>
        <List Des="NA3 917.5-922.5MHz" Value="0x0E"/>
        <List Des="Custom frequency" Value="0xff"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="Custom frequency parameters">
        <TreeItem Type="PropTreeItemEdit"  Des="Start frequency" ValueFormat="ValueFormatNumber" MaxValue="0xFFFFFFFF" StartBitPos="17.2.0" EndBitPos="17.5.7"/>
        <TreeItem Type="PropTreeItemEdit"  Des="End frequency" ValueFormat="ValueFormatNumber" MaxValue="0xFFFFFFFF" StartBitPos="17.6.0" EndBitPos="17.9.7"/>
      </TreeItem>
      <TreeItem Type="PropTreeItemCombo" Des="Frequency hopping" StartBitPos="17.10.0" EndBitPos="17.10.7">
        <List Des="Hopping with antennas" Value="0x00"/>
      </TreeItem>
      <TreeItem Type="PropTreeItemEdit"  Des="Hopping number(N+1)" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="17.11.0" EndBitPos="17.11.7"/>
      <TreeItem Type="PropTreeItemEdit"  Des="Try times when failure" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="17.12.0" EndBitPos="17.12.7"/>
      <TreeItem Type="PropTreeItemCombo" Des="RF Power" StartBitPos="17.1.0" EndBitPos="17.1.7">
        <List Des="1dbm" Value="0"/>
        <List Des="2dbm" Value="1"/>
        <List Des="3dbm" Value="2"/>
        <List Des="4dbm" Value="3"/>
        <List Des="5dbm" Value="4"/>
        <List Des="6dbm" Value="5"/>
        <List Des="7dbm" Value="6"/>
        <List Des="8dbm" Value="7"/>
        <List Des="9dbm" Value="8"/>
        <List Des="10dbm" Value="9"/>
        <List Des="11dbm" Value="10"/>
        <List Des="12dbm" Value="11"/>
        <List Des="13dbm" Value="12"/>
        <List Des="14dbm" Value="13"/>
        <List Des="15dbm" Value="14"/>
        <List Des="16dbm" Value="15"/>
        <List Des="17dbm" Value="16"/>
        <List Des="18dbm" Value="17"/>
        <List Des="19dbm" Value="18"/>
        <List Des="20dbm" Value="19"/>
        <List Des="21dbm" Value="20"/>
        <List Des="22dbm" Value="21"/>
        <List Des="23dbm" Value="22"/>
        <List Des="24dbm" Value="23"/>
        <List Des="25dbm" Value="24"/>
        <List Des="26dbm" Value="25"/>
        <List Des="27dbm" Value="26"/>
        <List Des="28dbm" Value="27"/>
        <List Des="29dbm" Value="28"/>
        <List Des="30dbm" Value="29"/>
        <List Des="31dbm" Value="30"/>
        <List Des="32dbm" Value="31"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="Protocol parameters">
        <TreeItem Type="PropTreeItemCombo" Des="Encoding" StartBitPos="17.13.0" EndBitPos="17.13.1">
          <List Des="FM0" Value="0x00"/>
          <List Des="Miller M2" Value="0x01"/>
          <List Des="Miller M4" Value="0x02"/>
          <List Des="Miller M8" Value="0x03"/>
        </TreeItem>
      </TreeItem>
    </TreeItem>
    <TreeItem Type="PropTreeItem" Des="Other parameters">
      <TreeItem Type="PropTreeItemCombo" Des="Direction by infrared recognition " StartBitPos="18.12.0" EndBitPos="18.12.7">
        <List Des="1->2 In, 2->1 Out" Value="0x00"/>
        <List Des="1->2 Out, 2->1 In" Value="0x01"/>
      </TreeItem>
      <TreeItem Type="PropTreeItemCombo" Des="Buzzer volume" StartBitPos="18.13.0" EndBitPos="18.13.7">
        <List Des="Level-1" Value="0x00"/>
        <List Des="Level-2" Value="0x01"/>
        <List Des="Level-3" Value="0x02"/>
        <List Des="Level-4" Value="0x03"/>
      </TreeItem>

      <TreeItem Type="PropTreeItemCheckBox" Des="Screen on gate" StartBitPos="10.13.0" EndBitPos="10.13.0" CheckValue="0x01" UnCheckValue="0x00"/>
    </TreeItem>

    <TreeItem Type="PropTreeItem" Des="Proactive notification configuration">
      <TreeItem Type="PropTreeItem" Des="Enable option">
        <TreeItem Type="PropTreeItemCheckBox" Des="Enable proactive notification" StartBitPos="9.7.0" EndBitPos="9.7.0" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItemCheckBox" Des="Enable server reply" StartBitPos="9.7.1" EndBitPos="9.7.1" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItemCheckBox" Des="Enable keepalive" StartBitPos="9.7.2" EndBitPos="9.7.2" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItemEdit"  Des="Keepalive Intervals=(n+1) * 1s" ValueFormat="ValueFormatNumber" MaxValue="0xFF" StartBitPos="12.7.0" EndBitPos="12.7.7"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="Server">
        <TreeItem Type="PropTreeItemIPAddr" Des="IP" StartBitPos="9.0.0" EndBitPos="9.3.7"/>
        <TreeItem Type="PropTreeItemEdit"  Des="Port" ValueFormat="ValueFormatNumber" MaxValue="0xFFFF" StartBitPos="9.4.0" EndBitPos="9.5.7"/>
      </TreeItem>
      <TreeItem Type="PropTreeItem" Des="Send data">
        <TreeItem Type="PropTreeItemCheckBox" Des="Alarm record" StartBitPos="9.6.0" EndBitPos="9.6.0" CheckValue="0x01" UnCheckValue="0x00"/>
        <TreeItem Type="PropTreeItemCheckBox" Des="People counter" StartBitPos="9.6.1" EndBitPos="9.6.1" CheckValue="0x01" UnCheckValue="0x00"/>
      </TreeItem>

    </TreeItem>


  </PropTreeCfg>

</Cfg>
