1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| //目标类型
| export enum TargetTypeEnum {
| Pump = 1,
| Motor = 2,
| Valve = 3,
| }
| export const TARGET_TYPE_MAP = {
| [TargetTypeEnum.Pump]: '泵',
| [TargetTypeEnum.Motor]: '电机',
| [TargetTypeEnum.Valve]: ' 阀 ',
| } as const;
| //仪表类型
| export enum MeterTypeEnum {
| Flow = 1,
| Pressure = 2,
| Power = 3,
| Speed = 4,
| }
| export const METER_TYPE_MAP = {
| [MeterTypeEnum.Flow]: '流量计',
| [MeterTypeEnum.Pressure]: '压力计',
| [MeterTypeEnum.Power]: '功率表',
| [MeterTypeEnum.Speed]: '转速仪',
| } as const;
|
|