task.ts
3.22 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
export default {
centerListName: 'Task list',
createTask: '@:common.createText task',
action: {
CREATE: 'Create task',
READ: 'Task detail',
UPDATE: 'Update task',
DELETE: 'Delete task',
},
search: {
targetType: 'Target type',
state: 'State',
},
card: {
runTask: 'Run task',
lastTime: 'Last Run Time', //
recentlyExecuted: 'Recently executed', //
allowDevice: 'Allow this device', //
//
settingTooltip:
'Set whether to allow the current device to schedule task execution. This option does not affect manual task execution.',
enabled: 'ENABLED',
notEnabled: 'Not enabled',
settingMessage: 'Set successfully',
updateStatusOk: 'Update status successful', //
},
detail: {
taskDetail: 'Task detail',
taskname: 'Task name',
targetType: '@:taskCenter.task.search.targetType',
state: 'Task state',
taskType: 'Task type',
timeingMethod: 'Timing method',
intervalTime: 'Interval time',
commandContent: 'Command content',
createTime: 'Creation time',
editTime: 'Modification time',
},
form: {
name: 'Task name',
targetType: '@:taskCenter.task.search.targetType',
targetMessage:
'The target device for executing a task can be multiple specified devices or all devices under a single device type', //
product: '@:business.productText',
productMessage:
'Tasks can be executed on the target product according to a predetermined time strategy.',
device: '@:business.deviceText',
deviceMessage:
'Tasks can be executed on the target device according to a preset time strategy.',
pushWay: 'Push method',
customFlow: 'Custom Data Flow',
instruct: '@:enum.taskType.MODBUS_RTU instruct',
taskTimeSetting: 'Task timing settings',
cycle: 'Cycle',
monthly: 'Monthly',
monthlyPlace: '@:common.inputText month',
weekly: 'Weekly',
time: 'Time',
timeUnit: 'Time Unit',
intervalTime: 'Interval time',
},
modbus: {
modalTitle: 'Configuration Operations',
decimalism: 'decimalism',
hexadecimal: 'hexadecimal',
registerCode: 'Register Address Code',
preview: 'Generate Preview',
modbusPerview: 'Command Preview',
slaveAddress: 'Slave address',
functionCode: 'Function code',
registerAddress: 'Starting register address',
registerNumber: 'Number of registers',
coilsNumber: 'Number of coils',
coilsValue: 'Coil value',
registerValue: 'Register value',
coilsStatusValue: 'Coil status value',
setStart: 'Set offset from start address',
setswitchState: 'The switch state of the coil position.',
openOrClose: 'Fully open or fully closed',
totalMessage:
'Set all the switch states of the following coils to 1 or 0 to achieve one click full on or full off. closed',
dataCheck: 'Data check',
dataMethod: 'Data verification method',
},
runTask: {
title: 'Run Task',
selectTargetType: 'Select target type',
typeMessage:
'You can perform tasks in bulk on all devices associated with the task, or specify one or more associated devices to perform the task.',
targetDevice: 'Specify target device',
allDevice: 'All target devices',
runSuccess: 'Run success',
runError: 'Run error',
},
};