import { Column } from '@business/entity/grid';
|
|
|
export interface AreaNames {
|
provinceName?: string;
|
cityName?: string;
|
areaName?: string;
|
}
|
// 传感器
|
export interface Sensor {
|
description?: any|Column;
|
id?: any|Column;
|
key?: any|Column;
|
lower?: any|Column;
|
name?: any|Column;
|
unit?: any|Column;
|
upper?: any|Column;
|
}
|
|
// 组织
|
export interface Organization {
|
address?: Column|any;
|
areaCode?: Column|any;
|
cityCode?: Column|any;
|
createTime?: Column|any;
|
description?: Column|any;
|
email?: Column|any;
|
expireTime?: Column|any;
|
id?: Column|any;
|
isDelete?: Column|any;
|
name?: Column|any;
|
provinceCode?: Column|any;
|
rank?: Column|any;
|
telephone?: Column|any;
|
areaNames?: AreaNames|any ;
|
}
|
|
// 设备型号
|
|
export interface DeviceVersion {
|
createTime?: Column|any;
|
description?: Column|any;
|
id?: Column|any;
|
name?: Column|any;
|
version?: Column|any;
|
}
|
|
// 监控点
|
export interface MonitorPoint {
|
address?: any|Column;
|
areaCode?: any|Column;
|
cityCode?: any|Column;
|
description?: any|Column;
|
id?: any|Column;
|
isDelete?: any|Column;
|
latitude?: any|Column;
|
longitude?: any|Column;
|
name?: any|Column;
|
organizationId?: any|Column;
|
provinceCode?: any|Column;
|
areaNames?: AreaNames|any ;
|
organization?: Organization;
|
}
|
|
// 报警配置
|
export interface AlarmConfig {
|
createTime?: number;
|
id?: number;
|
organizationId?: number;
|
updateTime?: number;
|
value?: object;
|
}
|