File

core/device-status/device-status.component.ts

Implements

AfterContentInit OnChanges

Metadata

Index

Methods
Inputs
Accessors

Constructor

constructor(translateService: TranslateService)
Parameters :
Name Type Optional
translateService TranslateService No

Inputs

mo
Type : any

Methods

get
get()
Returns : any
getMaintenanceStatus
getMaintenanceStatus()
ngAfterContentInit
ngAfterContentInit()
Returns : void
ngOnChanges
ngOnChanges()
Returns : void
setStatusProperites
setStatusProperites()
Returns : void
status
status()
Returns : any

Accessors

node
setnode(value)
Parameters :
Name Optional
value No
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>

results matching ""

    No results matching ""