alarms/alarm-status-to-icon.pipe.ts
Angular pipe for transforming alarm statuses into corresponding icons.
Example :Usage in an Angular template:
{{ 'ACTIVE' | AlarmStatusToIcon }}
Result: 'bell'
Name | AlarmStatusToIcon |
transform | ||||||||
transform(alarmStatus: AlarmStatusType)
|
||||||||
Transforms an alarm status into a corresponding icon.
Parameters :
Returns :
AlarmStatusIcon |
|