alarms/alarm-severity-to-icon.pipe.ts
Pipe for transforming alarm severity types into corresponding icons.
Example :Usage in an Angular template:
{{ 'CRITICAL' | AlarmSeverityToIcon }}
Result: 'exclamation-circle'| Name | AlarmSeverityToIcon |
| Standalone | true |
| transform | ||||||||
transform(alarmSeverity: SeverityType)
|
||||||||
|
Transforms an alarm severity type into a corresponding icon.
Parameters :
Returns :
AlarmSeverityIcon | unknown
The corresponding icon for the given alarm severity type. |