Skip to content

Commit 5e952fd

Browse files
committed
Added new locations and categories
1 parent e881fcc commit 5e952fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/alarms/set-registered.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def send() :
5555
@click.option('--unset', is_flag=True, help="Remove the alarm")
5656
@click.option('--producerpv', help="The name of the EPICS CA PV that directly powers this alarm, only needed if not using producerJar")
5757
@click.option('--producerjar', help="The name of the Java JAR file containing the stream rules powering this alarm, only needed if not using producerPv")
58-
@click.option('--location', type=click.Choice(['INJ', 'NL', 'SL','EA','WA','BSY', 'HA', 'HB', 'HC', 'HD','CHL','MCC','LERF','UITF']), help="The alarm location")
59-
@click.option('--category', type=click.Choice(['Aperture','BCM','Box','BPM','CAMAC','Crate','Dump','Gun','Harp','Helicity','IOC','RADCON','RF','Vacuum']), help="The alarm category")
58+
@click.option('--location', type=click.Choice(['1D','2D','3D','4D','5D','L1','L2','L3','L4','L5','L6','L7','L8','L9','LA','LB','A1','A2','A3','A4','A5','A6','A7','A8','A9','AA','BSY2','BSY4','BSY6','BSY8','BSYA','BSYD','INJ', 'NL', 'SL','EA','WA','BSY', 'HA', 'HB', 'HC', 'HD','ACC','CHL','MCC','LERF','UITF']), help="The alarm location")
59+
@click.option('--category', type=click.Choice(['Aperture','BCM','Box','BPM','CAMAC','Crate','Dump','Gun','Harp','Helicity','IC','IOC','Laser','LCW','Misc','ODH','RADCON','RF','Vacuum']), help="The alarm category")
6060
@click.option('--maxshelvedduration', type=click.INT, help="Maximum amount of time an alarm is allowed to be shelved in seconds; zero means alarm cannot be shelved and null means no limit")
6161
@click.option('--latching', is_flag=True, help="Indicate that the alarm latches and requires acknowledgement to clear")
6262
@click.option('--docurl', help="Relative path to documentation from https://alarms.jlab.org/doc")

0 commit comments

Comments
 (0)