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

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

    today = '';
    fieldRegionNameList = [];

    constructor(public nav: NavController, private tf: Transfer) {
    }

    ngOnInit() {
        this.init();
    }

    init() {
        this.today = '2019-11-10';
        this.fieldRegionNameList = [{name: '1号牛舍', num: null}, {name: '2号牛舍', num: null},
            {name: '3号牛舍', num: null}, {name: '4号牛舍', num: null},
            {name: '5号牛舍', num: null}, {name: '6号牛舍', num: null},
            {name: '7号牛舍', num: null}, {name: '8号牛舍', num: null},
            {name: '9号牛舍', num: null}, {name: '10号牛舍', num: null},
            {name: '11号牛舍', num: null}, {name: '12号牛舍', num: null},
            {name: '13号牛舍', num: null}, {name: '14号牛舍', num: null},
            {name: '15号牛舍', num: null}, {name: '16号牛舍', num: null},
            {name: '17号牛舍', num: null}, {name: '18号牛舍', num: null}];

    }

    save(ev) {

    }
}
