ui: use subs

This commit is contained in:
Benjamin Labrecque
2026-07-09 10:23:00 +02:00
parent 353130225e
commit 6e9365db0b
3 changed files with 21 additions and 2 deletions
+3 -1
View File
@@ -9,4 +9,6 @@ ssh -J sls-lc -X labrec_b@sls-vserv-bd-hla01-dev.psi.ch
Macro substitution
```
caqtdm -m'TESTAGEBDALH=AGEBD-ALH' A_BD_ServiceManager.ui
```
```
# TODO: remove/delete old autodeployed ui files
+1 -1
View File
@@ -138,7 +138,7 @@ caLabel[statusTip="Operation"]{
</rect>
</property>
<property name="macro">
<string>IOC=AGEBD-CPCL-DBPM3CURR,service=DBPM3CURR,name=DBPM3Current,panel=1,svc_exist=1,panelcmd=A_BD_DBPM3Current.ui;IOC=AGEBD-CPCL-TAUBPM,service=TAUBPM,name=LifetimeBPM,panel=1,svc_exist=1,panelcmd=A_BD_LifetimeBPM.ui;IOC=AGEBD-CPCL-TAUPCT,service=TAUPCT,name=LifetimePCT,panel=1,svc_exist=1,panelcmd=A_BD_LifetimePCT.ui;IOC=AGEBD-CPCL-TIMING,service=TIMING,name=Timing,panel=1,svc_exist=1,panelcmd=A_BD_Timing.ui;IOC=AGEBD-CPCL-SCRUBBING,service=SCRUBBING,name=Scrubbing,panel=1,svc_exist=1,panelcmd=A_BD_Scrubbing.ui;IOC=AGEBD-CPCL-INJECTIONGUARD,service=INJECTIONGUARD,name=InjectionGuard,panel=1,svc_exist=1,panelcmd=A_BD_InjectionGuard.ui;IOC=AGEBD-CPCL-POSTMORTEMLOG,service=POSTMORTEMLOG,name=PostMortemLog,panel=1,svc_exist=1,panelcmd=A_BD_PostMortemLog.ui;IOC=AGEBD-CPCL-TUNEBUMP,service=TUNEBUMP,name=TuneBump,panel=1,svc_exist=1,panelcmd=A_BD_TuneBump.ui;IOC=AGEBD-CPCL-PLOTS,service=PLOTS,name=Plots,panel=0,svc_exist=1,panelcmd=A_BD_Plots.ui;IOC=AGEBD-CPCL-ORBITBUMP,service=ORBITBUMP,name=OrbitBump,panel=1,svc_exist=0,panelcmd=A_BD_OrbitBump.ui;IOC=AGEBD-CPCL-TUNEFBX,service=TUNEFBX,name=Hor. Tune Feedback,panel=1,svc_exist=1,panelcmd=A_BD_TuneBump.ui;IOC=AGEBD-CPCL-TUNEFBY,service=TUNEFBY,name=Ver. Tune Feedback,panel=1,svc_exist=1,panelcmd=A_BD_TuneBump.ui</string>
<string>@required_services.subs</string>
</property>
<property name="filename" stdset="0">
<string notr="true">A_BD_ServiceManager_inc.ui</string>
+17
View File
@@ -0,0 +1,17 @@
# required_services.substitutions
# Service configurations for caInclude
file A_BD_ServiceManager_inc.ui {
{ IOC="AGEBD-CPCL-DBPM3CURR", service="DBPM3CURR", name="DBPM3Current", panel="1", svc_exist="1", panelcmd="A_BD_DBPM3Current.ui" }
{ IOC="AGEBD-CPCL-TAUBPM", service="TAUBPM", name="LifetimeBPM", panel="1", svc_exist="1", panelcmd="A_BD_LifetimeBPM.ui" }
{ IOC="AGEBD-CPCL-TAUPCT", service="TAUPCT", name="LifetimePCT", panel="1", svc_exist="1", panelcmd="A_BD_LifetimePCT.ui" }
{ IOC="AGEBD-CPCL-TIMING", service="TIMING", name="Timing", panel="1", svc_exist="1", panelcmd="A_BD_Timing.ui" }
{ IOC="AGEBD-CPCL-SCRUBBING", service="SCRUBBING", name="Scrubbing", panel="1", svc_exist="1", panelcmd="A_BD_Scrubbing.ui" }
{ IOC="AGEBD-CPCL-INJECTION*", service="INJECTIONGUARD", name="InjectionGuard", panel="1", svc_exist="1", panelcmd="A_BD_InjectionGuard.ui" }
{ IOC="AGEBD-CPCL-POSTMORTEM*", service="POSTMORTEMLOG", name="PostMortemLog", panel="1", svc_exist="1", panelcmd="A_BD_PostMortemLog.ui" }
{ IOC="AGEBD-CPCL-TUNEBUMP", service="TUNEBUMP", name="TuneBump", panel="1", svc_exist="1", panelcmd="A_BD_TuneBump.ui" }
{ IOC="AGEBD-CPCL-PLOTS", service="PLOTS", name="Plots", panel="0", svc_exist="1", panelcmd="A_BD_Plots.ui" }
{ IOC="AGEBD-CPCL-ORBITBUMP", service="ORBITBUMP", name="OrbitBump", panel="1", svc_exist="0", panelcmd="A_BD_OrbitBump.ui" }
{ IOC="AGEBD-CPCL-TUNEFBX", service="TUNEFBX", name="Hor. Tune FB", panel="1", svc_exist="1", panelcmd="A_BD_TuneBump.ui" }
{ IOC="AGEBD-CPCL-TUNEFBY", service="TUNEFBY", name="Ver. Tune FB", panel="1", svc_exist="1", panelcmd="A_BD_TuneBump.ui" }
}