This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import time
|
||||
from typing import override
|
||||
|
||||
import numpy as np
|
||||
import typer
|
||||
|
||||
@@ -185,8 +182,6 @@ class Service(BaseService[PVs]):
|
||||
self.ChargeArrayBPMs = np.empty(len(pvs.bpms))
|
||||
self.iter = 0
|
||||
|
||||
# TODO: decorator needs min python3.12
|
||||
@override
|
||||
def update(self):
|
||||
# set current to zero without beam
|
||||
if not self.pvs.dump_valve.get() == 1:
|
||||
@@ -241,8 +236,6 @@ class Service(BaseService[PVs]):
|
||||
elif self.pvs.recalibrate_apply.get():
|
||||
self.pvs.calibration.put(self.pvs.calibration_new.get())
|
||||
|
||||
# TODO: decorator needs min python3.12
|
||||
@override
|
||||
def on_transition_to_paused(self):
|
||||
"""
|
||||
Set current to zero when service is transitioned to paused.
|
||||
|
||||
Reference in New Issue
Block a user