<ion-header style="background-color: #F3F4F4">
  <ion-toolbar>
    <ion-title>牛舍告警一览</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content color="light">
  <div class="alarmItem" *ngFor="let a of alarm">
    <div class="title">
      <span>{{a.farm}}</span>
      <span style="float:right;">近一年</span>
    </div>
    <div>
      <div class="alarmContent"><i class="vo v-guzhang2"></i> &nbsp;&nbsp;未解决故障数/总故障数  {{a.devErr}}/{{a.devErrTotal}}</div>
      <div class="alarmContent"><i class="vo v-guzhang"></i> &nbsp;&nbsp;未解决预警数/总故障数   {{a.alarm}}/{{a.alarmTotal}}</div>
    </div>
  </div>
</ion-content>
