core/device-status/device-status.component.ts
selector | device-status |
templateUrl | ./device-status.component.html |
Methods |
Inputs |
Accessors |
constructor(translateService: TranslateService)
|
||||||
Parameters :
|
mo |
Type : any
|
get |
get()
|
Returns :
any
|
getMaintenanceStatus |
getMaintenanceStatus()
|
ngAfterContentInit |
ngAfterContentInit()
|
Returns :
void
|
ngOnChanges |
ngOnChanges()
|
Returns :
void
|
setStatusProperites |
setStatusProperites()
|
Returns :
void
|
status |
status()
|
Returns :
any
|
node | ||||
setnode(value)
|
||||
Parameters :
Returns :
void
|
<!-- ATTENTION: keep text format in `tooltip` attribute -->
<div class="statusContainer"
title="{{status().sendStatus.tooltip | translate}}
{{status().pushStatus.tooltip | translate}}"
placement="left"
>
<div
*ngIf="!!status().sendStatus"
class="sendStatus"
[c8yIcon]="status().sendStatus.icon"
[ngClass]="status().sendStatus.class"
></div>
<div
*ngIf="!!status().pushStatus"
class="pushStatus"
[c8yIcon]="status().pushStatus.icon"
[ngClass]="status().pushStatus.class"
>
</div>
<div *ngIf="!!status().maintenanceStatus"
class="maintenanceStatus"
tooltip="{{status().maintenanceStatus.tooltip | translate}}"
container="body"
placement="auto"
[c8yIcon]="status().maintenanceStatus.icon"
[ngClass]="status().maintenanceStatus.class"></div>
</div>