-
Notifications
You must be signed in to change notification settings - Fork 0
/
constant.ts
77 lines (72 loc) · 1.22 KB
/
constant.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
export const host = '192.168.5.124:14873';
export const sdkName = '@ursalink-cloud/core-sdk';
// 设备类相关参数
export const Ooptions = [
{
value: 'monochrome',
label: '自定义图片的通道',
},
{
value: '0',
label: '级别0',
},
{
value: '1',
label: '级别1',
},
{
value: '2',
label: '级别2',
},
{
value: '3',
label: '级别3',
},
{
value: '4',
label: '级别4',
},
];
// 定位类相关参数
export const LtnList = [
{
value: 'inactive',
label: '未激活',
},
{
value: 'online',
label: '在线',
},
{
value: 'alarm',
label: '警告',
},
{
value: 'offline',
label: '离线',
},
];
// 特殊参数
export const Roptions = [
{
value: 'pengsui',
label: '喷水',
},
{
value: 'bupengsui',
label: '不喷水',
},
];
const long_url = '//at.alicdn.com/t/c/font_4110680_3iqyfkyi7ea.js';
const short_url = '//at.alicdn.com/t/c/font_4085675_e2252v56rk.js';
// url部分
export const D_oldUrl = long_url;
export const C_oldUrl = long_url;
export const L_oldUrl = '';
export const S_oldUrl = short_url;
export enum templeName {
device = 'D',
channel = 'C',
location = 'L',
system = 'S',
}