##mako

# Conf file created by the LLRF configCreator
# eq_fct_type's are defined in eq_fct_code.h

eq_conf: 

oper_uid:   -1
oper_gid:   ${OPER_GID}
xpert_uid:  0
xpert_gid:  0
ring_buffer:  500000
memory_buffer:  500

eq_fct_name:  "${SVR_LOCATION}"
eq_fct_type:  1
{
SVR.NAME:   "${SVR_LOCATION}"
STS.ONLINE:   1
FCT_CODE:   1
SVR.RATE:   1  0  0  0
SVR.DESC:   ""
SVR.PROGRAMMER:   "Jan Timm"
SVR.STORE.RATE:   60
SVR.STORE.AUTO:   10
SVR.HOST_NAME:    "${HOSTNAME}"
SVR.RPC_NUMBER:   ${RPC_NUMBER}
SVR.WDADDR:   "${WATCHDOG_ADDRESS}/"
SVR.FACILITY:   "${ACCELERATOR}.RF"
SVR.DEVICE:   "LLRF.TRIPEVENT_LOGGER"
SVR.BPN:    0
SVR.SPR:    0
}
% if ACCELERATOR == "XFEL" :
  % if STATION == "VS" :
    % for Station in map(str,range(2,27)) :
      
eq_fct_name:  "VS.A${Station}.${GET_SECTION_NAME(Station)}"
eq_fct_type:  10
{
NAME:   "VS.A${Station}.${GET_SECTION_NAME(Station)}"
}
    % endfor
  % else:
    % for CRYOMODULE in CRYOMODULES :
    % for CAVITY in range(NR_OF_CAVITIES):
eq_fct_name:  "C${CAVITY+1}.${MODULE_LOCATION_SUFFIX(CRYOMODULE)}"
eq_fct_type:  10
{
NAME:   "C${CAVITY+1}.${MODULE_LOCATION_SUFFIX(CRYOMODULE)}"
}
    % endfor
    % endfor
  % endif
% endif
