<#assign editPage = true> <#include '/public/template/editTemplate.html'> <#macro editContent>
<#if (manufacturer)?exists && manufacturer == "KONE" && (readerType)?exists && readerType == "EXTERNAL">
<@i18n 'ele_floor_entity'/> <@i18n 'ele_mask_departure_front_door'/> <@i18n 'ele_mask_departure_back_door'/> <@i18n 'ele_mask_destination_front_door'/> <@i18n 'ele_mask_destination_back_door'/>
<#list onlineMask as item> <#if (manufacturer)?exists && manufacturer == "KONE" && (readerType)?exists && readerType == "EXTERNAL">
${item.floorName} <@ZKUI.Input type="checkbox" name="onlineMask[${item_index}].departureFrontDoor" value="${item.departureFrontDoor}" trueValue="1" falseValue="0" eventCheck="true"/> <@ZKUI.Input type="checkbox" name="onlineMask[${item_index}].departureBackDoor" value="${item.departureBackDoor}" trueValue="1" falseValue="0" eventCheck="true"/> <@ZKUI.Input type="checkbox" name="onlineMask[${item_index}].destinationFrontDoor" value="${item.destinationFrontDoor}" trueValue="1" falseValue="0" eventCheck="true"/> <@ZKUI.Input type="checkbox" name="onlineMask[${item_index}].destinationBackDoor" value="${item.destinationBackDoor}" trueValue="1" falseValue="0" eventCheck="true"/>
<#if (manufacturer)?exists && manufacturer == "KONE" || (specificMask)?exists && specificMask == true>
<#if (manufacturer)?exists && manufacturer == "KONE" && (readerType)?exists && readerType == "EXTERNAL">
<@i18n 'ele_floor_entity'/><@i18n 'ele_mask_departure_front_door'/> <@i18n 'ele_mask_departure_back_door'/> <@i18n 'ele_mask_destination_front_door'/> <@i18n 'ele_mask_destination_back_door'/>
<#list offlineMask as item> <#if (manufacturer)?exists && manufacturer == "KONE" && (readerType)?exists && readerType == "EXTERNAL">
${item.floorName} <@ZKUI.Input type="checkbox" name="offlineMask[${item_index}].departureFrontDoor" value="${item.departureFrontDoor}" trueValue="1" falseValue="0" eventCheck="true"/> <@ZKUI.Input type="checkbox" name="offlineMask[${item_index}].departureBackDoor" value="${item.departureBackDoor}" trueValue="1" falseValue="0" eventCheck="true"/> <@ZKUI.Input type="checkbox" name="offlineMask[${item_index}].destinationFrontDoor" value="${item.destinationFrontDoor}" trueValue="1" falseValue="0" eventCheck="true"/> <@ZKUI.Input type="checkbox" name="offlineMask[${item_index}].destinationBackDoor" value="${item.destinationBackDoor}" trueValue="1" falseValue="0" eventCheck="true"/>