|
@@ -12,6 +12,7 @@ export interface VisualOptionParams { |
|
@@ -12,6 +12,7 @@ export interface VisualOptionParams { |
12
|
[visualOptionField.FIRST_PHASE_VALUE]: string;
|
12
|
[visualOptionField.FIRST_PHASE_VALUE]: string;
|
13
|
[visualOptionField.SECOND_PHASE_VALUE]: string;
|
13
|
[visualOptionField.SECOND_PHASE_VALUE]: string;
|
14
|
[visualOptionField.THIRD_PHASE_VALUE]: string;
|
14
|
[visualOptionField.THIRD_PHASE_VALUE]: string;
|
|
|
15
|
+ [visualOptionField.SHOW_DEVICE_NAME]: string;
|
15
|
}
|
16
|
}
|
16
|
|
17
|
|
17
|
export enum visualOptionField {
|
18
|
export enum visualOptionField {
|
|
@@ -25,6 +26,7 @@ export enum visualOptionField { |
|
@@ -25,6 +26,7 @@ export enum visualOptionField { |
25
|
FIRST_PHASE_VALUE = 'firstPhaseValue',
|
26
|
FIRST_PHASE_VALUE = 'firstPhaseValue',
|
26
|
SECOND_PHASE_VALUE = 'secondPhaseValue',
|
27
|
SECOND_PHASE_VALUE = 'secondPhaseValue',
|
27
|
THIRD_PHASE_VALUE = 'thirdPhaseValue',
|
28
|
THIRD_PHASE_VALUE = 'thirdPhaseValue',
|
|
|
29
|
+ SHOW_DEVICE_NAME = 'showDeviceName',
|
28
|
}
|
30
|
}
|
29
|
|
31
|
|
30
|
export const modeOne: FormSchema[] = [
|
32
|
export const modeOne: FormSchema[] = [
|
|
@@ -37,6 +39,11 @@ export const modeOne: FormSchema[] = [ |
|
@@ -37,6 +39,11 @@ export const modeOne: FormSchema[] = [ |
37
|
defaultValue: '#000',
|
39
|
defaultValue: '#000',
|
38
|
},
|
40
|
},
|
39
|
},
|
41
|
},
|
|
|
42
|
+ {
|
|
|
43
|
+ field: visualOptionField.SHOW_DEVICE_NAME,
|
|
|
44
|
+ label: '显示设备名称',
|
|
|
45
|
+ component: 'Checkbox',
|
|
|
46
|
+ },
|
40
|
];
|
47
|
];
|
41
|
|
48
|
|
42
|
export const modeTwo: FormSchema[] = [
|
49
|
export const modeTwo: FormSchema[] = [
|
|
@@ -78,6 +85,11 @@ export const modeTwo: FormSchema[] = [ |
|
@@ -78,6 +85,11 @@ export const modeTwo: FormSchema[] = [ |
78
|
};
|
85
|
};
|
79
|
},
|
86
|
},
|
80
|
},
|
87
|
},
|
|
|
88
|
+ {
|
|
|
89
|
+ field: visualOptionField.SHOW_DEVICE_NAME,
|
|
|
90
|
+ label: '显示设备名称',
|
|
|
91
|
+ component: 'Checkbox',
|
|
|
92
|
+ },
|
81
|
];
|
93
|
];
|
82
|
|
94
|
|
83
|
export const modeThree: FormSchema[] = [
|
95
|
export const modeThree: FormSchema[] = [
|
|
@@ -156,6 +168,11 @@ export const modeThree: FormSchema[] = [ |
|
@@ -156,6 +168,11 @@ export const modeThree: FormSchema[] = [ |
156
|
};
|
168
|
};
|
157
|
},
|
169
|
},
|
158
|
},
|
170
|
},
|
|
|
171
|
+ {
|
|
|
172
|
+ field: visualOptionField.SHOW_DEVICE_NAME,
|
|
|
173
|
+ label: '显示设备名称',
|
|
|
174
|
+ component: 'Checkbox',
|
|
|
175
|
+ },
|
159
|
];
|
176
|
];
|
160
|
|
177
|
|
161
|
export const modeFour: FormSchema[] = [
|
178
|
export const modeFour: FormSchema[] = [
|
|
@@ -176,6 +193,11 @@ export const modeFour: FormSchema[] = [ |
|
@@ -176,6 +193,11 @@ export const modeFour: FormSchema[] = [ |
176
|
placeholder: '请输入数值单位',
|
193
|
placeholder: '请输入数值单位',
|
177
|
},
|
194
|
},
|
178
|
},
|
195
|
},
|
|
|
196
|
+ {
|
|
|
197
|
+ field: visualOptionField.SHOW_DEVICE_NAME,
|
|
|
198
|
+ label: '显示设备名称',
|
|
|
199
|
+ component: 'Checkbox',
|
|
|
200
|
+ },
|
179
|
];
|
201
|
];
|
180
|
|
202
|
|
181
|
export const modeFive: FormSchema[] = [
|
203
|
export const modeFive: FormSchema[] = [
|
|
@@ -209,6 +231,11 @@ export const modeFive: FormSchema[] = [ |
|
@@ -209,6 +231,11 @@ export const modeFive: FormSchema[] = [ |
209
|
};
|
231
|
};
|
210
|
},
|
232
|
},
|
211
|
},
|
233
|
},
|
|
|
234
|
+ {
|
|
|
235
|
+ field: visualOptionField.SHOW_DEVICE_NAME,
|
|
|
236
|
+ label: '显示设备名称',
|
|
|
237
|
+ component: 'Checkbox',
|
|
|
238
|
+ },
|
212
|
];
|
239
|
];
|
213
|
|
240
|
|
214
|
export const schemasMap = new Map<FrontComponent, FormSchema[]>();
|
241
|
export const schemasMap = new Map<FrontComponent, FormSchema[]>();
|