You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/registered-alarms/set-registered.py
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,12 @@
63
63
"doc" : "The alarm category, useful for consumers to filter out alarms of interest"
64
64
}
65
65
},
66
+
{
67
+
"name" : "maxshelveduration",
68
+
"type" : ["null", "int"],
69
+
"doc" : "Maximum amount of time an alarm is allowed to be shelved in seconds; zero means alarm cannot be shelved and null means no limit",
70
+
"default" : null
71
+
},
66
72
{
67
73
"name" : "latching",
68
74
"type" : "boolean",
@@ -124,12 +130,13 @@ def send() :
124
130
@click.option('--producerjar', help="The name of the Java JAR file containing the stream rules powering this alarm, only needed if not using producerPv")
@click.option('--maxshelveduration', 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")
127
134
@click.option('--latching', is_flag=True, help="Indicate that the alarm latches and requires acknowledgement to clear")
128
135
@click.option('--docurl', help="Relative path to documentation from https://alarms.jlab.org/doc")
129
136
@click.option('--edmpath', help="Relative path to OPS fiefdom EDM screen from /cs/mccops/edm")
0 commit comments