| | |
| | | import { Column } from '@business/entity/grid'; |
| | | import { AlarmStyle, TimeUnits, AreaRange, DeviceDimension } from '@business/enum/types.enum'; |
| | | import { AlarmStyle, TimeUnits, AreaRange, DeviceDimension, Operator } from '@business/enum/types.enum'; |
| | | |
| | | |
| | | export interface AreaNames { |
| | |
| | | category: string; |
| | | value: number; |
| | | } |
| | | export interface OperatorRule { |
| | | operator: Operator; |
| | | value: number; |
| | | } |
| | | export interface SensorUnit { |
| | | id?: number|any; |
| | | originalUnitName?: string; |
| | | name?: string|any; |
| | | rules?: OperatorRule[]|any; |
| | | sensorId?: number|any; |
| | | } |
| | | export interface OrganizationSensorUnit { |
| | | id?: number|any; |
| | | sensorUnitId?: number|any; |
| | | sensorUnit?: SensorUnit|any; |
| | | sensor?: Sensor|any; |
| | | organizationId?: number|any; |
| | | } |