alarms/alarm-severity-to-label.pipe.ts
Pipe to transform alarm severity to corresponding label.
Name | AlarmSeverityToLabel |
transform | ||||||||
transform(alarmSeverity: string)
|
||||||||
Transforms an alarm severity to its corresponding label.
Parameters :
Returns :
string
The translated label corresponding to the given alarm severity. |