fix: use periodic runner for dbpm3curr
This commit is contained in:
@@ -3,7 +3,7 @@ import typer
|
||||
|
||||
from agebd.enums import LogLevel
|
||||
from agebd.pv import PVLink
|
||||
from agebd.runner import CallbackRunner
|
||||
from agebd.runner import PeriodicRunner
|
||||
from agebd.service.base import BaseService
|
||||
from agebd.service.pvs import BasePVs
|
||||
from agebd.utils import get_pv_class, init_logging, printgetversion
|
||||
@@ -259,7 +259,7 @@ def main(
|
||||
service_name = "DBPM3CURR"
|
||||
pvs = PVs(service_name=service_name, pv_factory=PV)
|
||||
service = Service(name=service_name, pvs=pvs)
|
||||
runner = CallbackRunner(service=service)
|
||||
runner = PeriodicRunner(service=service)
|
||||
runner.start()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user