<#include "/public/template/editTemplate.html"> <#macro editContent>
<@i18n 'ivs_basicConfig'/>
<#if item.enabled?exists && item.enabled=="1"> <@ZKUI.Input class="cch" name="enabled" type="radio" value="1" checked="checked" /> <#else> <@ZKUI.Input class="cch" name="enabled" type="radio" value="1" /> <#if item.enabled?exists && item.enabled=="0"> <@ZKUI.Input class="cch" name="enabled" type="radio" value="0" checked="checked" /> <#else> <@ZKUI.Input class="cch" name="enabled" type="radio" value="0" /> <#if item.alarmEnabled?exists && item.alarmEnabled=="1"> <@ZKUI.Input class="cch" name="alarmEnabled" type="radio" value="1" checked="checked" /> <#else> <@ZKUI.Input class="cch" name="alarmEnabled" type="radio" value="1" /> <#if item.alarmEnabled?exists && item.alarmEnabled=="0"> <@ZKUI.Input class="cch" name="alarmEnabled" type="radio" value="0" checked="checked" /> <#else> <@ZKUI.Input class="cch" name="alarmEnabled" type="radio" value="0" /> <@ZKUI.ComboTree id="channelCode" name="channelCode" hideLabel="true" width="148" needCheckAll="true" isTree="false" value="${item.channelCode!}"/>
<#if item??> <#list item.ivsPersAlarmSetItems as attrItem>
<@i18n 'ivs_channelCode'/> <@i18n 'ivs_buzzer'/> <@i18n 'ivs_alarmOutput'/> <@i18n 'ivs_outputDelay'/> <@i18n 'ivs_showThumbnail'/> <@i18n 'ivs_sendEmail'/>
${attrItem.channelName} <@ZKUI.Combo empty="false" id="chnBuzzerOpt${attrItem.channel}" name="chnBuzzerOpt${attrItem.channel}" followTab="true" readonly="true" hideLabel="true" value="${(attrItem.chnBuzzerOpt)!}"> <@ZKUI.ComboTree width="148" id="chnAlarmOut${attrItem.channel}" value="${(attrItem.chnAlarmOut)!}" url="ivsPersonnelList.do?treeSet&key=${attrItem.alarmOutputChannel}" hideLabel="true" name="chnAlarmOut" isTree="true"/> <@ZKUI.Combo empty="false" id="latchTimeOpt${attrItem.channel}" name="latchTimeOpt${attrItem.channel}" followTab="true" readonly="true" hideLabel="true" value="${(attrItem.latchTimeOpt)!}"> <@ZKUI.Combo empty="false" id="showThumbnail${attrItem.channel}" name="showThumbnail${attrItem.channel}" followTab="true" readonly="true" hideLabel="true" value="${(attrItem.showThumbnail)!}"> <@ZKUI.Combo empty="false" id="sendEmail${attrItem.channel}" name="sendEmail${attrItem.channel}" followTab="true" readonly="true" hideLabel="true" value="${(attrItem.sendEmail)!}">
<@ZKUI.ComboTree id="channelCode${uuid}" name="channelCode" hideLabel="true" type="radio" width="148" autoFirst="true" tree_onCheck="onTreeChecked" value="${item.channelCode!}"/>
      <#macro buttonContent>