This commit is contained in:
@@ -10,7 +10,7 @@ from OMFacility import Facility
|
||||
from OMSLS2Magnet import SLS2Magnet
|
||||
from scipy import signal
|
||||
|
||||
from agebd.pv import get_pv_class
|
||||
from agebd.pv import get_pv_class, get_pv_external_class
|
||||
from agebd.service.base import BaseService
|
||||
from agebd.service.pvs import BasePVs
|
||||
from agebd.utils import printgetversion
|
||||
@@ -18,6 +18,7 @@ from agebd.utils import printgetversion
|
||||
__version__ = printgetversion(__file__)
|
||||
|
||||
PV = get_pv_class()
|
||||
PV_EXTERNAL = get_pv_external_class()
|
||||
|
||||
|
||||
class PVs(BasePVs):
|
||||
@@ -272,7 +273,7 @@ class PVs(BasePVs):
|
||||
}
|
||||
|
||||
for key in quads:
|
||||
quads[key].append(PV(key + ":I-SET.VAL"))
|
||||
quads[key].append(PV_EXTERNAL(key + ":I-SET.VAL"))
|
||||
|
||||
def __init__(self, service_name: str, pv_factory=PV):
|
||||
super().__init__(service_name, pv_factory)
|
||||
|
||||
Reference in New Issue
Block a user