Skip to content

Commit

Permalink
ENH #565 add EditStringSequence
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Dec 7, 2021
1 parent 26dd80f commit 02019ba
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions apstools/synApps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from .transform import TransformRecord
from .transform import UserTransformsDevice

from .sseq import EditStringSequence
from .sseq import SseqRecord
from .sseq import UserStringSequenceDevice

Expand Down
17 changes: 16 additions & 1 deletion apstools/synApps/sseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
.. autosummary::
~UserStringSequenceDevice
~EditStringSequence
~SseqRecord
~UserStringSequenceDevice
"""

# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -165,3 +166,17 @@ def reset(self): # lgtm [py/similar-function]
continue
getattr(self, c).reset()
self.read_attrs = self.component_names


class EditStringSequence(Device):
"""
Assistance to quickly re-arrange steps in an sseq record configuration.
See the editSseq_more GUI screen for assistance.
"""
record_name = Cpt(EpicsSignal, "ES:recordName", kind="config")
command = Cpt(EpicsSignal, "ES:command", kind="config")
message_acknowledge = Cpt(EpicsSignal, "ES:OperAck", kind="config")
message = Cpt(EpicsSignalRO, "ES:message", kind="normal")
alert = Cpt(EpicsSignalRO, "ES:Alert", kind="normal")
debug = Cpt(EpicsSignal, "ES:Debug", kind="config")

0 comments on commit 02019ba

Please sign in to comment.