<ion-header>
  <ion-toolbar color="secondary">
    <ion-buttons slot="start">
      <ion-back-button text="" ></ion-back-button>
    </ion-buttons>
    <ion-title mode="ios" class="title">{{item.fieldRegionName}}详情</ion-title>
  </ion-toolbar>
  <div style="margin-top: 5px;margin-bottom: 7px;background-color: #F0F0F0">
    <span [ngClass]="{'online': item.online, 'offline': !item.online}">{{item.online ? '在线' : '离线'}}    </span>
    <span *ngIf="item.operationModel" class="online">{{item.operationModel ? '平控' :'现控'}}    </span>
    <span *ngIf="item.operationModel" [ngClass]="{'online': item.isWisdomModel, 'offline': !item.isWisdomModel}" class="online">智控    </span>
  </div>
  <div style="background-color: #F0F0F0">
      <v-kanban class="home-bar" name="温度" [inData]="item.temp" iconClass="vo v-wendu" iconColor="#285B90" iconSize="14px"></v-kanban>
      <v-kanban class="home-bar" name="湿度" [inData]="item.humi" iconClass="vo v-shidu" iconColor="#285B90" iconSize="14px"></v-kanban>
      <v-kanban class="home-bar" name="热应激" [inData]="item.heatStressLevelName" iconClass="vo v-nav-ico" iconColor="#285B90" iconSize="14px"></v-kanban>
      <v-kanban class="home-bar" name="在舍状态" [inData]="item.inHouse" iconClass="vo v-dapeng-" iconColor="#285B90" iconSize="14px"></v-kanban>
   </div>
</ion-header>
<ion-content style="background-color: #F3F4F4;">
  <ion-router-outlet></ion-router-outlet>
  <ion-tabs>
    <!-- Tab bar -->
    <ion-tab-bar slot="top">
      <ion-tab-button tab="fan">
        <ion-label>风机</ion-label>
      </ion-tab-button>
      <ion-tab-button tab="shower">
        <ion-label>喷淋</ion-label>
      </ion-tab-button>
      <ion-tab-button tab="light">
        <ion-label>照明</ion-label>
      </ion-tab-button>
      <ion-tab-button tab="waterchannel">
        <ion-label>水槽</ion-label>
      </ion-tab-button>
    </ion-tab-bar>
  </ion-tabs>

</ion-content>
