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

<ion-content color="light" style="height: 100%">
  <div class="alarmItem" *ngFor="let a of alarmItem" (click)="toControl(a)">
    <div class="listTitle">
      <span>{{a.fieldRegionName}}</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>
