@jnrs/lingshu-smart 2.2.46 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +281 -348
- package/dist/components/debug/DataLogPanel.vue.d.ts +29 -3
- package/dist/components/debug/PerformanceStats.vue.d.ts +1 -1
- package/dist/components/debug/ScriptRunner/ConfigPanel.vue.d.ts +1 -2
- package/dist/components/debug/ScriptRunner/StepsPanel.vue.d.ts +4 -2
- package/dist/components/debug/ScriptRunner/index.vue.d.ts +11 -0
- package/dist/components/debug/ScriptRunner/script.d.ts +140 -41
- package/dist/components/debug/ScriptRunner/scriptFile.d.ts +92 -0
- package/dist/components/debug/WsProxy/index.vue.d.ts +10 -8
- package/dist/components/debug/WsProxy/proxy.d.ts +114 -53
- package/dist/components/editor/ControlBar/CaseManger.vue.d.ts +18 -2
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +2 -2
- package/dist/components/editor/ControlBar/PersistDialog.vue.d.ts +9 -0
- package/dist/components/index.js +8419 -6045
- package/dist/components/preview/index.vue.d.ts +6852 -4876
- package/dist/controller/AppController.d.ts +75 -4
- package/dist/controller/SocketDispatcher.d.ts +59 -0
- package/dist/fullscreen-BA3oea8O.js +53 -0
- package/dist/index-C6Liz-8o.js +1238 -0
- package/dist/index.js +36 -27
- package/dist/lingshu-smart/cases.json +5890 -14828
- package/dist/lingshu-smart/mockSocket.json +263 -0
- package/dist/lingshu-smart/wsProxyConfig.json +343 -720
- package/dist/playground/ViewPageDemo.vue.d.ts +14412 -10438
- package/dist/stores/index.js +1 -1
- package/dist/stores/useAppStore.d.ts +20570 -14641
- package/dist/stores/useDataStore.d.ts +21139 -14587
- package/dist/stores/useDebugStore.d.ts +14 -2
- package/dist/stores/useEditorStore.d.ts +3 -3
- package/dist/types/app.types.d.ts +1 -1
- package/dist/types/components/config.types.d.ts +16 -0
- package/dist/types/components/operating.types.d.ts +28 -19
- package/dist/types/enums.d.ts +22 -2
- package/dist/types/guards.d.ts +4 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/config.types.d.ts +41 -9
- package/dist/types/models/operating.types.d.ts +64 -74
- package/dist/types/socket.types.d.ts +275 -0
- package/dist/ui/abstract/ModelAbs.d.ts +42 -2
- package/dist/ui/components/Resource.d.ts +0 -1
- package/dist/ui/components/StationSlot.d.ts +8 -2
- package/dist/ui/components/StationSlotGroup.d.ts +28 -3
- package/dist/ui/models/DoubleJointRobot.d.ts +16 -4
- package/dist/ui/models/MachineTool.d.ts +6 -2
- package/dist/ui/models/MaterialTrack.d.ts +14 -2
- package/dist/ui/models/Pallet.d.ts +29 -9
- package/dist/ui/models/Rail.d.ts +9 -2
- package/dist/ui/models/ResourceOperationWindow.d.ts +2 -1
- package/dist/ui/models/ResourceStore.d.ts +7 -5
- package/dist/ui/models/Rgv.d.ts +6 -6
- package/dist/ui/models/ShuttleStation.d.ts +14 -4
- package/dist/ui/models/SingleJointRobot.d.ts +14 -4
- package/dist/ui/utils/resolveStationSlotLayers.d.ts +20 -0
- package/dist/ui/utils/resolveTypeStyle.d.ts +13 -0
- package/dist/useAppStore-DASwAOBy.js +7223 -0
- package/dist/utils/fullscreen.d.ts +9 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vite.d.ts +15 -0
- package/dist/vite.js +39 -0
- package/package.json +6 -2
- package/dist/components/editor/OptionCard/Equipment/stationSlot/StationSlotGroupBoth.vue.d.ts +0 -2
- package/dist/guards-aLOXCeCF.js +0 -35
- package/dist/index-Dsgrnpn0.js +0 -1186
- package/dist/useAppStore-CVyLAMtL.js +0 -6125
- /package/dist/components/editor/OptionCard/Equipment/{stationSlot/StationSlotGroup.vue.d.ts → models/ResourceStore.vue.d.ts} +0 -0
|
@@ -1,929 +1,514 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"caseId": "
|
|
4
|
-
"caseName": "
|
|
3
|
+
"caseId": "358611430854885377",
|
|
4
|
+
"caseName": "测试所有设备51d9",
|
|
5
5
|
"fileUrl": "public/lingshu-smart/wsProxyConfig.json",
|
|
6
|
-
"version": "
|
|
7
|
-
"dataSource": "
|
|
6
|
+
"version": "sss",
|
|
7
|
+
"dataSource": "external",
|
|
8
8
|
"wsUrl": "",
|
|
9
|
+
"carryToken": true,
|
|
9
10
|
"requestMode": "direct",
|
|
10
11
|
"autoConnect": true,
|
|
11
|
-
"payloadKey": "
|
|
12
|
-
"sourceTypeField": "type",
|
|
13
|
-
"heartbeatInterval":
|
|
14
|
-
"
|
|
12
|
+
"payloadKey": "payload",
|
|
13
|
+
"sourceTypeField": "envelope.type",
|
|
14
|
+
"heartbeatInterval": 30,
|
|
15
|
+
"autoReconnect": true,
|
|
16
|
+
"modelMap": {
|
|
17
|
+
"rgv": "Rgv"
|
|
18
|
+
},
|
|
15
19
|
"rules": [
|
|
16
20
|
{
|
|
17
|
-
"sourceType": "
|
|
18
|
-
"
|
|
19
|
-
"
|
|
21
|
+
"sourceType": "device_command",
|
|
22
|
+
"deviceType": "double_joint_robot",
|
|
23
|
+
"className": "DoubleJointRobot",
|
|
24
|
+
"equipmentName": "双关节机器人",
|
|
20
25
|
"enabled": true,
|
|
21
26
|
"operate": "single",
|
|
22
27
|
"mappings": [
|
|
23
28
|
{
|
|
24
|
-
"target": "
|
|
25
|
-
"source": "
|
|
29
|
+
"target": "device_id",
|
|
30
|
+
"source": "device_id",
|
|
26
31
|
"defaultValue": ""
|
|
27
32
|
},
|
|
28
33
|
{
|
|
29
34
|
"target": "light.color",
|
|
30
|
-
"source": "
|
|
31
|
-
"defaultValue": "#424242"
|
|
35
|
+
"source": "light.color"
|
|
32
36
|
},
|
|
33
37
|
{
|
|
34
38
|
"target": "light.rotating",
|
|
35
|
-
"source": "
|
|
36
|
-
"valueMap": {
|
|
37
|
-
"1": true
|
|
38
|
-
},
|
|
39
|
-
"defaultValue": false
|
|
39
|
+
"source": "light.rotating"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"target": "light.blinking",
|
|
43
|
-
"source": "
|
|
44
|
-
"valueMap": {
|
|
45
|
-
"2": true
|
|
46
|
-
},
|
|
47
|
-
"defaultValue": false
|
|
43
|
+
"source": "light.blinking"
|
|
48
44
|
},
|
|
49
45
|
{
|
|
50
|
-
"target": "x",
|
|
51
|
-
"source": "x"
|
|
52
|
-
"transform": "percentToPixel",
|
|
53
|
-
"transformType": "width",
|
|
54
|
-
"transformPrecision": 2
|
|
46
|
+
"target": "position.x",
|
|
47
|
+
"source": "position.x"
|
|
55
48
|
},
|
|
56
49
|
{
|
|
57
|
-
"target": "y",
|
|
58
|
-
"source": "y"
|
|
59
|
-
"transform": "percentToPixel",
|
|
60
|
-
"transformType": "height",
|
|
61
|
-
"transformPrecision": 2
|
|
50
|
+
"target": "position.y",
|
|
51
|
+
"source": "position.y"
|
|
62
52
|
},
|
|
63
53
|
{
|
|
64
|
-
"target": "j1",
|
|
65
|
-
"source": "j1"
|
|
54
|
+
"target": "position.j1",
|
|
55
|
+
"source": "position.j1"
|
|
66
56
|
},
|
|
67
57
|
{
|
|
68
|
-
"target": "
|
|
69
|
-
"source": "
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"className": "Resource",
|
|
75
|
-
"enabled": true,
|
|
76
|
-
"operate": "resource",
|
|
77
|
-
"mappings": [],
|
|
78
|
-
"resourceMappings": {
|
|
79
|
-
"add": [
|
|
80
|
-
{
|
|
81
|
-
"target": "className",
|
|
82
|
-
"source": "addType"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"target": "id",
|
|
86
|
-
"source": "addId"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"target": "resource.resourceType",
|
|
90
|
-
"source": "resourceType"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"target": "resource.resourceId",
|
|
94
|
-
"source": "resourceId"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"target": "resource.name",
|
|
98
|
-
"source": "name"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"target": "resource.color",
|
|
102
|
-
"source": "displayColor"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"target": "resource.index",
|
|
106
|
-
"source": "addSiteNumber"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"remove": [
|
|
110
|
-
{
|
|
111
|
-
"target": "className",
|
|
112
|
-
"source": "removeType"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"target": "id",
|
|
116
|
-
"source": "removeId"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"target": "resource.resourceType",
|
|
120
|
-
"source": "resourceType"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"target": "resource.resourceId",
|
|
124
|
-
"source": "resourceId"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"target": "resource.index",
|
|
128
|
-
"source": "removeSiteNumber"
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"className": "BatchRemove",
|
|
135
|
-
"enabled": true,
|
|
136
|
-
"operate": "global",
|
|
137
|
-
"mappings": [],
|
|
138
|
-
"globalFields": {
|
|
139
|
-
"resourceIds": "data"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"sourceType": "resetAll",
|
|
144
|
-
"className": "ResetAll",
|
|
145
|
-
"enabled": true,
|
|
146
|
-
"operate": "resetAll",
|
|
147
|
-
"mappings": []
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"sourceType": "Rail",
|
|
151
|
-
"className": "Rail",
|
|
152
|
-
"equipmentName": "轨道",
|
|
153
|
-
"enabled": true,
|
|
154
|
-
"operate": "single",
|
|
155
|
-
"mappings": [
|
|
156
|
-
{
|
|
157
|
-
"target": "id",
|
|
158
|
-
"source": "id",
|
|
159
|
-
"defaultValue": ""
|
|
58
|
+
"target": "position.j2",
|
|
59
|
+
"source": "position.j2"
|
|
160
60
|
},
|
|
161
61
|
{
|
|
162
|
-
"target": "
|
|
163
|
-
"source": "
|
|
164
|
-
"transform": "percentToPixel",
|
|
165
|
-
"transformType": "width",
|
|
166
|
-
"transformPrecision": 2
|
|
62
|
+
"target": "current_fixture",
|
|
63
|
+
"source": "current_fixture"
|
|
167
64
|
},
|
|
168
65
|
{
|
|
169
|
-
"target": "
|
|
170
|
-
"source": "
|
|
66
|
+
"target": "device_state",
|
|
67
|
+
"source": "device_state"
|
|
171
68
|
}
|
|
172
69
|
]
|
|
173
70
|
},
|
|
174
71
|
{
|
|
175
|
-
"sourceType": "
|
|
176
|
-
"
|
|
177
|
-
"
|
|
72
|
+
"sourceType": "device_command",
|
|
73
|
+
"deviceType": "rgv",
|
|
74
|
+
"className": "Rgv",
|
|
75
|
+
"equipmentName": "RGV",
|
|
178
76
|
"enabled": true,
|
|
179
77
|
"operate": "single",
|
|
180
78
|
"mappings": [
|
|
181
79
|
{
|
|
182
|
-
"target": "
|
|
183
|
-
"source": "
|
|
80
|
+
"target": "device_id",
|
|
81
|
+
"source": "device_id",
|
|
184
82
|
"defaultValue": ""
|
|
185
83
|
},
|
|
186
84
|
{
|
|
187
85
|
"target": "light.color",
|
|
188
|
-
"source": "
|
|
189
|
-
"defaultValue": "#424242"
|
|
86
|
+
"source": "light.color"
|
|
190
87
|
},
|
|
191
88
|
{
|
|
192
89
|
"target": "light.rotating",
|
|
193
|
-
"source": "
|
|
194
|
-
"valueMap": {
|
|
195
|
-
"1": true
|
|
196
|
-
},
|
|
197
|
-
"defaultValue": false
|
|
90
|
+
"source": "light.rotating"
|
|
198
91
|
},
|
|
199
92
|
{
|
|
200
93
|
"target": "light.blinking",
|
|
201
|
-
"source": "
|
|
202
|
-
"valueMap": {
|
|
203
|
-
"2": true
|
|
204
|
-
},
|
|
205
|
-
"defaultValue": false
|
|
94
|
+
"source": "light.blinking"
|
|
206
95
|
},
|
|
207
96
|
{
|
|
208
|
-
"target": "x",
|
|
209
|
-
"source": "x"
|
|
210
|
-
"transform": "percentToPixel",
|
|
211
|
-
"transformType": "width",
|
|
212
|
-
"transformPrecision": 2
|
|
97
|
+
"target": "position.x",
|
|
98
|
+
"source": "position.x"
|
|
213
99
|
},
|
|
214
100
|
{
|
|
215
|
-
"target": "
|
|
216
|
-
"source": "
|
|
217
|
-
"transform": "percentToPixel",
|
|
218
|
-
"transformType": "height",
|
|
219
|
-
"transformPrecision": 2
|
|
101
|
+
"target": "position.j1",
|
|
102
|
+
"source": "position.j1"
|
|
220
103
|
},
|
|
221
104
|
{
|
|
222
|
-
"target": "
|
|
223
|
-
"source": "
|
|
105
|
+
"target": "position.fork_xy",
|
|
106
|
+
"source": "position.fork_xy"
|
|
224
107
|
},
|
|
225
108
|
{
|
|
226
|
-
"target": "
|
|
227
|
-
"source": "
|
|
109
|
+
"target": "position.fork_z",
|
|
110
|
+
"source": "position.fork_z"
|
|
228
111
|
},
|
|
229
112
|
{
|
|
230
|
-
"target": "
|
|
231
|
-
"source": "
|
|
113
|
+
"target": "device_state",
|
|
114
|
+
"source": "device_state"
|
|
232
115
|
}
|
|
233
116
|
]
|
|
234
117
|
},
|
|
235
118
|
{
|
|
236
|
-
"sourceType": "
|
|
237
|
-
"
|
|
238
|
-
"
|
|
119
|
+
"sourceType": "device_command",
|
|
120
|
+
"deviceType": "resource_store",
|
|
121
|
+
"className": "ResourceStore",
|
|
122
|
+
"equipmentName": "资源库",
|
|
239
123
|
"enabled": true,
|
|
240
124
|
"operate": "single",
|
|
241
125
|
"mappings": [
|
|
242
126
|
{
|
|
243
|
-
"target": "
|
|
244
|
-
"source": "
|
|
127
|
+
"target": "device_id",
|
|
128
|
+
"source": "device_id",
|
|
245
129
|
"defaultValue": ""
|
|
246
130
|
},
|
|
247
131
|
{
|
|
248
132
|
"target": "light.color",
|
|
249
|
-
"source": "
|
|
250
|
-
"defaultValue": "#424242"
|
|
133
|
+
"source": "light.color"
|
|
251
134
|
},
|
|
252
135
|
{
|
|
253
136
|
"target": "light.rotating",
|
|
254
|
-
"source": "
|
|
255
|
-
"valueMap": {
|
|
256
|
-
"1": true
|
|
257
|
-
},
|
|
258
|
-
"defaultValue": false
|
|
137
|
+
"source": "light.rotating"
|
|
259
138
|
},
|
|
260
139
|
{
|
|
261
140
|
"target": "light.blinking",
|
|
262
|
-
"source": "
|
|
263
|
-
"valueMap": {
|
|
264
|
-
"2": true
|
|
265
|
-
},
|
|
266
|
-
"defaultValue": false
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"target": "progress.percent",
|
|
270
|
-
"source": "percent",
|
|
271
|
-
"defaultValue": 0
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"target": "progress.textContent",
|
|
275
|
-
"source": "statusText"
|
|
141
|
+
"source": "light.blinking"
|
|
276
142
|
},
|
|
277
143
|
{
|
|
278
|
-
"target": "
|
|
279
|
-
"source": "
|
|
280
|
-
"defaultValue": false
|
|
144
|
+
"target": "position.x",
|
|
145
|
+
"source": "position.x"
|
|
281
146
|
},
|
|
282
147
|
{
|
|
283
|
-
"target": "
|
|
284
|
-
"source": "
|
|
285
|
-
"defaultValue": false
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"target": "stationRotatable",
|
|
289
|
-
"source": "stationRotatable",
|
|
290
|
-
"defaultValue": false
|
|
148
|
+
"target": "device_state",
|
|
149
|
+
"source": "device_state"
|
|
291
150
|
}
|
|
292
151
|
]
|
|
293
152
|
},
|
|
294
153
|
{
|
|
295
|
-
"sourceType": "
|
|
296
|
-
"
|
|
297
|
-
"
|
|
154
|
+
"sourceType": "device_command",
|
|
155
|
+
"deviceType": "machine_tool",
|
|
156
|
+
"className": "MachineTool",
|
|
157
|
+
"equipmentName": "机床",
|
|
298
158
|
"enabled": true,
|
|
299
159
|
"operate": "single",
|
|
300
160
|
"mappings": [
|
|
301
161
|
{
|
|
302
|
-
"target": "
|
|
303
|
-
"source": "
|
|
162
|
+
"target": "device_id",
|
|
163
|
+
"source": "device_id",
|
|
304
164
|
"defaultValue": ""
|
|
305
165
|
},
|
|
306
166
|
{
|
|
307
167
|
"target": "light.color",
|
|
308
|
-
"source": "
|
|
309
|
-
"defaultValue": "#424242"
|
|
168
|
+
"source": "light.color"
|
|
310
169
|
},
|
|
311
170
|
{
|
|
312
171
|
"target": "light.rotating",
|
|
313
|
-
"source": "
|
|
314
|
-
"valueMap": {
|
|
315
|
-
"1": true
|
|
316
|
-
},
|
|
317
|
-
"defaultValue": false
|
|
172
|
+
"source": "light.rotating"
|
|
318
173
|
},
|
|
319
174
|
{
|
|
320
175
|
"target": "light.blinking",
|
|
321
|
-
"source": "
|
|
322
|
-
"valueMap": {
|
|
323
|
-
"2": true
|
|
324
|
-
},
|
|
325
|
-
"defaultValue": false
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"target": "x",
|
|
329
|
-
"source": "x",
|
|
330
|
-
"transform": "percentToPixel",
|
|
331
|
-
"transformType": "width",
|
|
332
|
-
"transformPrecision": 2
|
|
176
|
+
"source": "light.blinking"
|
|
333
177
|
},
|
|
334
178
|
{
|
|
335
|
-
"target": "
|
|
336
|
-
"source": "
|
|
337
|
-
"defaultValue":
|
|
338
|
-
}
|
|
339
|
-
]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"sourceType": "Rgv",
|
|
343
|
-
"className": "Rgv",
|
|
344
|
-
"equipmentName": "RGV",
|
|
345
|
-
"enabled": true,
|
|
346
|
-
"operate": "single",
|
|
347
|
-
"mappings": [
|
|
348
|
-
{
|
|
349
|
-
"target": "id",
|
|
350
|
-
"source": "id",
|
|
351
|
-
"defaultValue": ""
|
|
179
|
+
"target": "progress.percent",
|
|
180
|
+
"source": "progress.percent",
|
|
181
|
+
"defaultValue": 0
|
|
352
182
|
},
|
|
353
183
|
{
|
|
354
|
-
"target": "
|
|
355
|
-
"source": "
|
|
356
|
-
"defaultValue": "#424242"
|
|
184
|
+
"target": "progress.text",
|
|
185
|
+
"source": "progress.text"
|
|
357
186
|
},
|
|
358
187
|
{
|
|
359
|
-
"target": "
|
|
360
|
-
"source": "
|
|
361
|
-
"valueMap": {
|
|
362
|
-
"1": true
|
|
363
|
-
},
|
|
188
|
+
"target": "passage.in",
|
|
189
|
+
"source": "passage.in",
|
|
364
190
|
"defaultValue": false
|
|
365
191
|
},
|
|
366
192
|
{
|
|
367
|
-
"target": "
|
|
368
|
-
"source": "
|
|
369
|
-
"valueMap": {
|
|
370
|
-
"2": true
|
|
371
|
-
},
|
|
193
|
+
"target": "passage.out",
|
|
194
|
+
"source": "passage.out",
|
|
372
195
|
"defaultValue": false
|
|
373
196
|
},
|
|
374
197
|
{
|
|
375
|
-
"target": "
|
|
376
|
-
"source": "
|
|
377
|
-
"transform": "percentToPixel",
|
|
378
|
-
"transformType": "width",
|
|
379
|
-
"transformPrecision": 2
|
|
198
|
+
"target": "station_rotation",
|
|
199
|
+
"source": "station_rotation"
|
|
380
200
|
},
|
|
381
201
|
{
|
|
382
|
-
"target": "
|
|
383
|
-
"source": "
|
|
384
|
-
|
|
385
|
-
{
|
|
386
|
-
"target": "forkXY",
|
|
387
|
-
"source": "forkXY"
|
|
202
|
+
"target": "is_working",
|
|
203
|
+
"source": "is_working",
|
|
204
|
+
"defaultValue": false
|
|
388
205
|
},
|
|
389
206
|
{
|
|
390
|
-
"target": "
|
|
391
|
-
"source": "
|
|
207
|
+
"target": "device_state",
|
|
208
|
+
"source": "device_state"
|
|
392
209
|
}
|
|
393
210
|
]
|
|
394
211
|
},
|
|
395
212
|
{
|
|
396
|
-
"sourceType": "
|
|
213
|
+
"sourceType": "device_command",
|
|
214
|
+
"deviceType": "cleaning_machine",
|
|
397
215
|
"className": "CleaningMachine",
|
|
398
216
|
"equipmentName": "清洗机",
|
|
399
217
|
"enabled": true,
|
|
400
218
|
"operate": "single",
|
|
401
219
|
"mappings": [
|
|
402
220
|
{
|
|
403
|
-
"target": "
|
|
404
|
-
"source": "
|
|
221
|
+
"target": "device_id",
|
|
222
|
+
"source": "device_id",
|
|
405
223
|
"defaultValue": ""
|
|
406
224
|
},
|
|
407
225
|
{
|
|
408
226
|
"target": "light.color",
|
|
409
|
-
"source": "
|
|
410
|
-
|
|
227
|
+
"source": "light.color"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"target": "light.rotating",
|
|
231
|
+
"source": "light.rotating"
|
|
411
232
|
},
|
|
412
233
|
{
|
|
413
234
|
"target": "light.blinking",
|
|
414
|
-
"source": "
|
|
415
|
-
"valueMap": {
|
|
416
|
-
"2": true
|
|
417
|
-
},
|
|
418
|
-
"defaultValue": false
|
|
235
|
+
"source": "light.blinking"
|
|
419
236
|
},
|
|
420
237
|
{
|
|
421
238
|
"target": "progress.percent",
|
|
422
|
-
"source": "percent",
|
|
239
|
+
"source": "progress.percent",
|
|
423
240
|
"defaultValue": 0
|
|
424
241
|
},
|
|
425
242
|
{
|
|
426
|
-
"target": "progress.
|
|
427
|
-
"source": "
|
|
243
|
+
"target": "progress.text",
|
|
244
|
+
"source": "progress.text"
|
|
428
245
|
},
|
|
429
246
|
{
|
|
430
|
-
"target": "
|
|
431
|
-
"source": "
|
|
247
|
+
"target": "passage.in",
|
|
248
|
+
"source": "passage.in",
|
|
432
249
|
"defaultValue": false
|
|
433
250
|
},
|
|
434
251
|
{
|
|
435
|
-
"target": "
|
|
436
|
-
"source": "
|
|
252
|
+
"target": "passage.out",
|
|
253
|
+
"source": "passage.out",
|
|
437
254
|
"defaultValue": false
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"target": "is_working",
|
|
258
|
+
"source": "is_working",
|
|
259
|
+
"defaultValue": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"target": "device_state",
|
|
263
|
+
"source": "device_state"
|
|
438
264
|
}
|
|
439
265
|
]
|
|
440
266
|
},
|
|
441
267
|
{
|
|
442
|
-
"sourceType": "
|
|
443
|
-
"
|
|
444
|
-
"
|
|
268
|
+
"sourceType": "device_command",
|
|
269
|
+
"deviceType": "resource_operation_window",
|
|
270
|
+
"className": "ResourceOperationWindow",
|
|
271
|
+
"equipmentName": "资源操作窗口",
|
|
445
272
|
"enabled": true,
|
|
446
273
|
"operate": "single",
|
|
447
274
|
"mappings": [
|
|
448
275
|
{
|
|
449
|
-
"target": "
|
|
450
|
-
"source": "
|
|
276
|
+
"target": "device_id",
|
|
277
|
+
"source": "device_id",
|
|
451
278
|
"defaultValue": ""
|
|
452
279
|
},
|
|
453
280
|
{
|
|
454
281
|
"target": "light.color",
|
|
455
|
-
"source": "
|
|
456
|
-
"defaultValue": "#424242"
|
|
282
|
+
"source": "light.color"
|
|
457
283
|
},
|
|
458
284
|
{
|
|
459
285
|
"target": "light.blinking",
|
|
460
|
-
"source": "
|
|
461
|
-
"valueMap": {
|
|
462
|
-
"2": true
|
|
463
|
-
},
|
|
464
|
-
"defaultValue": false
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"target": "progress.percent",
|
|
468
|
-
"source": "percent",
|
|
469
|
-
"defaultValue": 0
|
|
286
|
+
"source": "light.blinking"
|
|
470
287
|
},
|
|
471
288
|
{
|
|
472
|
-
"target": "
|
|
473
|
-
"source": "
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"target": "entrance.isIn",
|
|
477
|
-
"source": "isIn",
|
|
478
|
-
"defaultValue": false
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"target": "entrance.isOut",
|
|
482
|
-
"source": "isOut",
|
|
483
|
-
"defaultValue": false
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"target": "laserSiteNumberArray",
|
|
487
|
-
"source": "laserSiteNumberArray"
|
|
289
|
+
"target": "device_state",
|
|
290
|
+
"source": "device_state"
|
|
488
291
|
}
|
|
489
292
|
]
|
|
490
293
|
},
|
|
491
294
|
{
|
|
492
|
-
"sourceType": "
|
|
493
|
-
"
|
|
494
|
-
"
|
|
295
|
+
"sourceType": "device_command",
|
|
296
|
+
"deviceType": "marking_machine",
|
|
297
|
+
"className": "MarkingMachine",
|
|
298
|
+
"equipmentName": "打标机",
|
|
495
299
|
"enabled": true,
|
|
496
300
|
"operate": "single",
|
|
497
301
|
"mappings": [
|
|
498
302
|
{
|
|
499
|
-
"target": "
|
|
500
|
-
"source": "
|
|
303
|
+
"target": "device_id",
|
|
304
|
+
"source": "device_id",
|
|
501
305
|
"defaultValue": ""
|
|
502
306
|
},
|
|
503
307
|
{
|
|
504
308
|
"target": "light.color",
|
|
505
|
-
"source": "
|
|
506
|
-
|
|
309
|
+
"source": "light.color"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"target": "light.rotating",
|
|
313
|
+
"source": "light.rotating"
|
|
507
314
|
},
|
|
508
315
|
{
|
|
509
316
|
"target": "light.blinking",
|
|
510
|
-
"source": "
|
|
511
|
-
"valueMap": {
|
|
512
|
-
"2": true
|
|
513
|
-
},
|
|
514
|
-
"defaultValue": false
|
|
317
|
+
"source": "light.blinking"
|
|
515
318
|
},
|
|
516
319
|
{
|
|
517
320
|
"target": "progress.percent",
|
|
518
|
-
"source": "percent",
|
|
321
|
+
"source": "progress.percent",
|
|
519
322
|
"defaultValue": 0
|
|
520
323
|
},
|
|
521
324
|
{
|
|
522
|
-
"target": "progress.
|
|
523
|
-
"source": "
|
|
325
|
+
"target": "progress.text",
|
|
326
|
+
"source": "progress.text"
|
|
524
327
|
},
|
|
525
328
|
{
|
|
526
|
-
"target": "
|
|
527
|
-
"source": "
|
|
329
|
+
"target": "passage.in",
|
|
330
|
+
"source": "passage.in",
|
|
528
331
|
"defaultValue": false
|
|
529
332
|
},
|
|
530
333
|
{
|
|
531
|
-
"target": "
|
|
532
|
-
"source": "
|
|
334
|
+
"target": "passage.out",
|
|
335
|
+
"source": "passage.out",
|
|
533
336
|
"defaultValue": false
|
|
534
337
|
},
|
|
535
338
|
{
|
|
536
|
-
"target": "
|
|
537
|
-
"source": "
|
|
538
|
-
|
|
339
|
+
"target": "marking_sites",
|
|
340
|
+
"source": "marking_sites"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"target": "device_state",
|
|
344
|
+
"source": "device_state"
|
|
539
345
|
}
|
|
540
346
|
]
|
|
541
347
|
},
|
|
542
348
|
{
|
|
543
|
-
"sourceType": "
|
|
349
|
+
"sourceType": "device_command",
|
|
350
|
+
"deviceType": "shuttle_station",
|
|
544
351
|
"className": "ShuttleStation",
|
|
545
352
|
"equipmentName": "接驳站",
|
|
546
353
|
"enabled": true,
|
|
547
354
|
"operate": "single",
|
|
548
355
|
"mappings": [
|
|
549
356
|
{
|
|
550
|
-
"target": "
|
|
551
|
-
"source": "
|
|
357
|
+
"target": "device_id",
|
|
358
|
+
"source": "device_id",
|
|
552
359
|
"defaultValue": ""
|
|
553
360
|
},
|
|
554
361
|
{
|
|
555
362
|
"target": "light.color",
|
|
556
|
-
"source": "
|
|
557
|
-
"defaultValue": "#424242"
|
|
363
|
+
"source": "light.color"
|
|
558
364
|
},
|
|
559
365
|
{
|
|
560
366
|
"target": "light.blinking",
|
|
561
|
-
"source": "
|
|
562
|
-
"valueMap": {
|
|
563
|
-
"2": true
|
|
564
|
-
},
|
|
565
|
-
"defaultValue": false
|
|
367
|
+
"source": "light.blinking"
|
|
566
368
|
},
|
|
567
369
|
{
|
|
568
|
-
"target": "
|
|
569
|
-
"source": "
|
|
570
|
-
"transform": "objDict",
|
|
571
|
-
"transformTargetType": "boolean",
|
|
572
|
-
"valueMap": {
|
|
573
|
-
"0": false,
|
|
574
|
-
"1": true,
|
|
575
|
-
"false": false,
|
|
576
|
-
"true": true
|
|
577
|
-
},
|
|
370
|
+
"target": "layer_visible",
|
|
371
|
+
"source": "layer_visible",
|
|
578
372
|
"defaultValue": {}
|
|
579
373
|
},
|
|
580
374
|
{
|
|
581
|
-
"target": "
|
|
582
|
-
"source": "
|
|
583
|
-
"transform": "objDict",
|
|
584
|
-
"dictName": "shuttleLayerStatus",
|
|
375
|
+
"target": "layer_light_colors",
|
|
376
|
+
"source": "layer_light_colors",
|
|
585
377
|
"defaultValue": {}
|
|
586
378
|
},
|
|
587
379
|
{
|
|
588
|
-
"target": "
|
|
589
|
-
"source": "
|
|
590
|
-
"transform": "objDict",
|
|
591
|
-
"transformTargetType": "boolean",
|
|
592
|
-
"valueMap": {
|
|
593
|
-
"1": false,
|
|
594
|
-
"2": true,
|
|
595
|
-
"99": true
|
|
596
|
-
},
|
|
380
|
+
"target": "layer_light_blinking",
|
|
381
|
+
"source": "layer_light_blinking",
|
|
597
382
|
"defaultValue": {}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"target": "device_state",
|
|
386
|
+
"source": "device_state"
|
|
598
387
|
}
|
|
599
388
|
]
|
|
600
|
-
}
|
|
601
|
-
]
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"caseId": "07940f5e-93fd-40c5-85f7-56b4d3fe838b",
|
|
605
|
-
"caseName": "中央刀具库(丝路厂区)",
|
|
606
|
-
"fileUrl": "public/lingshu-smart/wsProxyConfig.json",
|
|
607
|
-
"version": "1.0.0",
|
|
608
|
-
"dataSource": "builtin",
|
|
609
|
-
"wsUrl": "ws://192.168.1.40:5001/ws/monitor?page=ctsMonitor",
|
|
610
|
-
"carryToken": true,
|
|
611
|
-
"requestMode": "direct",
|
|
612
|
-
"autoConnect": true,
|
|
613
|
-
"payloadKey": "data",
|
|
614
|
-
"sourceTypeField": "type",
|
|
615
|
-
"heartbeatInterval": 0,
|
|
616
|
-
"modelMap": {
|
|
617
|
-
"0": "SingleJointRobot",
|
|
618
|
-
"1": "Pallet",
|
|
619
|
-
"2": "ShuttleStation",
|
|
620
|
-
"4": "ResourceStore",
|
|
621
|
-
"5": "ResourceOperationWindow",
|
|
622
|
-
"6": "MaterialTrack"
|
|
623
|
-
},
|
|
624
|
-
"rules": [
|
|
389
|
+
},
|
|
625
390
|
{
|
|
626
|
-
"sourceType": "
|
|
627
|
-
"
|
|
628
|
-
"
|
|
391
|
+
"sourceType": "device_command",
|
|
392
|
+
"deviceType": "material_track",
|
|
393
|
+
"className": "MaterialTrack",
|
|
394
|
+
"equipmentName": "料道",
|
|
629
395
|
"enabled": true,
|
|
630
396
|
"operate": "single",
|
|
631
397
|
"mappings": [
|
|
632
398
|
{
|
|
633
|
-
"target": "
|
|
634
|
-
"source": "
|
|
399
|
+
"target": "device_id",
|
|
400
|
+
"source": "device_id",
|
|
635
401
|
"defaultValue": ""
|
|
636
402
|
},
|
|
637
403
|
{
|
|
638
404
|
"target": "light.color",
|
|
639
|
-
"source": "
|
|
640
|
-
"defaultValue": "#424242"
|
|
405
|
+
"source": "light.color"
|
|
641
406
|
},
|
|
642
407
|
{
|
|
643
408
|
"target": "light.blinking",
|
|
644
|
-
"source": "
|
|
645
|
-
"valueMap": {
|
|
646
|
-
"2": true
|
|
647
|
-
},
|
|
648
|
-
"defaultValue": false
|
|
409
|
+
"source": "light.blinking"
|
|
649
410
|
},
|
|
650
411
|
{
|
|
651
|
-
"target": "
|
|
652
|
-
"source": "
|
|
653
|
-
"transform": "objDict",
|
|
654
|
-
"transformTargetType": "boolean",
|
|
655
|
-
"valueMap": {
|
|
656
|
-
"1": "true"
|
|
657
|
-
},
|
|
658
|
-
"defaultValue": {},
|
|
659
|
-
"dictName": ""
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
"target": "layerLightColor",
|
|
663
|
-
"source": "layerStationStatus",
|
|
664
|
-
"transform": "objDict",
|
|
665
|
-
"dictName": "shuttleLayerStatus",
|
|
666
|
-
"defaultValue": {},
|
|
667
|
-
"valueMap": {}
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"target": "layerLightBlinking",
|
|
671
|
-
"source": "layerStationStatus",
|
|
672
|
-
"transform": "objDict",
|
|
673
|
-
"transformTargetType": "boolean",
|
|
674
|
-
"valueMap": {
|
|
675
|
-
"1": "false",
|
|
676
|
-
"2": "true",
|
|
677
|
-
"99": "false"
|
|
678
|
-
},
|
|
412
|
+
"target": "layer_visible",
|
|
413
|
+
"source": "layer_visible",
|
|
679
414
|
"defaultValue": {}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"target": "device_state",
|
|
418
|
+
"source": "device_state"
|
|
680
419
|
}
|
|
681
420
|
]
|
|
682
421
|
},
|
|
683
422
|
{
|
|
684
|
-
"sourceType": "
|
|
685
|
-
"
|
|
686
|
-
"
|
|
423
|
+
"sourceType": "device_command",
|
|
424
|
+
"deviceType": "loading_station",
|
|
425
|
+
"className": "LoadingStation",
|
|
426
|
+
"equipmentName": "装载站",
|
|
687
427
|
"enabled": true,
|
|
688
428
|
"operate": "single",
|
|
689
429
|
"mappings": [
|
|
690
430
|
{
|
|
691
|
-
"target": "
|
|
692
|
-
"source": "
|
|
431
|
+
"target": "device_id",
|
|
432
|
+
"source": "device_id",
|
|
693
433
|
"defaultValue": ""
|
|
694
434
|
},
|
|
695
435
|
{
|
|
696
436
|
"target": "light.color",
|
|
697
|
-
"source": "
|
|
698
|
-
"defaultValue": "#424242",
|
|
699
|
-
"transform": "dictColor",
|
|
700
|
-
"dictName": "robotStatus"
|
|
437
|
+
"source": "light.color"
|
|
701
438
|
},
|
|
702
439
|
{
|
|
703
440
|
"target": "light.rotating",
|
|
704
|
-
"source": ""
|
|
705
|
-
"valueMap": {
|
|
706
|
-
"1": true
|
|
707
|
-
},
|
|
708
|
-
"defaultValue": false
|
|
441
|
+
"source": "light.rotating"
|
|
709
442
|
},
|
|
710
443
|
{
|
|
711
444
|
"target": "light.blinking",
|
|
712
|
-
"source": "
|
|
713
|
-
"valueMap": {
|
|
714
|
-
"2": true
|
|
715
|
-
},
|
|
716
|
-
"defaultValue": false,
|
|
717
|
-
"transform": "condition",
|
|
718
|
-
"dictName": "",
|
|
719
|
-
"conditions": [
|
|
720
|
-
{
|
|
721
|
-
"operator": "eq",
|
|
722
|
-
"operand": "98",
|
|
723
|
-
"value": "true"
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"operator": "eq",
|
|
727
|
-
"operand": "11",
|
|
728
|
-
"value": "true"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"operator": "eq",
|
|
732
|
-
"operand": "12",
|
|
733
|
-
"value": "true"
|
|
734
|
-
}
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"target": "x",
|
|
739
|
-
"source": "x",
|
|
740
|
-
"transform": "constant",
|
|
741
|
-
"constant": "500",
|
|
742
|
-
"transformType": "width",
|
|
743
|
-
"transformPrecision": 2
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"target": "y",
|
|
747
|
-
"source": ""
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"target": "j1",
|
|
751
|
-
"source": "j1"
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"target": "currentFixture",
|
|
755
|
-
"source": "clawHasPallet",
|
|
756
|
-
"transform": "condition",
|
|
757
|
-
"conditions": [
|
|
758
|
-
{
|
|
759
|
-
"operator": "eq",
|
|
760
|
-
"operand": "true",
|
|
761
|
-
"value": "Pallet"
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"operator": "eq",
|
|
765
|
-
"operand": "false",
|
|
766
|
-
"value": "Tool"
|
|
767
|
-
}
|
|
768
|
-
]
|
|
769
|
-
}
|
|
770
|
-
]
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"sourceType": "",
|
|
774
|
-
"className": "ResourceStore",
|
|
775
|
-
"equipmentName": "资源库",
|
|
776
|
-
"enabled": true,
|
|
777
|
-
"operate": "single",
|
|
778
|
-
"mappings": [
|
|
779
|
-
{
|
|
780
|
-
"target": "id",
|
|
781
|
-
"source": "deviceId",
|
|
782
|
-
"defaultValue": ""
|
|
445
|
+
"source": "light.blinking"
|
|
783
446
|
},
|
|
784
447
|
{
|
|
785
|
-
"target": "
|
|
786
|
-
"source": "
|
|
787
|
-
"defaultValue":
|
|
448
|
+
"target": "progress.percent",
|
|
449
|
+
"source": "progress.percent",
|
|
450
|
+
"defaultValue": 0
|
|
788
451
|
},
|
|
789
452
|
{
|
|
790
|
-
"target": "
|
|
791
|
-
"source": "
|
|
792
|
-
"valueMap": {
|
|
793
|
-
"1": true
|
|
794
|
-
},
|
|
795
|
-
"defaultValue": false
|
|
453
|
+
"target": "progress.text",
|
|
454
|
+
"source": "progress.text"
|
|
796
455
|
},
|
|
797
456
|
{
|
|
798
|
-
"target": "
|
|
799
|
-
"source": "
|
|
800
|
-
"valueMap": {
|
|
801
|
-
"2": true
|
|
802
|
-
},
|
|
457
|
+
"target": "passage.in",
|
|
458
|
+
"source": "passage.in",
|
|
803
459
|
"defaultValue": false
|
|
804
460
|
},
|
|
805
461
|
{
|
|
806
|
-
"target": "
|
|
807
|
-
"source": ""
|
|
462
|
+
"target": "passage.out",
|
|
463
|
+
"source": "passage.out",
|
|
464
|
+
"defaultValue": false
|
|
808
465
|
},
|
|
809
466
|
{
|
|
810
|
-
"target": "
|
|
811
|
-
"source": "
|
|
812
|
-
"defaultValue": {}
|
|
467
|
+
"target": "device_state",
|
|
468
|
+
"source": "device_state"
|
|
813
469
|
}
|
|
814
470
|
]
|
|
815
471
|
},
|
|
816
472
|
{
|
|
817
|
-
"sourceType": "",
|
|
473
|
+
"sourceType": "device_command",
|
|
474
|
+
"deviceType": "pallet",
|
|
818
475
|
"className": "Pallet",
|
|
819
476
|
"equipmentName": "托盘",
|
|
820
477
|
"enabled": true,
|
|
821
478
|
"operate": "single",
|
|
822
479
|
"mappings": [
|
|
823
480
|
{
|
|
824
|
-
"target": "
|
|
825
|
-
"source": "
|
|
481
|
+
"target": "device_id",
|
|
482
|
+
"source": "device_id",
|
|
826
483
|
"defaultValue": ""
|
|
827
484
|
},
|
|
828
485
|
{
|
|
829
486
|
"target": "light.color",
|
|
830
|
-
"source": "
|
|
831
|
-
"defaultValue": "#424242",
|
|
832
|
-
"transform": "dictColor",
|
|
833
|
-
"dictName": "toolChangeWindowStatus"
|
|
487
|
+
"source": "light.color"
|
|
834
488
|
},
|
|
835
489
|
{
|
|
836
490
|
"target": "light.rotating",
|
|
837
|
-
"source": ""
|
|
838
|
-
"valueMap": {
|
|
839
|
-
"1": true
|
|
840
|
-
},
|
|
841
|
-
"defaultValue": false
|
|
491
|
+
"source": "light.rotating"
|
|
842
492
|
},
|
|
843
493
|
{
|
|
844
494
|
"target": "light.blinking",
|
|
845
|
-
"source": ""
|
|
846
|
-
"valueMap": {
|
|
847
|
-
"2": true
|
|
848
|
-
},
|
|
849
|
-
"defaultValue": false
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"target": "x",
|
|
853
|
-
"source": ""
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
"target": "y",
|
|
857
|
-
"source": ""
|
|
495
|
+
"source": "light.blinking"
|
|
858
496
|
},
|
|
859
497
|
{
|
|
860
|
-
"target": "
|
|
861
|
-
"source": "
|
|
862
|
-
"defaultValue": {}
|
|
863
|
-
}
|
|
864
|
-
]
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"sourceType": "8",
|
|
868
|
-
"className": "MaterialTrack",
|
|
869
|
-
"equipmentName": "料道",
|
|
870
|
-
"enabled": true,
|
|
871
|
-
"operate": "single",
|
|
872
|
-
"mappings": [
|
|
873
|
-
{
|
|
874
|
-
"target": "id",
|
|
875
|
-
"source": "deviceId",
|
|
876
|
-
"defaultValue": ""
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
"target": "light.color",
|
|
880
|
-
"source": "displayColor",
|
|
881
|
-
"defaultValue": "#424242",
|
|
882
|
-
"transform": "dictColor",
|
|
883
|
-
"dictName": "palletLaneStatus"
|
|
498
|
+
"target": "position.x",
|
|
499
|
+
"source": "position.x"
|
|
884
500
|
},
|
|
885
501
|
{
|
|
886
|
-
"target": "
|
|
887
|
-
"source": "
|
|
888
|
-
"valueMap": {
|
|
889
|
-
"2": true
|
|
890
|
-
},
|
|
891
|
-
"defaultValue": false
|
|
502
|
+
"target": "position.y",
|
|
503
|
+
"source": "position.y"
|
|
892
504
|
},
|
|
893
505
|
{
|
|
894
|
-
"target": "
|
|
895
|
-
"source": "
|
|
896
|
-
"defaultValue": {}
|
|
506
|
+
"target": "device_state",
|
|
507
|
+
"source": "device_state"
|
|
897
508
|
}
|
|
898
509
|
]
|
|
899
510
|
},
|
|
900
511
|
{
|
|
901
|
-
"sourceType": "Rail",
|
|
902
|
-
"className": "Rail",
|
|
903
|
-
"equipmentName": "轨道",
|
|
904
|
-
"enabled": false,
|
|
905
|
-
"operate": "single",
|
|
906
|
-
"mappings": [
|
|
907
|
-
{
|
|
908
|
-
"target": "id",
|
|
909
|
-
"source": "id",
|
|
910
|
-
"defaultValue": ""
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"target": "x",
|
|
914
|
-
"source": "x",
|
|
915
|
-
"transform": "percentToPixel",
|
|
916
|
-
"transformType": "width",
|
|
917
|
-
"transformPrecision": 2
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
"target": "botId",
|
|
921
|
-
"source": "botId"
|
|
922
|
-
}
|
|
923
|
-
]
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"sourceType": "2",
|
|
927
512
|
"className": "Resource",
|
|
928
513
|
"enabled": true,
|
|
929
514
|
"operate": "resource",
|
|
@@ -931,129 +516,167 @@
|
|
|
931
516
|
"resourceMappings": {
|
|
932
517
|
"add": [
|
|
933
518
|
{
|
|
934
|
-
"target": "
|
|
935
|
-
"source": "
|
|
936
|
-
|
|
519
|
+
"target": "resource_id",
|
|
520
|
+
"source": "resource_id"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"target": "resource_type",
|
|
524
|
+
"source": "resource_type"
|
|
937
525
|
},
|
|
938
526
|
{
|
|
939
|
-
"target": "
|
|
940
|
-
"source": "
|
|
527
|
+
"target": "resource_name",
|
|
528
|
+
"source": "resource_name"
|
|
941
529
|
},
|
|
942
530
|
{
|
|
943
|
-
"target": "
|
|
944
|
-
"source": ""
|
|
945
|
-
"transform": "constant",
|
|
946
|
-
"conditions": [
|
|
947
|
-
{
|
|
948
|
-
"operator": "eq",
|
|
949
|
-
"operand": "1",
|
|
950
|
-
"value": "Tool"
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
"constant": "Tool"
|
|
531
|
+
"target": "resource_color",
|
|
532
|
+
"source": "resource_color"
|
|
954
533
|
},
|
|
955
534
|
{
|
|
956
|
-
"target": "
|
|
957
|
-
"source": "
|
|
535
|
+
"target": "to.device_type",
|
|
536
|
+
"source": "to.device_type"
|
|
958
537
|
},
|
|
959
538
|
{
|
|
960
|
-
"target": "
|
|
961
|
-
"source": ""
|
|
962
|
-
"transform": "constant",
|
|
963
|
-
"constant": "C"
|
|
539
|
+
"target": "to.device_id",
|
|
540
|
+
"source": "to.device_id"
|
|
964
541
|
},
|
|
965
542
|
{
|
|
966
|
-
"target": "
|
|
967
|
-
"source": "
|
|
968
|
-
"transform": "dictColor",
|
|
969
|
-
"dictName": "toolStatus"
|
|
543
|
+
"target": "to.device_layer",
|
|
544
|
+
"source": "to.device_layer"
|
|
970
545
|
},
|
|
971
546
|
{
|
|
972
|
-
"target": "
|
|
973
|
-
"source": "
|
|
547
|
+
"target": "to.device_station",
|
|
548
|
+
"source": "to.device_station"
|
|
974
549
|
}
|
|
975
550
|
],
|
|
976
|
-
"
|
|
551
|
+
"batch_add": [
|
|
552
|
+
{
|
|
553
|
+
"target": "resource_id",
|
|
554
|
+
"source": "resource_id"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"target": "resource_type",
|
|
558
|
+
"source": "resource_type"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"target": "resource_name",
|
|
562
|
+
"source": "resource_name"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"target": "resource_color",
|
|
566
|
+
"source": "resource_color"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"target": "to.device_type",
|
|
570
|
+
"source": "to.device_type"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"target": "to.device_id",
|
|
574
|
+
"source": "to.device_id"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"target": "to.device_layer",
|
|
578
|
+
"source": "to.device_layer"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"target": "to.device_station",
|
|
582
|
+
"source": "to.device_station"
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"transfer": [
|
|
586
|
+
{
|
|
587
|
+
"target": "resource_id",
|
|
588
|
+
"source": "resource_id"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"target": "resource_type",
|
|
592
|
+
"source": "resource_type"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"target": "resource_name",
|
|
596
|
+
"source": "resource_name"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"target": "resource_color",
|
|
600
|
+
"source": "resource_color"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"target": "from.device_type",
|
|
604
|
+
"source": "from.device_type"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"target": "from.device_id",
|
|
608
|
+
"source": "from.device_id"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"target": "from.device_layer",
|
|
612
|
+
"source": "from.device_layer"
|
|
613
|
+
},
|
|
977
614
|
{
|
|
978
|
-
"target": "
|
|
979
|
-
"source": "
|
|
980
|
-
"transform": "modelMap"
|
|
615
|
+
"target": "from.device_station",
|
|
616
|
+
"source": "from.device_station"
|
|
981
617
|
},
|
|
982
618
|
{
|
|
983
|
-
"target": "
|
|
984
|
-
"source": "
|
|
619
|
+
"target": "to.device_type",
|
|
620
|
+
"source": "to.device_type"
|
|
985
621
|
},
|
|
986
622
|
{
|
|
987
|
-
"target": "
|
|
988
|
-
"source": ""
|
|
989
|
-
|
|
990
|
-
|
|
623
|
+
"target": "to.device_id",
|
|
624
|
+
"source": "to.device_id"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"target": "to.device_layer",
|
|
628
|
+
"source": "to.device_layer"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"target": "to.device_station",
|
|
632
|
+
"source": "to.device_station"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"remove": [
|
|
636
|
+
{
|
|
637
|
+
"target": "resource_id",
|
|
638
|
+
"source": "resource_id"
|
|
991
639
|
},
|
|
992
640
|
{
|
|
993
|
-
"target": "
|
|
994
|
-
"source": "
|
|
641
|
+
"target": "resource_type",
|
|
642
|
+
"source": "resource_type"
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
"batch_remove": [
|
|
646
|
+
{
|
|
647
|
+
"target": "resource_ids",
|
|
648
|
+
"source": "resource_ids"
|
|
995
649
|
},
|
|
996
650
|
{
|
|
997
|
-
"target": "
|
|
998
|
-
"source": "
|
|
651
|
+
"target": "resource_type",
|
|
652
|
+
"source": "resource_type"
|
|
999
653
|
}
|
|
1000
654
|
]
|
|
1001
|
-
}
|
|
655
|
+
},
|
|
656
|
+
"resourceFields": {
|
|
657
|
+
"operationField": "data.operation",
|
|
658
|
+
"batchAddItems": "data.resources"
|
|
659
|
+
},
|
|
660
|
+
"sourceType": "resource_command"
|
|
1002
661
|
},
|
|
1003
662
|
{
|
|
1004
|
-
"
|
|
1005
|
-
"
|
|
663
|
+
"className": "RuntimeStatus",
|
|
664
|
+
"equipmentName": "全局运行状态推送",
|
|
665
|
+
"sourceType": "runtime_status_push",
|
|
1006
666
|
"enabled": true,
|
|
1007
|
-
"operate": "
|
|
1008
|
-
"mappings": [
|
|
1009
|
-
|
|
1010
|
-
"
|
|
1011
|
-
|
|
667
|
+
"operate": "statusPush",
|
|
668
|
+
"mappings": [
|
|
669
|
+
{ "target": "currentTask", "source": "current_task" },
|
|
670
|
+
{ "target": "device_stats", "source": "device_stats" },
|
|
671
|
+
{ "target": "deviceOnline", "source": "device_stats.online" }
|
|
672
|
+
]
|
|
1012
673
|
},
|
|
1013
674
|
{
|
|
1014
|
-
"sourceType": "resetAll",
|
|
1015
675
|
"className": "ResetAll",
|
|
676
|
+
"sourceType": "scene_reset",
|
|
1016
677
|
"enabled": true,
|
|
1017
678
|
"operate": "resetAll",
|
|
1018
679
|
"mappings": []
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"sourceType": "5",
|
|
1022
|
-
"className": "ResourceOperationWindow",
|
|
1023
|
-
"equipmentName": "资源操作窗口",
|
|
1024
|
-
"enabled": true,
|
|
1025
|
-
"operate": "single",
|
|
1026
|
-
"mappings": [
|
|
1027
|
-
{
|
|
1028
|
-
"target": "id",
|
|
1029
|
-
"source": "deviceId",
|
|
1030
|
-
"defaultValue": ""
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"target": "light.color",
|
|
1034
|
-
"source": "status",
|
|
1035
|
-
"defaultValue": "#424242",
|
|
1036
|
-
"transform": "dictColor",
|
|
1037
|
-
"dictName": "dockingStationLayerStatus"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"target": "light.blinking",
|
|
1041
|
-
"source": "",
|
|
1042
|
-
"valueMap": {
|
|
1043
|
-
"2": true
|
|
1044
|
-
},
|
|
1045
|
-
"defaultValue": false
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"target": "stationColor",
|
|
1049
|
-
"source": "stationStatus",
|
|
1050
|
-
"defaultValue": {},
|
|
1051
|
-
"transform": "objDict",
|
|
1052
|
-
"dictName": "toolChangeWindowStationStatus",
|
|
1053
|
-
"valueMap": {},
|
|
1054
|
-
"transformTargetType": "string"
|
|
1055
|
-
}
|
|
1056
|
-
]
|
|
1057
680
|
}
|
|
1058
681
|
]
|
|
1059
682
|
}
|