<#include '/public/template/editTemplate.html'> <#macro editContent>
* <#if !((item.isApplyToAll)?exists)||item.isApplyToAll==0> <@ZKUI.Input hideLabel="true" type="checkbox" name="applyToAll" id="isApplyToAll" checked="checked"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" name="applyToAll" id="isApplyToAll"/>

<@i18n 'common_linkIO_conditions'/>* <@i18n 'common_op_add'/>

<@i18n 'common_linkIO_inputPoint'/>* <@i18n 'common_op_add'/>

<@i18n 'acc_door_entity'/> <@i18n 'common_op_add'/>

<@i18n 'acc_leftMenu_auxOut'/> <@i18n 'common_op_add'/>

<@ZKUI.Combo width="148" empty="false" id="doorActionType" name="doorActionType" hideLabel="true" readonly="readonly" value="${(item.doorActionType)!}">
<@i18n 'common_linkIO_actionDelay'/>* <@i18n 'common_linkIO_s'/>(1-254)
<@ZKUI.Combo width="148" empty="false" id="auxoutActionType" name="auxoutActionType" onChange="checkedAuxoutActionType" hideLabel="true" readonly="readonly" value="${(item.auxoutActionType)!}">
<@i18n 'common_linkIO_actionDelay'/>* <@i18n 'common_linkIO_s'/>(1-254)
<@ZKUI.Combo width="148" empty="true" id="accGlobalLinkageTimeSeg" name="timeSegId" hideLabel="true" readonly="readonly" value="${(item.timeSegId)!}" path="accTimeSeg.do?getTimeSegList" autoFirst="true">
<#if ((item.startTime)?exists) || ((item.endTime)?exists)> <@ZKUI.Input hideLabel="true" type="checkbox" id="isSetValidTime" name="isSetValidTime" value="" checked="checked"/> <#else> <@ZKUI.Input hideLabel="true" type="checkbox" id="isSetValidTime" name="isSetValidTime"/>
<@ZKUI.Input type="date" id="id_start" endId="id_end" today="true" value="${((item.startTime)?string('yyyy-MM-dd'))!}" max="0" name="startTime" hideLabel="true" readonly="false"/>
<@ZKUI.Input type="date" id="id_end" today="true" value="${((item.endTime)?string('yyyy-MM-dd'))!}" min="0" name="endTime" hideLabel="true" readonly="true"/>
<@ZKUI.ComboTree id="baseMediaFileId" name="baseMediaFileId" width="148" tree_onCheck="onAccMediaTreeChecked" value="${(item.baseMediaFileId)!}" type="radio" hideLabel="true" url="baseMediaFile.do?getMediaFileList"/>
      
<#if systemModules?lower_case?index_of("ias") != -1>
<@i18n 'base_linkage_ias_partition'/> <@i18n 'common_op_add'/>
<@ZKUI.Tree id="iasPartitionTreeId" value="${(item.iasPartitionIds)!}" url="accLinkage.do?getIasPartitionTreeByIds&iasPartitionIds=${(item.iasPartitionIds)!}" type="checkbox">
<@ZKUI.Combo width="148" empty="false" id="partitionActionType${uuid!}" name="partitionActionType" onChange="checkedPartitionActionType" hideLabel="true" readonly="readonly" value="${(item.partitionActionType)!}">
<@i18n 'base_linkage_ias_armType'/> <@ZKUI.Combo width="148" empty="false" autoFirst="true" id="partitionArmType${uuid!}" name="partitionArmType" hideLabel="true" readonly="readonly" value="${(item.partitionArmType)!''}" path="accLinkage.do?getArmTypeByManufacture&manufacture=${(item.iasManufacture)!'BOSCH'}">
<@i18n 'common_linkIO_mailAddr'/>
<@i18n 'common_email_setMailTip'/>
<#if showSMS?exists && showSMS?string == "true">
<@i18n 'common_linkIO_mobileNo'/>
<@i18n 'common_smsModem_setMobileNoTip'/>
<#if showDigifort?exists && showDigifort?string == "true">

<@i18n 'acc_digifort_globalEvent'/>     <@i18n 'common_op_add'/>

<@i18n 'acc_digifort_eventExpiredTip'/>
<#if showLine?exists && showLine?string == "true">

<@i18n 'system_systemClient_contacts'/> <@i18n 'common_op_add'/>

<#if contactList??> <#if (contactList?size>0)> <#list contactList as lineContact>
<#if showWhatsapp?exists && showWhatsapp?string == "true">
<@i18n 'common_linkIO_mobileNo'/>
<@i18n 'common_smsModem_setMobileNoTip'/>
<#if showMusterPoint?exists && showMusterPoint?string == "true">

<@i18n 'acc_leftMenu_accMusterPoint'/>

<#if musterPointList??> <#if (musterPointList?size>0)> <#list musterPointList as musterPoint> <#if musterPoint.checked>
<#else>