| | |
| | | import { Column } from '@business/entity/grid'; |
| | | import { AlarmStyle, TimeUnits, AreaRange } from '@business/enum/types.enum'; |
| | | import { AlarmStyle, TimeUnits, AreaRange, DeviceDimension } from '@business/enum/types.enum'; |
| | | |
| | | |
| | | export interface AreaNames { |
| | | provinceName?: string; |
| | | cityName?: string; |
| | | areaName?: string; |
| | | townName?: string; |
| | | villageName?: string; |
| | | } |
| | | // 传感器 |
| | | export interface Sensor { |
| | |
| | | provinceCode?: any|Column; |
| | | areaNames?: AreaNames|any ; |
| | | organization?: Organization; |
| | | townCode?: any|Column; |
| | | villageCode?: any|Column; |
| | | |
| | | } |
| | | |
| | | // 报警配置 |
| | |
| | | areaRange?: AreaRange; |
| | | areaRangeId?: number; |
| | | timeUnits?: TimeUnits; |
| | | deviceDimension?: DeviceDimension; |
| | | dimensionValue?: any; |
| | | } |
| | | |
| | | export interface PairData { |