cd %~dp0

echo org.csstudio.platform.libs.epics/addr_list=130.87.169.57 130.87.169.30 130.87.169.228 > %TEMP%\plugin_customization_CERL_OFFICE.ini
echo org.csstudio.trends.databrowser2/archives=All^|1^|xnds://pfconrg07.kek.jp:8082/archive/cgi/ArchiveDataServer.cgi*Group^|2^|xnds://pfconrg07.kek.jp:8082/archive/cgi/ArchiveDataServer.cgi*(updated^|3^|xnds://pfconrg07.kek.jp:8082/archive/cgi/ArchiveDataServer.cgi*in^|4^|xnds://pfconrg07.kek.jp:8082/archive/cgi/ArchiveDataServer.cgi*30min)^|5^|xnds://pfconrg07.kek.jp:8082/archive/cgi/ArchiveDataServer.cgi*Archive^|1^|xnds://pfconrg06.kek.jp:8080/archive/cgi/ArchiveDataServer.cgi >> %TEMP%\plugin_customization_CERL_OFFICE.ini
echo org.csstudio.trends.databrowser2/urls=xnds://pfconrg07.kek.jp:8082/archive/cgi/ArchiveDataServer.cgi*xnds://pfconrg06.kek.jp:8080/archive/cgi/ArchiveDataServer.cgi*jdbc:postgresql://jparc.kek.jp:5432/archive*xnds://pfrproc2.pfring.kek.jp/archive/cgi/ArchiveDataServer.cgi*xnds://lcba03.linac.kek.jp:4080/RPC2*jdbc:postgresql://lcba09.linac.kek.jp:5432/archive*kblog:///KEKBLog*jdbc:postgresql://jparc-office.kek.jp:5432/archive*xnds://www-linac2.kek.jp:4080/RPC2*jdbc:postgresql://lcba09.kek.jp:5432/archive >> %TEMP%\plugin_customization_CERL_OFFICE.ini

echo org.csstudio.opibuilder/color_file=/Operation/cERL/color_cERL.def >> %TEMP%\plugin_customization_CERL_OFFICE.ini
echo org.csstudio.opibuilder/font_file=/Operation/cERL/font_cERL.def >> %TEMP%\plugin_customization_CERL_OFFICE.ini

start css.exe -pluginCustomization %TEMP%\plugin_customization_CERL_OFFICE.ini -share_link \\pfrnas3.kek.jp\public\public\EPICS\CSS\Operation\cERL=/Operation/cERL %*
