| | |
| | | import { filter } from 'rxjs/operators'; |
| | | import { HttpClient } from '@angular/common/http'; |
| | | import { FormGroup, FormBuilder, FormControl, Validators, FormArray, AbstractControl } from '@angular/forms'; |
| | | import { SensorsService } from '@business/services/http/sensors.service'; |
| | | import { Grid, PageBean } from '@business/entity/grid'; |
| | | import { Organization, AlarmConfig, AlarmSensorLevel, AlarmConfigValue } from '@business/entity/data'; |
| | | import { Component, OnInit, OnDestroy } from '@angular/core'; |
| | |
| | | validateForm: FormGroup; |
| | | constructor( |
| | | private organizationService: OrganizationService, |
| | | private sensorsService: SensorsService, |
| | | private alarmConfigService: AlarmConfigService, |
| | | private formBuilder: FormBuilder, |
| | | private http: _HttpClient, |