@jnrs/lingshu-smart 2.2.46 → 2.2.47
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/dist/components/debug/DataLogPanel.vue.d.ts +16 -1
- package/dist/components/debug/ScriptRunner/ConfigPanel.vue.d.ts +0 -1
- package/dist/components/debug/ScriptRunner/script.d.ts +12 -3
- package/dist/components/index.js +4930 -4674
- package/dist/components/preview/index.vue.d.ts +1321 -1555
- package/dist/controller/AppController.d.ts +10 -1
- package/dist/{guards-aLOXCeCF.js → guards-Bi8oNtaY.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/lingshu-smart/cases.json +2679 -2656
- package/dist/lingshu-smart/wsProxyConfig.json +159 -138
- package/dist/playground/ViewPageDemo.vue.d.ts +2662 -3130
- package/dist/stores/index.js +1 -1
- package/dist/stores/useAppStore.d.ts +4016 -4718
- package/dist/stores/useDataStore.d.ts +4527 -5220
- package/dist/stores/useDebugStore.d.ts +4 -1
- package/dist/types/components/operating.types.d.ts +8 -8
- package/dist/types/guards.d.ts +3 -1
- package/dist/types/models/config.types.d.ts +18 -4
- package/dist/types/models/operating.types.d.ts +23 -33
- package/dist/ui/abstract/ModelAbs.d.ts +5 -0
- package/dist/ui/components/StationSlotGroup.d.ts +2 -2
- package/dist/ui/models/DoubleJointRobot.d.ts +2 -0
- package/dist/ui/models/MachineTool.d.ts +0 -1
- package/dist/ui/models/Pallet.d.ts +12 -7
- package/dist/ui/models/Rail.d.ts +9 -2
- package/dist/ui/models/ResourceOperationWindow.d.ts +2 -0
- package/dist/ui/models/Rgv.d.ts +2 -4
- package/dist/ui/models/ShuttleStation.d.ts +0 -2
- package/dist/{useAppStore-CVyLAMtL.js → useAppStore-CevWqcmT.js} +1588 -1566
- package/package.json +1 -1
|
@@ -27,24 +27,27 @@
|
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"target": "light.color",
|
|
30
|
-
"source": "
|
|
31
|
-
"defaultValue": "#424242"
|
|
30
|
+
"source": "lightColor"
|
|
32
31
|
},
|
|
33
32
|
{
|
|
34
33
|
"target": "light.rotating",
|
|
35
|
-
"source": "
|
|
36
|
-
"valueMap": {
|
|
37
|
-
"1": true
|
|
38
|
-
},
|
|
39
|
-
"defaultValue": false
|
|
34
|
+
"source": "lightRotating"
|
|
40
35
|
},
|
|
41
36
|
{
|
|
42
37
|
"target": "light.blinking",
|
|
43
|
-
"source": "
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
38
|
+
"source": "lightBlinking"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"target": "light.color",
|
|
42
|
+
"source": "light.color"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"target": "light.rotating",
|
|
46
|
+
"source": "light.rotating"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"target": "light.blinking",
|
|
50
|
+
"source": "light.blinking"
|
|
48
51
|
},
|
|
49
52
|
{
|
|
50
53
|
"target": "x",
|
|
@@ -147,9 +150,9 @@
|
|
|
147
150
|
"mappings": []
|
|
148
151
|
},
|
|
149
152
|
{
|
|
150
|
-
"sourceType": "
|
|
151
|
-
"className": "
|
|
152
|
-
"equipmentName": "
|
|
153
|
+
"sourceType": "DoubleJointRobot",
|
|
154
|
+
"className": "DoubleJointRobot",
|
|
155
|
+
"equipmentName": "双关节机器人",
|
|
153
156
|
"enabled": true,
|
|
154
157
|
"operate": "single",
|
|
155
158
|
"mappings": [
|
|
@@ -159,50 +162,28 @@
|
|
|
159
162
|
"defaultValue": ""
|
|
160
163
|
},
|
|
161
164
|
{
|
|
162
|
-
"target": "
|
|
163
|
-
"source": "
|
|
164
|
-
"transform": "percentToPixel",
|
|
165
|
-
"transformType": "width",
|
|
166
|
-
"transformPrecision": 2
|
|
165
|
+
"target": "light.color",
|
|
166
|
+
"source": "lightColor"
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
|
-
"target": "
|
|
170
|
-
"source": "
|
|
171
|
-
}
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"sourceType": "DoubleJointRobot",
|
|
176
|
-
"className": "DoubleJointRobot",
|
|
177
|
-
"equipmentName": "双关节机器人",
|
|
178
|
-
"enabled": true,
|
|
179
|
-
"operate": "single",
|
|
180
|
-
"mappings": [
|
|
169
|
+
"target": "light.rotating",
|
|
170
|
+
"source": "lightRotating"
|
|
171
|
+
},
|
|
181
172
|
{
|
|
182
|
-
"target": "
|
|
183
|
-
"source": "
|
|
184
|
-
"defaultValue": ""
|
|
173
|
+
"target": "light.blinking",
|
|
174
|
+
"source": "lightBlinking"
|
|
185
175
|
},
|
|
186
176
|
{
|
|
187
177
|
"target": "light.color",
|
|
188
|
-
"source": "
|
|
189
|
-
"defaultValue": "#424242"
|
|
178
|
+
"source": "light.color"
|
|
190
179
|
},
|
|
191
180
|
{
|
|
192
181
|
"target": "light.rotating",
|
|
193
|
-
"source": "
|
|
194
|
-
"valueMap": {
|
|
195
|
-
"1": true
|
|
196
|
-
},
|
|
197
|
-
"defaultValue": false
|
|
182
|
+
"source": "light.rotating"
|
|
198
183
|
},
|
|
199
184
|
{
|
|
200
185
|
"target": "light.blinking",
|
|
201
|
-
"source": "
|
|
202
|
-
"valueMap": {
|
|
203
|
-
"2": true
|
|
204
|
-
},
|
|
205
|
-
"defaultValue": false
|
|
186
|
+
"source": "light.blinking"
|
|
206
187
|
},
|
|
207
188
|
{
|
|
208
189
|
"target": "x",
|
|
@@ -246,24 +227,27 @@
|
|
|
246
227
|
},
|
|
247
228
|
{
|
|
248
229
|
"target": "light.color",
|
|
249
|
-
"source": "
|
|
250
|
-
"defaultValue": "#424242"
|
|
230
|
+
"source": "lightColor"
|
|
251
231
|
},
|
|
252
232
|
{
|
|
253
233
|
"target": "light.rotating",
|
|
254
|
-
"source": "
|
|
255
|
-
"valueMap": {
|
|
256
|
-
"1": true
|
|
257
|
-
},
|
|
258
|
-
"defaultValue": false
|
|
234
|
+
"source": "lightRotating"
|
|
259
235
|
},
|
|
260
236
|
{
|
|
261
237
|
"target": "light.blinking",
|
|
262
|
-
"source": "
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"
|
|
238
|
+
"source": "lightBlinking"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"target": "light.color",
|
|
242
|
+
"source": "light.color"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"target": "light.rotating",
|
|
246
|
+
"source": "light.rotating"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"target": "light.blinking",
|
|
250
|
+
"source": "light.blinking"
|
|
267
251
|
},
|
|
268
252
|
{
|
|
269
253
|
"target": "progress.percent",
|
|
@@ -305,24 +289,27 @@
|
|
|
305
289
|
},
|
|
306
290
|
{
|
|
307
291
|
"target": "light.color",
|
|
308
|
-
"source": "
|
|
309
|
-
"defaultValue": "#424242"
|
|
292
|
+
"source": "lightColor"
|
|
310
293
|
},
|
|
311
294
|
{
|
|
312
295
|
"target": "light.rotating",
|
|
313
|
-
"source": "
|
|
314
|
-
"valueMap": {
|
|
315
|
-
"1": true
|
|
316
|
-
},
|
|
317
|
-
"defaultValue": false
|
|
296
|
+
"source": "lightRotating"
|
|
318
297
|
},
|
|
319
298
|
{
|
|
320
299
|
"target": "light.blinking",
|
|
321
|
-
"source": "
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
"
|
|
300
|
+
"source": "lightBlinking"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"target": "light.color",
|
|
304
|
+
"source": "light.color"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"target": "light.rotating",
|
|
308
|
+
"source": "light.rotating"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"target": "light.blinking",
|
|
312
|
+
"source": "light.blinking"
|
|
326
313
|
},
|
|
327
314
|
{
|
|
328
315
|
"target": "x",
|
|
@@ -352,24 +339,27 @@
|
|
|
352
339
|
},
|
|
353
340
|
{
|
|
354
341
|
"target": "light.color",
|
|
355
|
-
"source": "
|
|
356
|
-
"defaultValue": "#424242"
|
|
342
|
+
"source": "lightColor"
|
|
357
343
|
},
|
|
358
344
|
{
|
|
359
345
|
"target": "light.rotating",
|
|
360
|
-
"source": "
|
|
361
|
-
"valueMap": {
|
|
362
|
-
"1": true
|
|
363
|
-
},
|
|
364
|
-
"defaultValue": false
|
|
346
|
+
"source": "lightRotating"
|
|
365
347
|
},
|
|
366
348
|
{
|
|
367
349
|
"target": "light.blinking",
|
|
368
|
-
"source": "
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
"
|
|
350
|
+
"source": "lightBlinking"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"target": "light.color",
|
|
354
|
+
"source": "light.color"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"target": "light.rotating",
|
|
358
|
+
"source": "light.rotating"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"target": "light.blinking",
|
|
362
|
+
"source": "light.blinking"
|
|
373
363
|
},
|
|
374
364
|
{
|
|
375
365
|
"target": "x",
|
|
@@ -406,16 +396,19 @@
|
|
|
406
396
|
},
|
|
407
397
|
{
|
|
408
398
|
"target": "light.color",
|
|
409
|
-
"source": "
|
|
410
|
-
"defaultValue": "#424242"
|
|
399
|
+
"source": "lightColor"
|
|
411
400
|
},
|
|
412
401
|
{
|
|
413
402
|
"target": "light.blinking",
|
|
414
|
-
"source": "
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
"
|
|
403
|
+
"source": "lightBlinking"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"target": "light.color",
|
|
407
|
+
"source": "light.color"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"target": "light.blinking",
|
|
411
|
+
"source": "light.blinking"
|
|
419
412
|
},
|
|
420
413
|
{
|
|
421
414
|
"target": "progress.percent",
|
|
@@ -452,16 +445,19 @@
|
|
|
452
445
|
},
|
|
453
446
|
{
|
|
454
447
|
"target": "light.color",
|
|
455
|
-
"source": "
|
|
456
|
-
"defaultValue": "#424242"
|
|
448
|
+
"source": "lightColor"
|
|
457
449
|
},
|
|
458
450
|
{
|
|
459
451
|
"target": "light.blinking",
|
|
460
|
-
"source": "
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
"
|
|
452
|
+
"source": "lightBlinking"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"target": "light.color",
|
|
456
|
+
"source": "light.color"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"target": "light.blinking",
|
|
460
|
+
"source": "light.blinking"
|
|
465
461
|
},
|
|
466
462
|
{
|
|
467
463
|
"target": "progress.percent",
|
|
@@ -483,8 +479,8 @@
|
|
|
483
479
|
"defaultValue": false
|
|
484
480
|
},
|
|
485
481
|
{
|
|
486
|
-
"target": "
|
|
487
|
-
"source": "
|
|
482
|
+
"target": "laserSites",
|
|
483
|
+
"source": "laserSites"
|
|
488
484
|
}
|
|
489
485
|
]
|
|
490
486
|
},
|
|
@@ -502,16 +498,19 @@
|
|
|
502
498
|
},
|
|
503
499
|
{
|
|
504
500
|
"target": "light.color",
|
|
505
|
-
"source": "
|
|
506
|
-
"defaultValue": "#424242"
|
|
501
|
+
"source": "lightColor"
|
|
507
502
|
},
|
|
508
503
|
{
|
|
509
504
|
"target": "light.blinking",
|
|
510
|
-
"source": "
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
"
|
|
505
|
+
"source": "lightBlinking"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"target": "light.color",
|
|
509
|
+
"source": "light.color"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"target": "light.blinking",
|
|
513
|
+
"source": "light.blinking"
|
|
515
514
|
},
|
|
516
515
|
{
|
|
517
516
|
"target": "progress.percent",
|
|
@@ -553,16 +552,19 @@
|
|
|
553
552
|
},
|
|
554
553
|
{
|
|
555
554
|
"target": "light.color",
|
|
556
|
-
"source": "
|
|
557
|
-
"defaultValue": "#424242"
|
|
555
|
+
"source": "lightColor"
|
|
558
556
|
},
|
|
559
557
|
{
|
|
560
558
|
"target": "light.blinking",
|
|
561
|
-
"source": "
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
"
|
|
559
|
+
"source": "lightBlinking"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"target": "light.color",
|
|
563
|
+
"source": "light.color"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"target": "light.blinking",
|
|
567
|
+
"source": "light.blinking"
|
|
566
568
|
},
|
|
567
569
|
{
|
|
568
570
|
"target": "layerVisible",
|
|
@@ -604,11 +606,11 @@
|
|
|
604
606
|
"caseId": "07940f5e-93fd-40c5-85f7-56b4d3fe838b",
|
|
605
607
|
"caseName": "中央刀具库(丝路厂区)",
|
|
606
608
|
"fileUrl": "public/lingshu-smart/wsProxyConfig.json",
|
|
607
|
-
"version": "
|
|
609
|
+
"version": "0904",
|
|
608
610
|
"dataSource": "builtin",
|
|
609
|
-
"wsUrl": "
|
|
611
|
+
"wsUrl": "/ws/monitor?page=ctsMonitor",
|
|
610
612
|
"carryToken": true,
|
|
611
|
-
"requestMode": "
|
|
613
|
+
"requestMode": "proxy",
|
|
612
614
|
"autoConnect": true,
|
|
613
615
|
"payloadKey": "data",
|
|
614
616
|
"sourceTypeField": "type",
|
|
@@ -619,7 +621,7 @@
|
|
|
619
621
|
"2": "ShuttleStation",
|
|
620
622
|
"4": "ResourceStore",
|
|
621
623
|
"5": "ResourceOperationWindow",
|
|
622
|
-
"
|
|
624
|
+
"8": "MaterialTrack"
|
|
623
625
|
},
|
|
624
626
|
"rules": [
|
|
625
627
|
{
|
|
@@ -649,10 +651,11 @@
|
|
|
649
651
|
},
|
|
650
652
|
{
|
|
651
653
|
"target": "layerVisible",
|
|
652
|
-
"source": "
|
|
654
|
+
"source": "layerStationStatus",
|
|
653
655
|
"transform": "objDict",
|
|
654
656
|
"transformTargetType": "boolean",
|
|
655
657
|
"valueMap": {
|
|
658
|
+
"0": "false",
|
|
656
659
|
"1": "true"
|
|
657
660
|
},
|
|
658
661
|
"defaultValue": {},
|
|
@@ -660,15 +663,16 @@
|
|
|
660
663
|
},
|
|
661
664
|
{
|
|
662
665
|
"target": "layerLightColor",
|
|
663
|
-
"source": "
|
|
666
|
+
"source": "layerStatus",
|
|
664
667
|
"transform": "objDict",
|
|
665
|
-
"dictName": "
|
|
668
|
+
"dictName": "dockingStationStatus",
|
|
666
669
|
"defaultValue": {},
|
|
667
|
-
"valueMap": {}
|
|
670
|
+
"valueMap": {},
|
|
671
|
+
"transformTargetType": "string"
|
|
668
672
|
},
|
|
669
673
|
{
|
|
670
674
|
"target": "layerLightBlinking",
|
|
671
|
-
"source": "
|
|
675
|
+
"source": "layerStatus",
|
|
672
676
|
"transform": "objDict",
|
|
673
677
|
"transformTargetType": "boolean",
|
|
674
678
|
"valueMap": {
|
|
@@ -877,7 +881,7 @@
|
|
|
877
881
|
},
|
|
878
882
|
{
|
|
879
883
|
"target": "light.color",
|
|
880
|
-
"source": "
|
|
884
|
+
"source": "status",
|
|
881
885
|
"defaultValue": "#424242",
|
|
882
886
|
"transform": "dictColor",
|
|
883
887
|
"dictName": "palletLaneStatus"
|
|
@@ -885,14 +889,32 @@
|
|
|
885
889
|
{
|
|
886
890
|
"target": "light.blinking",
|
|
887
891
|
"source": "status",
|
|
888
|
-
"valueMap": {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
"
|
|
892
|
+
"valueMap": {},
|
|
893
|
+
"defaultValue": false,
|
|
894
|
+
"transform": "condition",
|
|
895
|
+
"dictName": "",
|
|
896
|
+
"transformTargetType": "string",
|
|
897
|
+
"conditions": [
|
|
898
|
+
{
|
|
899
|
+
"operator": "eq",
|
|
900
|
+
"operand": "1",
|
|
901
|
+
"value": "false"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"operator": "eq",
|
|
905
|
+
"operand": "2",
|
|
906
|
+
"value": "true"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"operator": "eq",
|
|
910
|
+
"operand": "99",
|
|
911
|
+
"value": "false"
|
|
912
|
+
}
|
|
913
|
+
]
|
|
892
914
|
},
|
|
893
915
|
{
|
|
894
916
|
"target": "layerVisible",
|
|
895
|
-
"source": "
|
|
917
|
+
"source": "",
|
|
896
918
|
"defaultValue": {}
|
|
897
919
|
}
|
|
898
920
|
]
|
|
@@ -960,13 +982,19 @@
|
|
|
960
982
|
"target": "resource.name",
|
|
961
983
|
"source": "",
|
|
962
984
|
"transform": "constant",
|
|
963
|
-
"constant": "
|
|
985
|
+
"constant": "A"
|
|
964
986
|
},
|
|
965
987
|
{
|
|
966
988
|
"target": "resource.color",
|
|
967
989
|
"source": "status",
|
|
968
|
-
"transform": "
|
|
969
|
-
"
|
|
990
|
+
"transform": "condition",
|
|
991
|
+
"conditions": [
|
|
992
|
+
{
|
|
993
|
+
"operator": "eq",
|
|
994
|
+
"operand": "1",
|
|
995
|
+
"value": "#f30"
|
|
996
|
+
}
|
|
997
|
+
]
|
|
970
998
|
},
|
|
971
999
|
{
|
|
972
1000
|
"target": "resource.index",
|
|
@@ -1010,13 +1038,6 @@
|
|
|
1010
1038
|
"resourceIds": "data"
|
|
1011
1039
|
}
|
|
1012
1040
|
},
|
|
1013
|
-
{
|
|
1014
|
-
"sourceType": "resetAll",
|
|
1015
|
-
"className": "ResetAll",
|
|
1016
|
-
"enabled": true,
|
|
1017
|
-
"operate": "resetAll",
|
|
1018
|
-
"mappings": []
|
|
1019
|
-
},
|
|
1020
1041
|
{
|
|
1021
1042
|
"sourceType": "5",
|
|
1022
1043
|
"className": "ResourceOperationWindow",
|