Skip to content

Commit f256596

Browse files
committed
Add INVALID severity to alarm datasource
1 parent d3f421e commit f256596

File tree

1 file changed

+2
-0
lines changed
  • app/alarm/datasource/src/main/java/org/phoebus/pv/alarm

1 file changed

+2
-0
lines changed

app/alarm/datasource/src/main/java/org/phoebus/pv/alarm/AlarmPV.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ private static Alarm processState(BasicState state)
143143
return Alarm.of(AlarmSeverity.MINOR, AlarmStatus.UNDEFINED, state.toString());
144144
case MAJOR:
145145
return Alarm.of(AlarmSeverity.MAJOR, AlarmStatus.UNDEFINED, state.toString());
146+
case INVALID:
147+
return Alarm.of(AlarmSeverity.INVALID, AlarmStatus.UNDEFINED, state.toString());
146148
case UNDEFINED:
147149
return Alarm.of(AlarmSeverity.UNDEFINED, AlarmStatus.UNDEFINED, state.toString());
148150
default:

0 commit comments

Comments
 (0)