<ion-header>
</ion-header>

<ion-content>
  <h1 style="
            font-size: 16px;
            padding-left: 5px;
            border-left: 5px solid #28c9bd;
            line-height: 25px;
            margin-bottom: 5px;">状态</h1>
  <ion-card *ngFor="let device of devices" class="card" color="white">
    <ion-card-header>
      <ion-card-title> <span [ngClass]="{'sucCir': device.online, 'errCir': !device.online}"></span>&nbsp; {{device .fieldDeviceName}}</ion-card-title>
    </ion-card-header>

    <ion-card-content>
      <span>当前功率      </span> <span>      {{device.kw}} KW<br></span>
      <span>估计加热设备台数   </span> <span>  {{device.deviceOnlineNum}} 台</span>
    </ion-card-content>
  </ion-card>
</ion-content>
