alarms/alarm-status-to-label.pipe.ts
Pipe to transform alarm status to corresponding label.
Name | AlarmStatusToLabel |
transform | ||||||||
transform(alarmStatus: AlarmStatusType)
|
||||||||
Transforms an alarm status to its corresponding label.
Parameters :
Returns :
string
The translated label corresponding to the given alarm status. |