<#include 'public/template/editTemplate.html'> <#macro editContent>
<@ZKUI.Input hideLabel="true" type="hidden" name="id" value="${(item.id)!}"/> <#if (isSupportConfig)?exists && isSupportConfig> <#if (supportOSDP)?exists> <#if (encrypt)?exists> <#if (isSupportInfoReveal)?exists && isSupportInfoReveal>
* <@ZKUI.Input hideLabel="true" name="deviceAlias" type="text" value="${(item.deviceAlias)!}" readonly="readonly" />
* <@ZKUI.Input hideLabel="true" name="name" type="text" maxlength="30" value="${(item.name)!}"/>
* <@ZKUI.Input hideLabel="true" name='readerNo' type='text' value='${(item.readerNo)!}' disabled="disabled" />
* <@ZKUI.Input hideLabel="true" name="actionInterval" type="text" value="${(item.actionInterval)!}"/> <@i18n 'common_second'/>(0-254)
* <#if (newVFStyles)?exists> <@ZKUI.Combo id="newVerifyStyleCombo${uuid!}" empty="false" value="0" onChange="changeVerifyMode" hideLabel="true" readonly="true" width="148">
<#else> <@ZKUI.Combo empty="false" value="${(item.verifyMode)!}" name="verifyMode" hideLabel="true" readonly="true" width="148" path="eleDeviceVerifyMode.do?getVerifyMode&deviceId=${(item.deviceId)!}">
* <@ZKUI.Combo hideLabel="true" width="148" empty="false" name="commType" id="commType" value="${(item.commType)!}"> <#if (isSupportWgOrRS485)?exists && isSupportWgOrRS485>
* <@ZKUI.Input type="text" hideLabel="true" id="readerCommAddress" name="commAddress" value="${(item.commAddress)!}" oldValue="${(item.commAddress)!}" tempValue="${(item.commAddress)!}" valid="required: true,digits: true" disabled="disabled"/>
*
<@ZKUI.Input hideLabel="true" type="hidden" name="ip" value="${(item.ip)!}" id="idIPAddress"/>
* <@ZKUI.Input hideLabel="true" type="text" name="port" value="${(item.port)!4376}" readonly="readonly"/>
* <@ZKUI.Input hideLabel="true" type="text" name="mac" value="${(item.mac)!}" valid="required: true,macValid: true"/>
<@ZKUI.Combo autoFirst="true" id="idWgInputFmt" value="${(item.persWiegandFmtId)!}" empty="false" name="persWiegandFmtId" hideLabel="true" readonly="true" width="148" path="eleReader.do?getWiegandFmtList">
<#if requireCardControl?exists> <@ZKUI.Input hideLabel="true" eventCheck="true" type="checkbox" trueValue="true" falseValue="false" id="readerEncrypt" disabled="true" /> <#else> <@ZKUI.Input hideLabel="true" eventCheck="true" type="checkbox" trueValue="true" falseValue="false" id="readerEncrypt" />
<@ZKUI.Input hideLabel="true" eventCheck="true" disabled="disabled" type="checkbox" trueValue="true" falseValue="false" id="userInfoRevealConfirm"/> <@ZKUI.Input hideLabel="true" type="hidden" name="userInfoReveal" value="0" id="userInfoRevealHidden" />
<@ZKUI.Combo name="applyTo" hideLabel="true" width="148" >
<#if (encrypt)?exists>
<@i18n 'ele_reader_tip1'/>
<#if (isSupportInfoReveal)?exists && isSupportInfoReveal>
<@i18n 'ele_reader_tip2'/>
<#if (supportOSDP)?exists>
<@i18n 'ele_reader_tip3'/>