From 3b5523ec9edb38e07c30a22b8db40bad924d859e Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Wed, 8 Jul 2026 12:02:09 +0200 Subject: [PATCH] fix: default PV names in template --- .../app/src/AGEBD-SERVICE-{{service_name_upper}}.py.jinja | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/service/{{service_id}}-{{service_name_lower}}/current/app/src/AGEBD-SERVICE-{{service_name_upper}}.py.jinja b/templates/service/{{service_id}}-{{service_name_lower}}/current/app/src/AGEBD-SERVICE-{{service_name_upper}}.py.jinja index 2d1d215..38ca439 100644 --- a/templates/service/{{service_id}}-{{service_name_lower}}/current/app/src/AGEBD-SERVICE-{{service_name_upper}}.py.jinja +++ b/templates/service/{{service_id}}-{{service_name_lower}}/current/app/src/AGEBD-SERVICE-{{service_name_upper}}.py.jinja @@ -18,9 +18,7 @@ PV = get_pv_class() class PVs(BasePVs): # Option 1: ## Service specific PVs from dedicated IOC - my_pv1 = PV( - "AGEBD-CPCL-{{ service_name_upper }}-DEV:AO" - ) # TODO: is this a good PV to use? + my_pv1 = PV("AGEBD-{{ service_name_upper }}:AO") # TODO: is this a good PV to use? ## Service specific PVs from other IOCs # ... @@ -37,7 +35,7 @@ class PVs(BasePVs): # Option 2: ## Service specific PVs from dedicated IOC self.my_pv2 = PV( - "AGEBD-CPCL-{{ service_name_upper }}-DEV:BO" + "AGEBD-{{ service_name_upper }}:BO" ) # TODO: is this a good PV to use? ## Service specific PVs from other IOCs