File

device-grid/columns/alarms.cell-renderer.component.ts

Metadata

Index

Properties

Constructor

constructor(context: CellRendererContext, columnUtilService: ColumnUtilService)
Parameters :
Name Type Optional
context CellRendererContext No
columnUtilService ColumnUtilService No

Properties

Public columnUtilService
Type : ColumnUtilService
Public context
Type : CellRendererContext
<a class="listLink" [href]="columnUtilService.getAlarmsHref(context.item)">
  <small class="status critical text-nowrap" *ngIf="context.item.c8y_ActiveAlarmsStatus?.critical">
    {{ context.item.c8y_ActiveAlarmsStatus?.critical }}
    <i [c8yIcon]="'warning'"></i>
  </small>
  <small class="status major text-nowrap" *ngIf="context.item.c8y_ActiveAlarmsStatus?.major">
    {{ context.item.c8y_ActiveAlarmsStatus?.major }}
    <i [c8yIcon]="'exclamation-circle'"></i>
  </small>
  <small class="status minor text-nowrap" *ngIf="context.item.c8y_ActiveAlarmsStatus?.minor">
    {{ context.item.c8y_ActiveAlarmsStatus?.minor }}
    <i [c8yIcon]="'exclamation-circle'"></i>
  </small>
  <small class="status warning text-nowrap" *ngIf="context.item.c8y_ActiveAlarmsStatus?.warning">
    {{ context.item.c8y_ActiveAlarmsStatus?.warning }}
    <i [c8yIcon]="'circle'"></i>
  </small>
</a>

results matching ""

    No results matching ""