@jnrs/lingshu-smart 2.2.8 → 2.2.10
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/App.vue.d.ts +1 -2
- package/dist/assets/data/editor_default_setting.d.ts +1 -8
- package/dist/assets/data/editor_preset_menu.d.ts +1 -8
- package/dist/components/editor/ControlBar/CaseManger.vue.d.ts +15 -3
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +411 -2
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.d.ts +2 -3
- package/dist/components/editor/ControlBar/MainButton.vue.d.ts +2 -3
- package/dist/components/editor/ControlBar/StepButton.vue.d.ts +1 -2
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.d.ts +1 -2
- package/dist/components/editor/DrawingBoard.vue.d.ts +1 -2
- package/dist/components/editor/MenuCard/Equipments.vue.d.ts +1 -2
- package/dist/components/editor/MenuCard/Layers.vue.d.ts +1 -2
- package/dist/components/editor/MenuCard/index.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/Base.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/DataSets.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/Interaction.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/Position.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/index.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Equipment/models/SingleJointRobot.vue.d.ts +2 -0
- package/dist/components/editor/OptionCard/Scene/Background.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/Scene/index.vue.d.ts +1 -2
- package/dist/components/editor/OptionCard/index.vue.d.ts +1 -2
- package/dist/components/editor/index.vue.d.ts +13 -4
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +27281 -4
- package/dist/components/preview/index.vue.d.ts +5 -6
- package/dist/composables/useStepRecord.d.ts +4 -12
- package/dist/constants/options.d.ts +1 -8
- package/dist/controller/AppController.d.ts +3 -10
- package/dist/controller/EditorController.d.ts +2 -9
- package/dist/index.js +1 -1
- package/dist/json/cases.json +577 -20
- package/dist/locales/i18next.d.ts +1 -1
- package/dist/locales/index.d.ts +2 -2
- package/dist/locales/index.js +13 -3
- package/dist/main.d.ts +0 -3
- package/dist/playground/EditPageDemo.vue.d.ts +1 -2
- package/dist/playground/ViewPageDemo.vue.d.ts +27 -2
- package/dist/stores/useAppStore.d.ts +5 -12
- package/dist/stores/useDataStore.d.ts +11 -18
- package/dist/stores/useEditorStore.d.ts +20 -27
- package/dist/types/app.types.d.ts +1 -1
- package/dist/types/base.types.d.ts +1 -1
- package/dist/types/components/config.types.d.ts +1 -1
- package/dist/types/components/operating.types.d.ts +1 -1
- package/dist/types/enums.d.ts +1 -1
- package/dist/types/guards.d.ts +5 -12
- package/dist/types/index.d.ts +2 -2
- package/dist/types/models/config.types.d.ts +49 -47
- package/dist/types/models/operating.types.d.ts +53 -53
- package/dist/ui/abstract/ComponentAbs.d.ts +2 -9
- package/dist/ui/abstract/ModelAbs.d.ts +2 -10
- package/dist/ui/components/Entrance.d.ts +1 -8
- package/dist/ui/components/Light.d.ts +1 -8
- package/dist/ui/components/Progress.d.ts +1 -8
- package/dist/ui/components/Resource.d.ts +1 -8
- package/dist/ui/components/StationSlot.d.ts +1 -23
- package/dist/ui/components/StationSlotGroup.d.ts +1 -8
- package/dist/ui/factories/createGlass.d.ts +0 -6
- package/dist/ui/factories/createModel.d.ts +2 -9
- package/dist/ui/factories/createShadow.d.ts +1 -9
- package/dist/ui/factories/createText.d.ts +0 -7
- package/dist/ui/models/CleaningMachine.d.ts +1 -1
- package/dist/ui/models/DoubleJointRobot.d.ts +19 -20
- package/dist/ui/models/LoadingStation.d.ts +1 -1
- package/dist/ui/models/MachineTool.d.ts +1 -1
- package/dist/ui/models/MarkingMachine.d.ts +1 -1
- package/dist/ui/models/Rail.d.ts +1 -1
- package/dist/ui/models/ResourceStore.d.ts +1 -1
- package/dist/ui/models/SingleJointRobot.d.ts +3 -3
- package/dist/ui/shapes/NamePlate.d.ts +0 -7
- package/dist/ui/shapes/ScrewHole.d.ts +0 -7
- package/dist/ui/shapes/Texture.d.ts +1 -8
- package/dist/ui/utils/attr.d.ts +2 -9
- package/dist/utils/type-guards.d.ts +1 -1
- package/package.json +3 -3
- package/dist/App.vue.js +0 -30
- package/dist/assets/data/editor_default.d.ts +0 -16
- package/dist/assets/data/editor_default.js +0 -59
- package/dist/assets/data/editor_default_setting.js +0 -58
- package/dist/assets/data/editor_preset.d.ts +0 -9
- package/dist/assets/data/editor_preset.js +0 -51
- package/dist/assets/data/editor_preset_menu.js +0 -290
- package/dist/components/editor/ControlBar/CaseManger.vue.js +0 -465
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.js +0 -108
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.js +0 -280
- package/dist/components/editor/ControlBar/MainButton.vue.js +0 -183
- package/dist/components/editor/ControlBar/StepButton.vue.js +0 -147
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.js +0 -98
- package/dist/components/editor/DrawingBoard.vue.js +0 -31
- package/dist/components/editor/MenuCard/Equipments.vue.js +0 -129
- package/dist/components/editor/MenuCard/Layers.vue.js +0 -201
- package/dist/components/editor/MenuCard/index.vue.js +0 -84
- package/dist/components/editor/OptionCard/Equipment/Base.vue.js +0 -96
- package/dist/components/editor/OptionCard/Equipment/Binds.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/Binds.vue.js +0 -443
- package/dist/components/editor/OptionCard/Equipment/Bot.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/Bot.vue.js +0 -81
- package/dist/components/editor/OptionCard/Equipment/DataSets.vue.js +0 -304
- package/dist/components/editor/OptionCard/Equipment/DockStore.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/DockStore.vue.js +0 -597
- package/dist/components/editor/OptionCard/Equipment/Interaction.vue.js +0 -287
- package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.js +0 -440
- package/dist/components/editor/OptionCard/Equipment/Position.vue.js +0 -436
- package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.js +0 -1131
- package/dist/components/editor/OptionCard/Equipment/Store.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/Store.vue.js +0 -453
- package/dist/components/editor/OptionCard/Equipment/Trailer.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/Trailer.vue.js +0 -1109
- package/dist/components/editor/OptionCard/Equipment/index.vue.js +0 -100
- package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.js +0 -99
- package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.js +0 -225
- package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.d.ts +0 -3
- package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.js +0 -99
- package/dist/components/editor/OptionCard/Scene/Background.vue.js +0 -543
- package/dist/components/editor/OptionCard/Scene/index.vue.js +0 -200
- package/dist/components/editor/OptionCard/index.vue.js +0 -73
- package/dist/components/editor/index.vue.js +0 -156
- package/dist/components/preview/index.vue.js +0 -104
- package/dist/composables/useStepRecord.js +0 -135
- package/dist/constants/options.js +0 -55
- package/dist/controller/AppController.js +0 -168
- package/dist/controller/EditorController.js +0 -173
- package/dist/locales/en.js +0 -5
- package/dist/locales/i18next.js +0 -6
- package/dist/locales/zhCn.js +0 -5
- package/dist/main.js +0 -13
- package/dist/playground/EditPageDemo.vue.js +0 -57
- package/dist/playground/ViewPageDemo.vue.js +0 -277
- package/dist/stores/index.js +0 -3
- package/dist/stores/useAppStore.js +0 -78
- package/dist/stores/useDataStore.js +0 -116
- package/dist/stores/useEditorStore.js +0 -263
- package/dist/types/app.types.js +0 -2
- package/dist/types/base.types.js +0 -1
- package/dist/types/components/config.types.js +0 -1
- package/dist/types/components/operating.types.js +0 -1
- package/dist/types/enums.js +0 -46
- package/dist/types/guards.js +0 -28
- package/dist/types/index.js +0 -8
- package/dist/types/models/config.types.js +0 -1
- package/dist/types/models/operating.types.js +0 -1
- package/dist/ui/abstract/ComponentAbs.js +0 -64
- package/dist/ui/abstract/ModelAbs.js +0 -119
- package/dist/ui/components/Entrance.js +0 -83
- package/dist/ui/components/Light.js +0 -167
- package/dist/ui/components/Progress.js +0 -84
- package/dist/ui/components/Resource.js +0 -70
- package/dist/ui/components/StationSlot.js +0 -207
- package/dist/ui/components/StationSlotGroup.js +0 -110
- package/dist/ui/factories/createGlass.js +0 -51
- package/dist/ui/factories/createModel.js +0 -35
- package/dist/ui/factories/createShadow.js +0 -52
- package/dist/ui/factories/createText.js +0 -46
- package/dist/ui/models/CleaningMachine.js +0 -141
- package/dist/ui/models/DoubleJointRobot.js +0 -545
- package/dist/ui/models/LoadingStation.js +0 -167
- package/dist/ui/models/MachineTool.js +0 -184
- package/dist/ui/models/MarkingMachine.js +0 -148
- package/dist/ui/models/Rail.js +0 -117
- package/dist/ui/models/ResourceStore.js +0 -101
- package/dist/ui/models/SingleBot.d.ts +0 -20
- package/dist/ui/models/SingleBot.js +0 -202
- package/dist/ui/models/SingleGripperRobot.d.ts +0 -19
- package/dist/ui/models/SingleGripperRobot.js +0 -272
- package/dist/ui/models/SingleJointRobot.js +0 -346
- package/dist/ui/shapes/NamePlate.js +0 -85
- package/dist/ui/shapes/ScrewHole.js +0 -57
- package/dist/ui/shapes/Texture.js +0 -51
- package/dist/ui/utils/attr.js +0 -50
- package/dist/utils/index.js +0 -92
- package/dist/utils/type-guards.js +0 -105
package/dist/json/cases.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"data": [
|
|
5
5
|
{
|
|
6
6
|
"uuid": "c6ec0fcb-4863-4c1a-a6ab-04eb26a909b2",
|
|
7
|
-
"isActive":
|
|
7
|
+
"isActive": false,
|
|
8
8
|
"title": "测试方案20260202",
|
|
9
9
|
"layers": [
|
|
10
10
|
{
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"equipmentName": "机床",
|
|
16
16
|
"width": 220,
|
|
17
17
|
"height": 240,
|
|
18
|
-
"x":
|
|
19
|
-
"y":
|
|
20
|
-
"percentX":
|
|
21
|
-
"percentY":
|
|
18
|
+
"x": 960,
|
|
19
|
+
"y": 540,
|
|
20
|
+
"percentX": 0.5,
|
|
21
|
+
"percentY": 0.5,
|
|
22
22
|
"rotation": 0,
|
|
23
|
-
"scale":
|
|
23
|
+
"scale": 1.41,
|
|
24
24
|
"zIndex": 1,
|
|
25
25
|
"visible": true,
|
|
26
26
|
"clickable": true,
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"className": "MachineTool",
|
|
34
34
|
"nameplate": "机床1",
|
|
35
35
|
"tags": ["机床"],
|
|
36
|
+
"stationContainerDirection": "vertical",
|
|
36
37
|
"stationSlotGroup": {
|
|
37
38
|
"width": 220,
|
|
38
39
|
"height": 70,
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"height": 50,
|
|
52
53
|
"x": 0,
|
|
53
54
|
"y": 0,
|
|
54
|
-
"rotation":
|
|
55
|
+
"rotation": -90,
|
|
55
56
|
"disabled": false,
|
|
56
57
|
"hittable": true
|
|
57
58
|
},
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"y": 0,
|
|
64
65
|
"width": 50,
|
|
65
66
|
"height": 50,
|
|
66
|
-
"rotation":
|
|
67
|
+
"rotation": -90,
|
|
67
68
|
"hittable": true,
|
|
68
69
|
"disabled": false
|
|
69
70
|
}
|
|
@@ -78,10 +79,10 @@
|
|
|
78
79
|
"equipmentName": "机床",
|
|
79
80
|
"width": 220,
|
|
80
81
|
"height": 240,
|
|
81
|
-
"x":
|
|
82
|
-
"y":
|
|
83
|
-
"percentX":
|
|
84
|
-
"percentY":
|
|
82
|
+
"x": 1810,
|
|
83
|
+
"y": 961,
|
|
84
|
+
"percentX": 0.943,
|
|
85
|
+
"percentY": 0.89,
|
|
85
86
|
"rotation": 0,
|
|
86
87
|
"scale": 1,
|
|
87
88
|
"zIndex": 1,
|
|
@@ -100,10 +101,10 @@
|
|
|
100
101
|
"width": 220,
|
|
101
102
|
"height": 70,
|
|
102
103
|
"flowOptions": {
|
|
103
|
-
"flow": "x",
|
|
104
|
-
"flowWrap": false,
|
|
105
104
|
"oneDirectionMaxQuantity": 2,
|
|
106
|
-
"gap": 5
|
|
105
|
+
"gap": 5,
|
|
106
|
+
"flow": "x",
|
|
107
|
+
"flowWrap": false
|
|
107
108
|
},
|
|
108
109
|
"stationSlots": [
|
|
109
110
|
{
|
|
@@ -117,6 +118,30 @@
|
|
|
117
118
|
"rotation": 0,
|
|
118
119
|
"disabled": false,
|
|
119
120
|
"hittable": true
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"index": 2,
|
|
124
|
+
"resourceType": "Pallet",
|
|
125
|
+
"name": "2",
|
|
126
|
+
"x": 0,
|
|
127
|
+
"y": 0,
|
|
128
|
+
"width": 50,
|
|
129
|
+
"height": 50,
|
|
130
|
+
"rotation": 0,
|
|
131
|
+
"hittable": true,
|
|
132
|
+
"disabled": false
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"index": 3,
|
|
136
|
+
"resourceType": "Pallet",
|
|
137
|
+
"name": "3",
|
|
138
|
+
"x": 0,
|
|
139
|
+
"y": 0,
|
|
140
|
+
"width": 50,
|
|
141
|
+
"height": 50,
|
|
142
|
+
"rotation": 0,
|
|
143
|
+
"hittable": true,
|
|
144
|
+
"disabled": false
|
|
120
145
|
}
|
|
121
146
|
]
|
|
122
147
|
}
|
|
@@ -129,10 +154,10 @@
|
|
|
129
154
|
"equipmentName": "机床",
|
|
130
155
|
"width": 220,
|
|
131
156
|
"height": 240,
|
|
132
|
-
"x":
|
|
133
|
-
"y":
|
|
134
|
-
"percentX": 0,
|
|
135
|
-
"percentY": 0,
|
|
157
|
+
"x": 111,
|
|
158
|
+
"y": 516,
|
|
159
|
+
"percentX": 0.058,
|
|
160
|
+
"percentY": 0.478,
|
|
136
161
|
"rotation": 0,
|
|
137
162
|
"scale": 1,
|
|
138
163
|
"zIndex": 1,
|
|
@@ -143,7 +168,7 @@
|
|
|
143
168
|
"editable": true,
|
|
144
169
|
"selected": false,
|
|
145
170
|
"hittable": true,
|
|
146
|
-
"hitSelf":
|
|
171
|
+
"hitSelf": false,
|
|
147
172
|
"className": "MachineTool",
|
|
148
173
|
"nameplate": "机床3",
|
|
149
174
|
"tags": ["机床"],
|
|
@@ -171,6 +196,65 @@
|
|
|
171
196
|
}
|
|
172
197
|
]
|
|
173
198
|
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"rawData": {
|
|
202
|
+
"id": "6c9b98ab-66dc-48ee-bcb4-d98348ee588b"
|
|
203
|
+
},
|
|
204
|
+
"uuid": "6c9b98ab-66dc-48ee-bcb4-d98348ee588b",
|
|
205
|
+
"equipmentName": "单手夹爪机器人",
|
|
206
|
+
"width": 90,
|
|
207
|
+
"height": 76,
|
|
208
|
+
"x": 405,
|
|
209
|
+
"y": 319,
|
|
210
|
+
"percentX": 0.211,
|
|
211
|
+
"percentY": 0.295,
|
|
212
|
+
"rotation": 0,
|
|
213
|
+
"scale": 2,
|
|
214
|
+
"zIndex": 1,
|
|
215
|
+
"visible": true,
|
|
216
|
+
"clickable": true,
|
|
217
|
+
"menuClickable": true,
|
|
218
|
+
"draggable": false,
|
|
219
|
+
"editable": true,
|
|
220
|
+
"selected": false,
|
|
221
|
+
"hittable": true,
|
|
222
|
+
"hitSelf": true,
|
|
223
|
+
"className": "SingleJointRobot",
|
|
224
|
+
"nameplate": "单手夹爪机器人",
|
|
225
|
+
"tags": ["搬运设备"],
|
|
226
|
+
"currentFixture": "Pallet",
|
|
227
|
+
"linkRailId": "",
|
|
228
|
+
"linkTrailerId": ""
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"rawData": {
|
|
232
|
+
"id": "519093d1-4437-435b-b7c3-b8d4b791680a"
|
|
233
|
+
},
|
|
234
|
+
"uuid": "519093d1-4437-435b-b7c3-b8d4b791680a",
|
|
235
|
+
"equipmentName": "轨道",
|
|
236
|
+
"width": 1920,
|
|
237
|
+
"height": 60,
|
|
238
|
+
"x": 960,
|
|
239
|
+
"y": 540,
|
|
240
|
+
"percentX": 0.5,
|
|
241
|
+
"percentY": 0.5,
|
|
242
|
+
"rotation": 0,
|
|
243
|
+
"scale": 1,
|
|
244
|
+
"zIndex": 1,
|
|
245
|
+
"visible": true,
|
|
246
|
+
"clickable": true,
|
|
247
|
+
"menuClickable": true,
|
|
248
|
+
"draggable": false,
|
|
249
|
+
"editable": true,
|
|
250
|
+
"selected": true,
|
|
251
|
+
"hittable": false,
|
|
252
|
+
"hitSelf": true,
|
|
253
|
+
"className": "Rail",
|
|
254
|
+
"nameplate": "轨道",
|
|
255
|
+
"tags": ["搬运设备"],
|
|
256
|
+
"chainDirection": "left",
|
|
257
|
+
"linkEquipIdArray": ["6c9b98ab-66dc-48ee-bcb4-d98348ee588b"]
|
|
174
258
|
}
|
|
175
259
|
],
|
|
176
260
|
"scene": {
|
|
@@ -214,6 +298,479 @@
|
|
|
214
298
|
},
|
|
215
299
|
"texture": ""
|
|
216
300
|
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"uuid": "c752c992-1308-4731-996a-3aac85ae2793",
|
|
304
|
+
"title": "方案c752c992",
|
|
305
|
+
"isActive": false,
|
|
306
|
+
"layers": [],
|
|
307
|
+
"scene": {
|
|
308
|
+
"width": 1920,
|
|
309
|
+
"height": 1080,
|
|
310
|
+
"zoomType": "fit",
|
|
311
|
+
"fill": {
|
|
312
|
+
"type": "solid",
|
|
313
|
+
"color": "#000",
|
|
314
|
+
"opacity": 1,
|
|
315
|
+
"stops": []
|
|
316
|
+
},
|
|
317
|
+
"texture": ""
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"uuid": "862e7885-f5e9-4720-9e9e-393090857c2d",
|
|
322
|
+
"title": "方案862e7885",
|
|
323
|
+
"isActive": true,
|
|
324
|
+
"layers": [
|
|
325
|
+
{
|
|
326
|
+
"rawData": {
|
|
327
|
+
"id": "61c7bcbe-85d5-4201-866f-db9049933827"
|
|
328
|
+
},
|
|
329
|
+
"uuid": "61c7bcbe-85d5-4201-866f-db9049933827",
|
|
330
|
+
"equipmentName": "机床",
|
|
331
|
+
"width": 220,
|
|
332
|
+
"height": 240,
|
|
333
|
+
"x": 0,
|
|
334
|
+
"y": 0,
|
|
335
|
+
"percentX": 0,
|
|
336
|
+
"percentY": 0,
|
|
337
|
+
"rotation": 0,
|
|
338
|
+
"scale": 1,
|
|
339
|
+
"zIndex": 1,
|
|
340
|
+
"visible": true,
|
|
341
|
+
"clickable": true,
|
|
342
|
+
"menuClickable": true,
|
|
343
|
+
"draggable": false,
|
|
344
|
+
"editable": true,
|
|
345
|
+
"selected": false,
|
|
346
|
+
"hittable": true,
|
|
347
|
+
"hitSelf": true,
|
|
348
|
+
"className": "MachineTool",
|
|
349
|
+
"nameplate": "机床1",
|
|
350
|
+
"tags": ["机床"],
|
|
351
|
+
"stationContainerDirection": "horizontal",
|
|
352
|
+
"stationSlotGroup": {
|
|
353
|
+
"width": 220,
|
|
354
|
+
"height": 70,
|
|
355
|
+
"flowOptions": {
|
|
356
|
+
"flow": "x",
|
|
357
|
+
"flowWrap": false,
|
|
358
|
+
"oneDirectionMaxQuantity": 2,
|
|
359
|
+
"gap": 5
|
|
360
|
+
},
|
|
361
|
+
"stationSlots": [
|
|
362
|
+
{
|
|
363
|
+
"name": "1",
|
|
364
|
+
"index": 1,
|
|
365
|
+
"resourceType": "Pallet",
|
|
366
|
+
"width": 50,
|
|
367
|
+
"height": 50,
|
|
368
|
+
"x": 0,
|
|
369
|
+
"y": 0,
|
|
370
|
+
"rotation": 0,
|
|
371
|
+
"disabled": false,
|
|
372
|
+
"hittable": true
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"rawData": {
|
|
379
|
+
"id": "71207230-e1cf-4423-ac9a-8c701e1d6750"
|
|
380
|
+
},
|
|
381
|
+
"uuid": "71207230-e1cf-4423-ac9a-8c701e1d6750",
|
|
382
|
+
"equipmentName": "机床",
|
|
383
|
+
"width": 220,
|
|
384
|
+
"height": 240,
|
|
385
|
+
"x": 1920,
|
|
386
|
+
"y": 1080,
|
|
387
|
+
"percentX": 1,
|
|
388
|
+
"percentY": 1,
|
|
389
|
+
"rotation": 0,
|
|
390
|
+
"scale": 1,
|
|
391
|
+
"zIndex": 2,
|
|
392
|
+
"visible": true,
|
|
393
|
+
"clickable": true,
|
|
394
|
+
"menuClickable": true,
|
|
395
|
+
"draggable": false,
|
|
396
|
+
"editable": true,
|
|
397
|
+
"selected": false,
|
|
398
|
+
"hittable": true,
|
|
399
|
+
"hitSelf": true,
|
|
400
|
+
"className": "MachineTool",
|
|
401
|
+
"nameplate": "机床2",
|
|
402
|
+
"tags": ["机床"],
|
|
403
|
+
"stationContainerDirection": "horizontal",
|
|
404
|
+
"stationSlotGroup": {
|
|
405
|
+
"width": 220,
|
|
406
|
+
"height": 70,
|
|
407
|
+
"flowOptions": {
|
|
408
|
+
"flow": "x",
|
|
409
|
+
"flowWrap": false,
|
|
410
|
+
"oneDirectionMaxQuantity": 2,
|
|
411
|
+
"gap": 5
|
|
412
|
+
},
|
|
413
|
+
"stationSlots": [
|
|
414
|
+
{
|
|
415
|
+
"name": "1",
|
|
416
|
+
"index": 1,
|
|
417
|
+
"resourceType": "Pallet",
|
|
418
|
+
"width": 50,
|
|
419
|
+
"height": 50,
|
|
420
|
+
"x": 0,
|
|
421
|
+
"y": 0,
|
|
422
|
+
"rotation": 0,
|
|
423
|
+
"disabled": false,
|
|
424
|
+
"hittable": true
|
|
425
|
+
}
|
|
426
|
+
]
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"rawData": {
|
|
431
|
+
"id": "75fb136f-bb81-4348-b53f-b9ba56f1816b"
|
|
432
|
+
},
|
|
433
|
+
"uuid": "75fb136f-bb81-4348-b53f-b9ba56f1816b",
|
|
434
|
+
"equipmentName": "机床",
|
|
435
|
+
"width": 220,
|
|
436
|
+
"height": 260,
|
|
437
|
+
"x": 960,
|
|
438
|
+
"y": 216,
|
|
439
|
+
"percentX": 0.5,
|
|
440
|
+
"percentY": 0.2,
|
|
441
|
+
"rotation": 0,
|
|
442
|
+
"scale": 1,
|
|
443
|
+
"zIndex": 3,
|
|
444
|
+
"visible": true,
|
|
445
|
+
"clickable": true,
|
|
446
|
+
"menuClickable": true,
|
|
447
|
+
"draggable": false,
|
|
448
|
+
"editable": true,
|
|
449
|
+
"selected": false,
|
|
450
|
+
"hittable": true,
|
|
451
|
+
"hitSelf": true,
|
|
452
|
+
"className": "MachineTool",
|
|
453
|
+
"nameplate": "双工位旋转机床",
|
|
454
|
+
"tags": ["机床"],
|
|
455
|
+
"stationContainerDirection": "vertical",
|
|
456
|
+
"stationSlotGroup": {
|
|
457
|
+
"width": 220,
|
|
458
|
+
"height": 70,
|
|
459
|
+
"flowOptions": {
|
|
460
|
+
"oneDirectionMaxQuantity": 1,
|
|
461
|
+
"gap": 5,
|
|
462
|
+
"flow": "x",
|
|
463
|
+
"flowWrap": false
|
|
464
|
+
},
|
|
465
|
+
"stationSlots": [
|
|
466
|
+
{
|
|
467
|
+
"name": "1",
|
|
468
|
+
"index": 1,
|
|
469
|
+
"resourceType": "Pallet",
|
|
470
|
+
"width": 45,
|
|
471
|
+
"height": 45,
|
|
472
|
+
"x": 0,
|
|
473
|
+
"y": 0,
|
|
474
|
+
"rotation": -90,
|
|
475
|
+
"disabled": false,
|
|
476
|
+
"hittable": true
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"index": 2,
|
|
480
|
+
"resourceType": "Pallet",
|
|
481
|
+
"name": "2",
|
|
482
|
+
"x": 0,
|
|
483
|
+
"y": 0,
|
|
484
|
+
"width": 45,
|
|
485
|
+
"height": 45,
|
|
486
|
+
"rotation": -90,
|
|
487
|
+
"hittable": true,
|
|
488
|
+
"disabled": false
|
|
489
|
+
}
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"rawData": {
|
|
495
|
+
"id": "41042dcf-66ef-4e44-9b0a-9a38f55f93bc"
|
|
496
|
+
},
|
|
497
|
+
"uuid": "41042dcf-66ef-4e44-9b0a-9a38f55f93bc",
|
|
498
|
+
"equipmentName": "轨道",
|
|
499
|
+
"width": 1920,
|
|
500
|
+
"height": 100,
|
|
501
|
+
"x": 960,
|
|
502
|
+
"y": 540,
|
|
503
|
+
"percentX": 0.5,
|
|
504
|
+
"percentY": 0.5,
|
|
505
|
+
"rotation": 0,
|
|
506
|
+
"scale": 1,
|
|
507
|
+
"zIndex": 4,
|
|
508
|
+
"visible": true,
|
|
509
|
+
"clickable": true,
|
|
510
|
+
"menuClickable": true,
|
|
511
|
+
"draggable": false,
|
|
512
|
+
"editable": true,
|
|
513
|
+
"selected": false,
|
|
514
|
+
"hittable": false,
|
|
515
|
+
"hitSelf": true,
|
|
516
|
+
"className": "Rail",
|
|
517
|
+
"nameplate": "轨道",
|
|
518
|
+
"tags": ["搬运设备"],
|
|
519
|
+
"chainDirection": "left",
|
|
520
|
+
"linkEquipIdArray": ["b37075e3-25a3-4adf-937d-f9e94d27d917"]
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"rawData": {
|
|
524
|
+
"id": "b37075e3-25a3-4adf-937d-f9e94d27d917"
|
|
525
|
+
},
|
|
526
|
+
"uuid": "b37075e3-25a3-4adf-937d-f9e94d27d917",
|
|
527
|
+
"equipmentName": "单关节机器人",
|
|
528
|
+
"width": 90,
|
|
529
|
+
"height": 76,
|
|
530
|
+
"x": 960,
|
|
531
|
+
"y": 540,
|
|
532
|
+
"percentX": 0.5,
|
|
533
|
+
"percentY": 0.5,
|
|
534
|
+
"rotation": 0,
|
|
535
|
+
"scale": 2,
|
|
536
|
+
"zIndex": 5,
|
|
537
|
+
"visible": true,
|
|
538
|
+
"clickable": true,
|
|
539
|
+
"menuClickable": true,
|
|
540
|
+
"draggable": false,
|
|
541
|
+
"editable": true,
|
|
542
|
+
"selected": false,
|
|
543
|
+
"hittable": true,
|
|
544
|
+
"hitSelf": true,
|
|
545
|
+
"className": "SingleJointRobot",
|
|
546
|
+
"nameplate": "单关节机器人",
|
|
547
|
+
"tags": ["搬运设备"],
|
|
548
|
+
"currentFixture": "Pallet",
|
|
549
|
+
"linkRailId": "",
|
|
550
|
+
"linkTrailerId": ""
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"rawData": {
|
|
554
|
+
"id": "35cd0433-2587-4dce-8e08-13e397b5eb3d"
|
|
555
|
+
},
|
|
556
|
+
"uuid": "35cd0433-2587-4dce-8e08-13e397b5eb3d",
|
|
557
|
+
"equipmentName": "资源库",
|
|
558
|
+
"width": 180,
|
|
559
|
+
"height": 160,
|
|
560
|
+
"x": 1536,
|
|
561
|
+
"y": 216,
|
|
562
|
+
"percentX": 0.8,
|
|
563
|
+
"percentY": 0.2,
|
|
564
|
+
"rotation": 0,
|
|
565
|
+
"scale": 1,
|
|
566
|
+
"zIndex": 6,
|
|
567
|
+
"visible": true,
|
|
568
|
+
"clickable": true,
|
|
569
|
+
"menuClickable": true,
|
|
570
|
+
"draggable": false,
|
|
571
|
+
"editable": true,
|
|
572
|
+
"selected": false,
|
|
573
|
+
"hittable": true,
|
|
574
|
+
"hitSelf": true,
|
|
575
|
+
"className": "ResourceStore",
|
|
576
|
+
"nameplate": "料库",
|
|
577
|
+
"tags": ["库"],
|
|
578
|
+
"stationSlotGroup": {
|
|
579
|
+
"width": 220,
|
|
580
|
+
"height": 60,
|
|
581
|
+
"flowOptions": {
|
|
582
|
+
"oneDirectionMaxQuantity": 3,
|
|
583
|
+
"gap": 6,
|
|
584
|
+
"flow": "x",
|
|
585
|
+
"flowWrap": true
|
|
586
|
+
},
|
|
587
|
+
"stationSlots": [
|
|
588
|
+
{
|
|
589
|
+
"name": "1",
|
|
590
|
+
"index": 1,
|
|
591
|
+
"resourceType": "Pallet",
|
|
592
|
+
"width": 42,
|
|
593
|
+
"height": 42,
|
|
594
|
+
"x": 0,
|
|
595
|
+
"y": 0,
|
|
596
|
+
"rotation": 0,
|
|
597
|
+
"disabled": false,
|
|
598
|
+
"hittable": true
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "2",
|
|
602
|
+
"index": 2,
|
|
603
|
+
"resourceType": "Pallet",
|
|
604
|
+
"width": 42,
|
|
605
|
+
"height": 42,
|
|
606
|
+
"x": 0,
|
|
607
|
+
"y": 0,
|
|
608
|
+
"rotation": 0,
|
|
609
|
+
"disabled": false,
|
|
610
|
+
"hittable": true
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "3",
|
|
614
|
+
"index": 3,
|
|
615
|
+
"resourceType": "Pallet",
|
|
616
|
+
"width": 42,
|
|
617
|
+
"height": 42,
|
|
618
|
+
"x": 0,
|
|
619
|
+
"y": 0,
|
|
620
|
+
"rotation": 0,
|
|
621
|
+
"disabled": false,
|
|
622
|
+
"hittable": true
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "4",
|
|
626
|
+
"index": 4,
|
|
627
|
+
"resourceType": "Pallet",
|
|
628
|
+
"width": 42,
|
|
629
|
+
"height": 42,
|
|
630
|
+
"x": 0,
|
|
631
|
+
"y": 0,
|
|
632
|
+
"rotation": 0,
|
|
633
|
+
"disabled": false,
|
|
634
|
+
"hittable": true
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"index": 5,
|
|
638
|
+
"resourceType": "Pallet",
|
|
639
|
+
"name": "5",
|
|
640
|
+
"x": 0,
|
|
641
|
+
"y": 0,
|
|
642
|
+
"width": 42,
|
|
643
|
+
"height": 42,
|
|
644
|
+
"rotation": 0,
|
|
645
|
+
"hittable": true,
|
|
646
|
+
"disabled": false
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"index": 6,
|
|
650
|
+
"resourceType": "Pallet",
|
|
651
|
+
"name": "6",
|
|
652
|
+
"x": 0,
|
|
653
|
+
"y": 0,
|
|
654
|
+
"width": 42,
|
|
655
|
+
"height": 42,
|
|
656
|
+
"rotation": 0,
|
|
657
|
+
"hittable": true,
|
|
658
|
+
"disabled": false
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"rawData": {
|
|
665
|
+
"id": "67b6d42e-c8b0-4a4f-ab93-bd60a3d80612"
|
|
666
|
+
},
|
|
667
|
+
"uuid": "67b6d42e-c8b0-4a4f-ab93-bd60a3d80612",
|
|
668
|
+
"equipmentName": "资源库",
|
|
669
|
+
"width": 260,
|
|
670
|
+
"height": 180,
|
|
671
|
+
"x": 384,
|
|
672
|
+
"y": 216,
|
|
673
|
+
"percentX": 0.2,
|
|
674
|
+
"percentY": 0.2,
|
|
675
|
+
"rotation": 0,
|
|
676
|
+
"scale": 1,
|
|
677
|
+
"zIndex": 7,
|
|
678
|
+
"visible": true,
|
|
679
|
+
"clickable": true,
|
|
680
|
+
"menuClickable": true,
|
|
681
|
+
"draggable": false,
|
|
682
|
+
"editable": true,
|
|
683
|
+
"selected": false,
|
|
684
|
+
"hittable": true,
|
|
685
|
+
"hitSelf": true,
|
|
686
|
+
"className": "ResourceStore",
|
|
687
|
+
"nameplate": "刀库",
|
|
688
|
+
"tags": ["库"],
|
|
689
|
+
"stationSlotGroup": {
|
|
690
|
+
"width": 220,
|
|
691
|
+
"height": 60,
|
|
692
|
+
"flowOptions": {
|
|
693
|
+
"oneDirectionMaxQuantity": 4,
|
|
694
|
+
"gap": 6,
|
|
695
|
+
"flow": "x",
|
|
696
|
+
"flowWrap": false
|
|
697
|
+
},
|
|
698
|
+
"stationSlots": [
|
|
699
|
+
{
|
|
700
|
+
"name": "1",
|
|
701
|
+
"index": 1,
|
|
702
|
+
"resourceType": "Tool",
|
|
703
|
+
"width": 42,
|
|
704
|
+
"height": 42,
|
|
705
|
+
"x": 0,
|
|
706
|
+
"y": 0,
|
|
707
|
+
"rotation": 0,
|
|
708
|
+
"disabled": false,
|
|
709
|
+
"hittable": true
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "2",
|
|
713
|
+
"index": 2,
|
|
714
|
+
"resourceType": "Tool",
|
|
715
|
+
"width": 42,
|
|
716
|
+
"height": 42,
|
|
717
|
+
"x": 0,
|
|
718
|
+
"y": 0,
|
|
719
|
+
"rotation": 0,
|
|
720
|
+
"disabled": false,
|
|
721
|
+
"hittable": true
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "3",
|
|
725
|
+
"index": 3,
|
|
726
|
+
"resourceType": "Tool",
|
|
727
|
+
"width": 42,
|
|
728
|
+
"height": 42,
|
|
729
|
+
"x": 0,
|
|
730
|
+
"y": 0,
|
|
731
|
+
"rotation": 0,
|
|
732
|
+
"disabled": false,
|
|
733
|
+
"hittable": true
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "4",
|
|
737
|
+
"index": 4,
|
|
738
|
+
"resourceType": "Tool",
|
|
739
|
+
"width": 42,
|
|
740
|
+
"height": 42,
|
|
741
|
+
"x": 0,
|
|
742
|
+
"y": 0,
|
|
743
|
+
"rotation": 0,
|
|
744
|
+
"disabled": false,
|
|
745
|
+
"hittable": true
|
|
746
|
+
}
|
|
747
|
+
]
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
],
|
|
751
|
+
"scene": {
|
|
752
|
+
"width": 1920,
|
|
753
|
+
"height": 1080,
|
|
754
|
+
"zoomType": "fit",
|
|
755
|
+
"fill": {
|
|
756
|
+
"type": "linear",
|
|
757
|
+
"color": "#000",
|
|
758
|
+
"opacity": 1,
|
|
759
|
+
"stops": [
|
|
760
|
+
{
|
|
761
|
+
"offset": 0,
|
|
762
|
+
"color": "rgb(0, 152, 102)"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"offset": 1,
|
|
766
|
+
"color": "rgb(20, 94, 70)"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"from": "top-left",
|
|
770
|
+
"to": "bottom-right"
|
|
771
|
+
},
|
|
772
|
+
"texture": ""
|
|
773
|
+
}
|
|
217
774
|
}
|
|
218
775
|
]
|
|
219
776
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const i18n: import(
|
|
1
|
+
declare const i18n: import('vue-i18n').I18n<{}, {}, {}, string, false>;
|
|
2
2
|
export default i18n;
|
package/dist/locales/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import zhCn from './zhCn';
|
|
2
|
-
import en from './en';
|
|
1
|
+
import { default as zhCn } from './zhCn';
|
|
2
|
+
import { default as en } from './en';
|
|
3
3
|
export { zhCn, en };
|
package/dist/locales/index.js
CHANGED