@kengic/vue 0.30.1-beta.34 → 0.30.1-beta.36
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/index.css +1 -1
- package/dist/kengic-vue.js +35201 -34775
- package/dist/pause-rounded.1ed7cc39.mjs +8 -0
- package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +28 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +9 -4
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +32 -16
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +18 -4
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +301 -177
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +77 -43
- package/dist/src/const/const.model.d.ts +32 -8
- package/package.json +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Title.d.ts +0 -11
|
@@ -76,46 +76,73 @@ export declare class Agent {
|
|
|
76
76
|
z?: number | null;
|
|
77
77
|
constructor(obj?: Agent);
|
|
78
78
|
}
|
|
79
|
+
/** RGV代理实体。
|
|
80
|
+
* 从PLC下发命令执行动作的都算Agent。动作包括不限于移动,转弯、加速、减速等. */
|
|
79
81
|
export declare class AgentDto {
|
|
80
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* 当前加速度.单位m/s^2.
|
|
84
|
+
* <p>
|
|
85
|
+
* 加速时为正值,减速时为负值。匀速运行时为0
|
|
86
|
+
* 此为固定值,暂不支持动态加速度。
|
|
87
|
+
* </p>.
|
|
88
|
+
*/
|
|
81
89
|
acceleration?: number | null;
|
|
82
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* 角度(朝向).单位度.
|
|
92
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
93
|
+
*/
|
|
83
94
|
angle?: number | null;
|
|
84
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* 刹车的加速度. 注意该值应该为负值。单位m/s^2.
|
|
97
|
+
* <p>
|
|
98
|
+
* 此为固定值,暂不支持动态加速度。
|
|
99
|
+
* </p>.
|
|
100
|
+
*/
|
|
85
101
|
brakingAcceleration?: number | null;
|
|
86
|
-
/**
|
|
102
|
+
/** 代理编码. */
|
|
87
103
|
code?: string | null;
|
|
88
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* 通信时延.单位s.
|
|
106
|
+
* 该变量CommunicationDelay和当前速度Velocity还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
107
|
+
* <p>
|
|
108
|
+
* 从Agent更新速度和当前加速度,到获取该信息,一直到Agent接收到变更信息之间的通信延迟。可适当调大以充当余量。
|
|
109
|
+
* </p>.
|
|
110
|
+
*/
|
|
89
111
|
communicationDelay?: number | null;
|
|
90
|
-
/**
|
|
112
|
+
/** 代理描述. */
|
|
91
113
|
description?: string | null;
|
|
92
|
-
/**
|
|
114
|
+
/** 最终的目标任务Id. */
|
|
93
115
|
destinationTaskId?: string | null;
|
|
94
|
-
/**
|
|
116
|
+
/** Agent高度,对应Z轴. */
|
|
95
117
|
height?: number | null;
|
|
96
|
-
/**
|
|
118
|
+
/** 代理唯一标识符(主键). */
|
|
97
119
|
id?: string | null;
|
|
98
|
-
/**
|
|
120
|
+
/** 是否可用,可能因为故障而去修理,这时状态为不可用,Agent不在边上. */
|
|
99
121
|
isAvailable?: boolean | null;
|
|
100
|
-
/**
|
|
122
|
+
/** Agent长度,对应Y轴. */
|
|
101
123
|
length?: number | null;
|
|
102
|
-
/**
|
|
124
|
+
/** 最大速度.单位m/s. */
|
|
103
125
|
maxVelocity?: number | null;
|
|
126
|
+
/** 所属场景ID. */
|
|
127
|
+
sceneId?: string | null;
|
|
104
128
|
/** Status. */
|
|
105
129
|
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
106
130
|
/** Target Change Reason. */
|
|
107
131
|
targetChangeReason?: 0 | 1 | 2 | 3 | null;
|
|
108
132
|
/** Type. */
|
|
109
133
|
type?: 0 | 1 | 2 | null;
|
|
110
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* 当前速度.单位m/s.
|
|
136
|
+
* 该变量Velocity和通信时延CommunicationDelay还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
137
|
+
*/
|
|
111
138
|
velocity?: number | null;
|
|
112
|
-
/**
|
|
139
|
+
/** Agent宽度,对应X轴. */
|
|
113
140
|
width?: number | null;
|
|
114
|
-
/** X. */
|
|
141
|
+
/** 坐标X. */
|
|
115
142
|
x?: number | null;
|
|
116
|
-
/** Y. */
|
|
143
|
+
/** 坐标Y. */
|
|
117
144
|
y?: number | null;
|
|
118
|
-
/** Z. */
|
|
145
|
+
/** 坐标Z. */
|
|
119
146
|
z?: number | null;
|
|
120
147
|
constructor(obj?: AgentDto);
|
|
121
148
|
}
|
|
@@ -189,41 +216,62 @@ export declare class AgentTask {
|
|
|
189
216
|
z?: number | null;
|
|
190
217
|
constructor(obj?: AgentTask);
|
|
191
218
|
}
|
|
219
|
+
/** 代理任务实体. */
|
|
192
220
|
export declare class AgentTaskDto {
|
|
193
221
|
/** Agent Task Type. */
|
|
194
222
|
agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
195
|
-
/**
|
|
223
|
+
/**
|
|
224
|
+
* 角度(朝向).单位度.
|
|
225
|
+
* 0度表示向右(正X方向),90度表示向上(正Y方向),以此类推.
|
|
226
|
+
*/
|
|
196
227
|
angle?: number | null;
|
|
197
|
-
/**
|
|
228
|
+
/** 任务编码. */
|
|
198
229
|
code?: string | null;
|
|
199
|
-
/**
|
|
230
|
+
/** 任务描述. */
|
|
200
231
|
description?: string | null;
|
|
201
|
-
/**
|
|
232
|
+
/** 边绘制的高度,对应Z轴. */
|
|
202
233
|
height?: number | null;
|
|
203
|
-
/**
|
|
234
|
+
/** 任务唯一标识符(主键). */
|
|
204
235
|
id?: string | null;
|
|
205
|
-
/**
|
|
236
|
+
/** 边绘制的长度,对应Y轴. */
|
|
206
237
|
length?: number | null;
|
|
207
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* 任务序号.
|
|
240
|
+
* 当任务优先级一样时,通过该字段按序执行任务.
|
|
241
|
+
* 建议使用Date.UtcNow.Ticks.
|
|
242
|
+
*/
|
|
208
243
|
order?: number | null;
|
|
209
244
|
/** Priority. */
|
|
210
245
|
priority?: 1 | 2 | 3 | null;
|
|
211
|
-
/**
|
|
246
|
+
/** 所属场景ID. */
|
|
247
|
+
sceneId?: string | null;
|
|
248
|
+
/** 任务的目标站点Id. */
|
|
212
249
|
sourceStationId?: string | null;
|
|
213
250
|
/** Status. */
|
|
214
251
|
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
215
|
-
/**
|
|
252
|
+
/** 任务的目标站点Id. */
|
|
216
253
|
targetStationId?: string | null;
|
|
217
|
-
/**
|
|
254
|
+
/** 边绘制的宽度,对应X轴. */
|
|
218
255
|
width?: number | null;
|
|
219
|
-
/** X. */
|
|
256
|
+
/** 坐标X. */
|
|
220
257
|
x?: number | null;
|
|
221
|
-
/** Y. */
|
|
258
|
+
/** 坐标Y. */
|
|
222
259
|
y?: number | null;
|
|
223
|
-
/** Z. */
|
|
260
|
+
/** 坐标Z. */
|
|
224
261
|
z?: number | null;
|
|
225
262
|
constructor(obj?: AgentTaskDto);
|
|
226
263
|
}
|
|
264
|
+
export declare class CreateAgentIfAbsentAndDispatchTaskRequest {
|
|
265
|
+
/** Agent编码. */
|
|
266
|
+
agentCode?: string | null;
|
|
267
|
+
/** 场景编码. */
|
|
268
|
+
sceneId?: string | null;
|
|
269
|
+
/** 源站点编码:Agent当前所在站点编码. */
|
|
270
|
+
sourceStationCode?: string | null;
|
|
271
|
+
/** 目标站点编码:Agent要前往的目标站点编码. */
|
|
272
|
+
targetStationCode?: string | null;
|
|
273
|
+
constructor(obj?: CreateAgentIfAbsentAndDispatchTaskRequest);
|
|
274
|
+
}
|
|
227
275
|
export declare class CreateAgentRequest {
|
|
228
276
|
/** Angle. */
|
|
229
277
|
angle?: number | null;
|
|
@@ -233,8 +281,6 @@ export declare class CreateAgentRequest {
|
|
|
233
281
|
destinationTaskId?: string | null;
|
|
234
282
|
/** Scene Id. */
|
|
235
283
|
sceneId?: string | null;
|
|
236
|
-
/** Station Id. */
|
|
237
|
-
stationId?: string | null;
|
|
238
284
|
/** X. */
|
|
239
285
|
x?: number | null;
|
|
240
286
|
/** Y. */
|
|
@@ -245,6 +291,8 @@ export declare class CreateAgentRequest {
|
|
|
245
291
|
}
|
|
246
292
|
/** 创建场景请求. */
|
|
247
293
|
export declare class CreateSceneRequest {
|
|
294
|
+
/** Code. */
|
|
295
|
+
code?: string | null;
|
|
248
296
|
/** Depth. */
|
|
249
297
|
depth?: number | null;
|
|
250
298
|
/** Description. */
|
|
@@ -286,10 +334,6 @@ export declare class Creator {
|
|
|
286
334
|
scene?: Scene | null;
|
|
287
335
|
/** 所属场景ID. */
|
|
288
336
|
sceneId?: string | null;
|
|
289
|
-
/** Station. */
|
|
290
|
-
station?: Station | null;
|
|
291
|
-
/** 所属站点Id. */
|
|
292
|
-
stationId?: string | null;
|
|
293
337
|
/** 更新时间. */
|
|
294
338
|
updatedAt?: string | null;
|
|
295
339
|
/** 创建者宽度,对应X轴. */
|
|
@@ -302,32 +346,38 @@ export declare class Creator {
|
|
|
302
346
|
z?: number | null;
|
|
303
347
|
constructor(obj?: Creator);
|
|
304
348
|
}
|
|
349
|
+
/** 创建者. */
|
|
305
350
|
export declare class CreatorDto {
|
|
306
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* 角度(朝向).单位度.
|
|
353
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
354
|
+
*/
|
|
307
355
|
angle?: number | null;
|
|
308
|
-
/**
|
|
356
|
+
/** 创建者编码. */
|
|
309
357
|
code?: string | null;
|
|
310
|
-
/**
|
|
358
|
+
/** 创建者描述. */
|
|
311
359
|
description?: string | null;
|
|
312
|
-
/**
|
|
360
|
+
/** 创建者高度,对应Z轴. */
|
|
313
361
|
height?: number | null;
|
|
314
|
-
/**
|
|
362
|
+
/** 创建者唯一标识符(主键). */
|
|
315
363
|
id?: string | null;
|
|
316
|
-
/**
|
|
364
|
+
/** 创建间隔,单位毫秒. */
|
|
317
365
|
interval?: number | null;
|
|
318
|
-
/**
|
|
366
|
+
/** 创建者是否启用. */
|
|
319
367
|
isEnable?: boolean | null;
|
|
320
|
-
/**
|
|
368
|
+
/** 创建者长度,对应Y轴. */
|
|
321
369
|
length?: number | null;
|
|
322
|
-
/**
|
|
370
|
+
/** 所属场景ID. */
|
|
371
|
+
sceneId?: string | null;
|
|
372
|
+
/** 所属站点Id. */
|
|
323
373
|
stationId?: string | null;
|
|
324
|
-
/**
|
|
374
|
+
/** 创建者宽度,对应X轴. */
|
|
325
375
|
width?: number | null;
|
|
326
|
-
/** X. */
|
|
376
|
+
/** 坐标X. */
|
|
327
377
|
x?: number | null;
|
|
328
|
-
/** Y. */
|
|
378
|
+
/** 坐标Y. */
|
|
329
379
|
y?: number | null;
|
|
330
|
-
/** Z. */
|
|
380
|
+
/** 坐标Z. */
|
|
331
381
|
z?: number | null;
|
|
332
382
|
constructor(obj?: CreatorDto);
|
|
333
383
|
}
|
|
@@ -364,10 +414,6 @@ export declare class Destroyer {
|
|
|
364
414
|
scene?: Scene | null;
|
|
365
415
|
/** 所属场景ID. */
|
|
366
416
|
sceneId?: string | null;
|
|
367
|
-
/** Station. */
|
|
368
|
-
station?: Station | null;
|
|
369
|
-
/** 所属站点Id. */
|
|
370
|
-
stationId?: string | null;
|
|
371
417
|
/** 更新时间. */
|
|
372
418
|
updatedAt?: string | null;
|
|
373
419
|
/** 销毁者宽度,对应X轴. */
|
|
@@ -381,31 +427,36 @@ export declare class Destroyer {
|
|
|
381
427
|
constructor(obj?: Destroyer);
|
|
382
428
|
}
|
|
383
429
|
export declare class DestroyerDto {
|
|
384
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* 角度(朝向).单位度.
|
|
432
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
433
|
+
*/
|
|
385
434
|
angle?: number | null;
|
|
386
|
-
/**
|
|
435
|
+
/** 销毁者编码. */
|
|
387
436
|
code?: string | null;
|
|
388
|
-
/**
|
|
437
|
+
/** 销毁者描述. */
|
|
389
438
|
description?: string | null;
|
|
390
|
-
/**
|
|
439
|
+
/** 销毁者高度,对应Z轴. */
|
|
391
440
|
height?: number | null;
|
|
392
|
-
/**
|
|
441
|
+
/** 销毁者唯一标识符(主键). */
|
|
393
442
|
id?: string | null;
|
|
394
|
-
/**
|
|
443
|
+
/** 销毁间隔,单位毫秒. */
|
|
395
444
|
interval?: number | null;
|
|
396
|
-
/**
|
|
445
|
+
/** 销毁者是否启用. */
|
|
397
446
|
isEnable?: boolean | null;
|
|
398
|
-
/**
|
|
447
|
+
/** 销毁者长度,对应Y轴. */
|
|
399
448
|
length?: number | null;
|
|
400
|
-
/**
|
|
449
|
+
/** 所属场景ID. */
|
|
450
|
+
sceneId?: string | null;
|
|
451
|
+
/** 所属站点Id. */
|
|
401
452
|
stationId?: string | null;
|
|
402
|
-
/**
|
|
453
|
+
/** 销毁者宽度,对应X轴. */
|
|
403
454
|
width?: number | null;
|
|
404
|
-
/** X. */
|
|
455
|
+
/** 坐标X. */
|
|
405
456
|
x?: number | null;
|
|
406
|
-
/** Y. */
|
|
457
|
+
/** 坐标Y. */
|
|
407
458
|
y?: number | null;
|
|
408
|
-
/** Z. */
|
|
459
|
+
/** 坐标Z. */
|
|
409
460
|
z?: number | null;
|
|
410
461
|
constructor(obj?: DestroyerDto);
|
|
411
462
|
}
|
|
@@ -453,34 +504,41 @@ export declare class Edge {
|
|
|
453
504
|
z?: number | null;
|
|
454
505
|
constructor(obj?: Edge);
|
|
455
506
|
}
|
|
507
|
+
/** 输送线段实体. */
|
|
456
508
|
export declare class EdgeDto {
|
|
457
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* 角度(朝向).单位度.
|
|
511
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
512
|
+
* 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
|
|
513
|
+
*/
|
|
458
514
|
angle?: number | null;
|
|
459
|
-
/**
|
|
515
|
+
/** 线段编码. */
|
|
460
516
|
code?: string | null;
|
|
461
|
-
/**
|
|
517
|
+
/** 线段描述. */
|
|
462
518
|
description?: string | null;
|
|
463
|
-
/**
|
|
519
|
+
/** 边绘制的高度,对应Z轴. */
|
|
464
520
|
height?: number | null;
|
|
465
|
-
/**
|
|
521
|
+
/** 线段唯一标识符(主键). */
|
|
466
522
|
id?: string | null;
|
|
467
|
-
/**
|
|
523
|
+
/** 是否主线, 否则支线. */
|
|
468
524
|
isPrimary?: boolean | null;
|
|
469
|
-
/**
|
|
525
|
+
/** 边绘制的长度,对应Y轴. */
|
|
470
526
|
length?: number | null;
|
|
471
|
-
/**
|
|
527
|
+
/** 所属场景ID. */
|
|
528
|
+
sceneId?: string | null;
|
|
529
|
+
/** 起始位置. */
|
|
472
530
|
source?: string | null;
|
|
473
|
-
/**
|
|
531
|
+
/** 结束位置. */
|
|
474
532
|
target?: string | null;
|
|
475
533
|
/** Type. */
|
|
476
534
|
type?: 0 | 1 | null;
|
|
477
|
-
/**
|
|
535
|
+
/** 边绘制的宽度,对应X轴. */
|
|
478
536
|
width?: number | null;
|
|
479
|
-
/** X. */
|
|
537
|
+
/** 坐标X. */
|
|
480
538
|
x?: number | null;
|
|
481
|
-
/** Y. */
|
|
539
|
+
/** 坐标Y. */
|
|
482
540
|
y?: number | null;
|
|
483
|
-
/** Z. */
|
|
541
|
+
/** 坐标Z. */
|
|
484
542
|
z?: number | null;
|
|
485
543
|
constructor(obj?: EdgeDto);
|
|
486
544
|
}
|
|
@@ -508,10 +566,6 @@ export declare class JackUpTransferStation {
|
|
|
508
566
|
createdAt?: string | null;
|
|
509
567
|
/** 顶升移载输送机描述. */
|
|
510
568
|
description?: string | null;
|
|
511
|
-
/** Edge. */
|
|
512
|
-
edge?: Edge | null;
|
|
513
|
-
/** 站点所属边. */
|
|
514
|
-
edgeId?: string | null;
|
|
515
569
|
/** 设备高度,对应Z轴. */
|
|
516
570
|
height?: number | null;
|
|
517
571
|
/** 站点唯一标识符(主键). */
|
|
@@ -542,36 +596,42 @@ export declare class JackUpTransferStation {
|
|
|
542
596
|
z?: number | null;
|
|
543
597
|
constructor(obj?: JackUpTransferStation);
|
|
544
598
|
}
|
|
599
|
+
/** 顶升移载输送机实体. */
|
|
545
600
|
export declare class JackUpTransferStationDto {
|
|
546
|
-
/**
|
|
601
|
+
/**
|
|
602
|
+
* 角度(朝向).单位度.
|
|
603
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
604
|
+
*/
|
|
547
605
|
angle?: number | null;
|
|
548
|
-
/**
|
|
606
|
+
/** 站点编码. */
|
|
549
607
|
code?: string | null;
|
|
550
|
-
/**
|
|
608
|
+
/** 顶升移载输送机描述. */
|
|
551
609
|
description?: string | null;
|
|
552
|
-
/**
|
|
610
|
+
/** 站点所属边. */
|
|
553
611
|
edgeId?: string | null;
|
|
554
|
-
/**
|
|
612
|
+
/** 设备高度,对应Z轴. */
|
|
555
613
|
height?: number | null;
|
|
556
|
-
/**
|
|
614
|
+
/** 站点唯一标识符(主键). */
|
|
557
615
|
id?: string | null;
|
|
558
|
-
/**
|
|
616
|
+
/** 设备长度,对应Y轴. */
|
|
559
617
|
length?: number | null;
|
|
560
618
|
/** Priority. */
|
|
561
619
|
priority?: 0 | 1 | 2 | null;
|
|
562
|
-
/**
|
|
620
|
+
/** 所属场景ID. */
|
|
621
|
+
sceneId?: string | null;
|
|
622
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
563
623
|
startOffset?: number | null;
|
|
564
624
|
/** Status. */
|
|
565
625
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
566
626
|
/** Type. */
|
|
567
627
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
568
|
-
/**
|
|
628
|
+
/** 设备宽度,对应X轴. */
|
|
569
629
|
width?: number | null;
|
|
570
|
-
/** X. */
|
|
630
|
+
/** 坐标X. */
|
|
571
631
|
x?: number | null;
|
|
572
|
-
/** Y. */
|
|
632
|
+
/** 坐标Y. */
|
|
573
633
|
y?: number | null;
|
|
574
|
-
/** Z. */
|
|
634
|
+
/** 坐标Z. */
|
|
575
635
|
z?: number | null;
|
|
576
636
|
constructor(obj?: JackUpTransferStationDto);
|
|
577
637
|
}
|
|
@@ -596,10 +656,6 @@ export declare class PalletStackerStation {
|
|
|
596
656
|
createdAt?: string | null;
|
|
597
657
|
/** 叠盘机描述. */
|
|
598
658
|
description?: string | null;
|
|
599
|
-
/** Edge. */
|
|
600
|
-
edge?: Edge | null;
|
|
601
|
-
/** 站点所属边. */
|
|
602
|
-
edgeId?: string | null;
|
|
603
659
|
/** 设备高度,对应Z轴. */
|
|
604
660
|
height?: number | null;
|
|
605
661
|
/** 站点唯一标识符(主键). */
|
|
@@ -630,36 +686,42 @@ export declare class PalletStackerStation {
|
|
|
630
686
|
z?: number | null;
|
|
631
687
|
constructor(obj?: PalletStackerStation);
|
|
632
688
|
}
|
|
689
|
+
/** 叠盘机实体. */
|
|
633
690
|
export declare class PalletStackerStationDto {
|
|
634
|
-
/**
|
|
691
|
+
/**
|
|
692
|
+
* 角度(朝向).单位度.
|
|
693
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
694
|
+
*/
|
|
635
695
|
angle?: number | null;
|
|
636
|
-
/**
|
|
696
|
+
/** 站点编码. */
|
|
637
697
|
code?: string | null;
|
|
638
|
-
/**
|
|
698
|
+
/** 顶升移载输送机描述. */
|
|
639
699
|
description?: string | null;
|
|
640
|
-
/**
|
|
700
|
+
/** 站点所属边. */
|
|
641
701
|
edgeId?: string | null;
|
|
642
|
-
/**
|
|
702
|
+
/** 设备高度,对应Z轴. */
|
|
643
703
|
height?: number | null;
|
|
644
|
-
/**
|
|
704
|
+
/** 站点唯一标识符(主键). */
|
|
645
705
|
id?: string | null;
|
|
646
|
-
/**
|
|
706
|
+
/** 设备长度,对应Y轴. */
|
|
647
707
|
length?: number | null;
|
|
648
708
|
/** Priority. */
|
|
649
709
|
priority?: 0 | 1 | 2 | null;
|
|
650
|
-
/**
|
|
710
|
+
/** 所属场景ID. */
|
|
711
|
+
sceneId?: string | null;
|
|
712
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
651
713
|
startOffset?: number | null;
|
|
652
714
|
/** Status. */
|
|
653
715
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
654
716
|
/** Type. */
|
|
655
717
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
656
|
-
/**
|
|
718
|
+
/** 设备宽度,对应X轴. */
|
|
657
719
|
width?: number | null;
|
|
658
|
-
/** X. */
|
|
720
|
+
/** 坐标X. */
|
|
659
721
|
x?: number | null;
|
|
660
|
-
/** Y. */
|
|
722
|
+
/** 坐标Y. */
|
|
661
723
|
y?: number | null;
|
|
662
|
-
/** Z. */
|
|
724
|
+
/** 坐标Z. */
|
|
663
725
|
z?: number | null;
|
|
664
726
|
constructor(obj?: PalletStackerStationDto);
|
|
665
727
|
}
|
|
@@ -676,10 +738,6 @@ export declare class PhotoelectricSensor {
|
|
|
676
738
|
createdAt?: string | null;
|
|
677
739
|
/** 光电传感器描述. */
|
|
678
740
|
description?: string | null;
|
|
679
|
-
/** Edge. */
|
|
680
|
-
edge?: Edge | null;
|
|
681
|
-
/** 站点所属边. */
|
|
682
|
-
edgeId?: string | null;
|
|
683
741
|
/** 设备高度,对应Z轴. */
|
|
684
742
|
height?: number | null;
|
|
685
743
|
/** 站点唯一标识符(主键). */
|
|
@@ -710,36 +768,42 @@ export declare class PhotoelectricSensor {
|
|
|
710
768
|
z?: number | null;
|
|
711
769
|
constructor(obj?: PhotoelectricSensor);
|
|
712
770
|
}
|
|
771
|
+
/** 光电传感器实体. */
|
|
713
772
|
export declare class PhotoelectricSensorDto {
|
|
714
|
-
/**
|
|
773
|
+
/**
|
|
774
|
+
* 角度(朝向).单位度.
|
|
775
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
776
|
+
*/
|
|
715
777
|
angle?: number | null;
|
|
716
|
-
/**
|
|
778
|
+
/** 站点编码. */
|
|
717
779
|
code?: string | null;
|
|
718
|
-
/**
|
|
780
|
+
/** 顶升移载输送机描述. */
|
|
719
781
|
description?: string | null;
|
|
720
|
-
/**
|
|
782
|
+
/** 站点所属边. */
|
|
721
783
|
edgeId?: string | null;
|
|
722
|
-
/**
|
|
784
|
+
/** 设备高度,对应Z轴. */
|
|
723
785
|
height?: number | null;
|
|
724
|
-
/**
|
|
786
|
+
/** 站点唯一标识符(主键). */
|
|
725
787
|
id?: string | null;
|
|
726
|
-
/**
|
|
788
|
+
/** 设备长度,对应Y轴. */
|
|
727
789
|
length?: number | null;
|
|
728
790
|
/** Priority. */
|
|
729
791
|
priority?: 0 | 1 | 2 | null;
|
|
730
|
-
/**
|
|
792
|
+
/** 所属场景ID. */
|
|
793
|
+
sceneId?: string | null;
|
|
794
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
731
795
|
startOffset?: number | null;
|
|
732
796
|
/** Status. */
|
|
733
797
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
734
798
|
/** Type. */
|
|
735
799
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
736
|
-
/**
|
|
800
|
+
/** 设备宽度,对应X轴. */
|
|
737
801
|
width?: number | null;
|
|
738
|
-
/** X. */
|
|
802
|
+
/** 坐标X. */
|
|
739
803
|
x?: number | null;
|
|
740
|
-
/** Y. */
|
|
804
|
+
/** 坐标Y. */
|
|
741
805
|
y?: number | null;
|
|
742
|
-
/** Z. */
|
|
806
|
+
/** 坐标Z. */
|
|
743
807
|
z?: number | null;
|
|
744
808
|
constructor(obj?: PhotoelectricSensorDto);
|
|
745
809
|
}
|
|
@@ -813,48 +877,51 @@ export declare class Scene {
|
|
|
813
877
|
width?: number | null;
|
|
814
878
|
constructor(obj?: Scene);
|
|
815
879
|
}
|
|
880
|
+
/** 场景实体. */
|
|
816
881
|
export declare class SceneDto {
|
|
817
|
-
/**
|
|
882
|
+
/** 场景中的代理. */
|
|
818
883
|
agents?: Array<AgentDto> | null;
|
|
819
|
-
/**
|
|
884
|
+
/** 场景编码. */
|
|
820
885
|
code?: string | null;
|
|
821
|
-
/**
|
|
886
|
+
/** 配置JSON. */
|
|
822
887
|
configurationJson?: string | null;
|
|
823
|
-
/**
|
|
888
|
+
/** 场景中的创建者. */
|
|
824
889
|
creators?: Array<CreatorDto> | null;
|
|
825
|
-
/**
|
|
890
|
+
/** 场景深度. */
|
|
826
891
|
depth?: number | null;
|
|
827
|
-
/**
|
|
892
|
+
/** 场景描述. */
|
|
828
893
|
description?: string | null;
|
|
829
|
-
/**
|
|
894
|
+
/** 场景中的销毁者. */
|
|
830
895
|
destroyers?: Array<DestroyerDto> | null;
|
|
831
|
-
/**
|
|
896
|
+
/** 场景中的输送线段. */
|
|
832
897
|
edges?: Array<EdgeDto> | null;
|
|
833
|
-
/**
|
|
898
|
+
/** 重力加速度. */
|
|
834
899
|
gravity?: number | null;
|
|
835
|
-
/**
|
|
900
|
+
/** 场景高度,对应Z轴. */
|
|
836
901
|
height?: number | null;
|
|
837
|
-
/**
|
|
902
|
+
/** 湿度百分比. */
|
|
838
903
|
humidity?: number | null;
|
|
839
|
-
/**
|
|
904
|
+
/** 场景唯一标识符(主键). */
|
|
840
905
|
id?: string | null;
|
|
841
|
-
/**
|
|
906
|
+
/** 场景中的顶升移载输送机. */
|
|
842
907
|
jackUpTransferStations?: Array<JackUpTransferStationDto> | null;
|
|
843
|
-
/**
|
|
908
|
+
/** 场景名称. */
|
|
844
909
|
name?: string | null;
|
|
845
|
-
/**
|
|
910
|
+
/** 场景中的叠盘机. */
|
|
846
911
|
palletStackerStations?: Array<PalletStackerStationDto> | null;
|
|
847
|
-
/**
|
|
912
|
+
/** 场景中的光电传感器. */
|
|
848
913
|
photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
|
|
849
|
-
/**
|
|
914
|
+
/** 场景中的站点. */
|
|
850
915
|
stations?: Array<StationDto> | null;
|
|
851
|
-
/**
|
|
916
|
+
/** Status. */
|
|
917
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
918
|
+
/** 场景中的任务. */
|
|
852
919
|
tasks?: Array<AgentTaskDto> | null;
|
|
853
|
-
/**
|
|
920
|
+
/** 环境温度(摄氏度). */
|
|
854
921
|
temperature?: number | null;
|
|
855
|
-
/**
|
|
922
|
+
/** 仿真时间倍率. */
|
|
856
923
|
timeScale?: number | null;
|
|
857
|
-
/**
|
|
924
|
+
/** 场景宽度,对应X轴. */
|
|
858
925
|
width?: number | null;
|
|
859
926
|
constructor(obj?: SceneDto);
|
|
860
927
|
}
|
|
@@ -931,36 +998,42 @@ export declare class Station {
|
|
|
931
998
|
z?: number | null;
|
|
932
999
|
constructor(obj?: Station);
|
|
933
1000
|
}
|
|
1001
|
+
/** 站点实体. */
|
|
934
1002
|
export declare class StationDto {
|
|
935
|
-
/**
|
|
1003
|
+
/**
|
|
1004
|
+
* 角度(朝向).单位度.
|
|
1005
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
1006
|
+
*/
|
|
936
1007
|
angle?: number | null;
|
|
937
|
-
/**
|
|
1008
|
+
/** 站点编码. */
|
|
938
1009
|
code?: string | null;
|
|
939
|
-
/**
|
|
1010
|
+
/** 站点描述. */
|
|
940
1011
|
description?: string | null;
|
|
941
|
-
/**
|
|
1012
|
+
/** 站点所属边. */
|
|
942
1013
|
edgeId?: string | null;
|
|
943
|
-
/**
|
|
1014
|
+
/** 设备高度,对应Z轴. */
|
|
944
1015
|
height?: number | null;
|
|
945
|
-
/**
|
|
1016
|
+
/** 站点唯一标识符(主键). */
|
|
946
1017
|
id?: string | null;
|
|
947
|
-
/**
|
|
1018
|
+
/** 设备长度,对应Y轴. */
|
|
948
1019
|
length?: number | null;
|
|
949
1020
|
/** Priority. */
|
|
950
1021
|
priority?: 0 | 1 | 2 | null;
|
|
951
|
-
/**
|
|
1022
|
+
/** 所属场景ID. */
|
|
1023
|
+
sceneId?: string | null;
|
|
1024
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
952
1025
|
startOffset?: number | null;
|
|
953
1026
|
/** Status. */
|
|
954
1027
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
955
1028
|
/** Type. */
|
|
956
1029
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
957
|
-
/**
|
|
1030
|
+
/** 设备宽度,对应X轴. */
|
|
958
1031
|
width?: number | null;
|
|
959
|
-
/** X. */
|
|
1032
|
+
/** 坐标X. */
|
|
960
1033
|
x?: number | null;
|
|
961
|
-
/** Y. */
|
|
1034
|
+
/** 坐标Y. */
|
|
962
1035
|
y?: number | null;
|
|
963
|
-
/** Z. */
|
|
1036
|
+
/** 坐标Z. */
|
|
964
1037
|
z?: number | null;
|
|
965
1038
|
constructor(obj?: StationDto);
|
|
966
1039
|
}
|
|
@@ -992,19 +1065,19 @@ export declare function newPTSSJ(station?: Station): Station;
|
|
|
992
1065
|
*
|
|
993
1066
|
* @param station 要覆盖的部分属性.
|
|
994
1067
|
*/
|
|
995
|
-
export declare function
|
|
1068
|
+
export declare function newDSYZJ(station?: JackUpTransferStation): JackUpTransferStation;
|
|
996
1069
|
/**
|
|
997
1070
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
998
1071
|
*
|
|
999
1072
|
* @param station 要覆盖的部分属性.
|
|
1000
1073
|
*/
|
|
1001
|
-
export declare function
|
|
1074
|
+
export declare function newDPJ(station?: PalletStackerStation): PalletStackerStation;
|
|
1002
1075
|
/**
|
|
1003
1076
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
1004
1077
|
*
|
|
1005
1078
|
* @param station 要覆盖的部分属性.
|
|
1006
1079
|
*/
|
|
1007
|
-
export declare function newGDCGQ(station?:
|
|
1080
|
+
export declare function newGDCGQ(station?: PhotoelectricSensor): PhotoelectricSensor;
|
|
1008
1081
|
/**
|
|
1009
1082
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
1010
1083
|
*
|
|
@@ -1031,6 +1104,37 @@ export declare type IToolbarPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP'
|
|
|
1031
1104
|
* 面板位置.
|
|
1032
1105
|
*/
|
|
1033
1106
|
export declare type IPanelPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP' | 'RIGHT_BOTTOM';
|
|
1107
|
+
/**
|
|
1108
|
+
* 拖拽数据.
|
|
1109
|
+
*/
|
|
1110
|
+
export declare type IDragDataTransferData = {
|
|
1111
|
+
/**
|
|
1112
|
+
* 对象类型.
|
|
1113
|
+
*
|
|
1114
|
+
* @see NODE_KEY
|
|
1115
|
+
*/
|
|
1116
|
+
type: string;
|
|
1117
|
+
};
|
|
1118
|
+
/**
|
|
1119
|
+
* 节点数据.
|
|
1120
|
+
*/
|
|
1121
|
+
export declare type INodeProperty = {
|
|
1122
|
+
/**
|
|
1123
|
+
* 对象.
|
|
1124
|
+
*/
|
|
1125
|
+
data: Record<string, any>;
|
|
1126
|
+
/**
|
|
1127
|
+
* <p>连线长度.</p>
|
|
1128
|
+
* <p>如果是节点, 则该属性为 undefined,</p>
|
|
1129
|
+
*/
|
|
1130
|
+
length?: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* 对象类型.
|
|
1133
|
+
*
|
|
1134
|
+
* @see NODE_KEY
|
|
1135
|
+
*/
|
|
1136
|
+
type: string;
|
|
1137
|
+
};
|
|
1034
1138
|
/**
|
|
1035
1139
|
* 本地存储的键.
|
|
1036
1140
|
*/
|
|
@@ -1048,6 +1152,10 @@ export declare const STORE_KEY: {
|
|
|
1048
1152
|
* 节点类型.
|
|
1049
1153
|
*/
|
|
1050
1154
|
export declare const NODE_KEY: {
|
|
1155
|
+
/**
|
|
1156
|
+
* 代理.
|
|
1157
|
+
*/
|
|
1158
|
+
AGENT: string;
|
|
1051
1159
|
/**
|
|
1052
1160
|
* 创建者.
|
|
1053
1161
|
*/
|
|
@@ -1085,6 +1193,10 @@ export declare const NODE_KEY: {
|
|
|
1085
1193
|
* 节点附件类型.
|
|
1086
1194
|
*/
|
|
1087
1195
|
export declare const NODE_UI_KEY: {
|
|
1196
|
+
/**
|
|
1197
|
+
* 代理--编号.
|
|
1198
|
+
*/
|
|
1199
|
+
AGENT_CODE: string;
|
|
1088
1200
|
/**
|
|
1089
1201
|
* 创建者--编号.
|
|
1090
1202
|
*/
|
|
@@ -1119,28 +1231,40 @@ export declare const NODE_UI_KEY: {
|
|
|
1119
1231
|
SCENE_CODE: string;
|
|
1120
1232
|
};
|
|
1121
1233
|
/**
|
|
1122
|
-
*
|
|
1234
|
+
* WEBSOCKET 发起请求消息类型.
|
|
1123
1235
|
*/
|
|
1124
|
-
export declare
|
|
1236
|
+
export declare const WEBSOCKET_REQUEST_TYPE: {
|
|
1125
1237
|
/**
|
|
1126
|
-
*
|
|
1127
|
-
*
|
|
1128
|
-
* @see NODE_KEY
|
|
1238
|
+
* 更新代理状态.
|
|
1129
1239
|
*/
|
|
1130
|
-
|
|
1240
|
+
AGENT_STATUS_UPDATE_REQUEST: string;
|
|
1131
1241
|
};
|
|
1132
1242
|
/**
|
|
1133
|
-
*
|
|
1243
|
+
* WEBSOCKET 接收响应消息类型.
|
|
1134
1244
|
*/
|
|
1135
|
-
export declare
|
|
1245
|
+
export declare const WEBSOCKET_RESPONSE_TYPE: {
|
|
1136
1246
|
/**
|
|
1137
|
-
*
|
|
1247
|
+
* 代理创建成功.
|
|
1138
1248
|
*/
|
|
1139
|
-
|
|
1249
|
+
AGENT_CREATED: string;
|
|
1140
1250
|
/**
|
|
1141
|
-
*
|
|
1142
|
-
*
|
|
1143
|
-
* @see NODE_KEY
|
|
1251
|
+
* 代理销毁成功.
|
|
1144
1252
|
*/
|
|
1145
|
-
|
|
1253
|
+
AGENT_DESTROYED: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* 更新代理状态.
|
|
1256
|
+
*/
|
|
1257
|
+
AGENT_STATUS_CHANGED: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* 更新代理状态.
|
|
1260
|
+
*/
|
|
1261
|
+
AGENT_STATUS_UPDATE_RESPONSE: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* 代理指令动作.
|
|
1264
|
+
*/
|
|
1265
|
+
PLC_ACTION: string;
|
|
1266
|
+
/**
|
|
1267
|
+
* 仿真状态改变.
|
|
1268
|
+
*/
|
|
1269
|
+
SIMULATION_STATUS_CHANGED: string;
|
|
1146
1270
|
};
|