import { Component, OnInit } from '@angular/core';
import {Api} from '../../service/api';
import {NavController} from '@ionic/angular';

@Component({
  selector: 'v-env-detail',
  templateUrl: './env-detail.page.html',
  styleUrls: ['./env-detail.page.scss'],
})
export class EnvDetailPage implements OnInit {

  constructor(private api: Api,public nav: NavController,) { }

    item = {
        name : '1号牛舍',
        temp : '23.5',
        humi : '82',
        thi: '轻',
        time : '2019-08-05 23:44',
        online : true,
        ctrl: 0,
        alarm: true,
    };

  ngOnInit() {
  }

}
