@kengic/vue 0.30.1-beta.31 → 0.30.1-beta.33

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.
@@ -1,68 +1,3 @@
1
- /**
2
- * 获取对象的属性名数组.
3
- * @param obj 对象.
4
- */
5
- export declare function keys<C extends object>(obj: C): Array<keyof C>;
6
- /** 场景实体. */
7
- export declare class Scene {
8
- /** 场景中的代理. */
9
- agents?: Array<Agent> | null;
10
- /** 配置JSON. */
11
- configurationJson?: string | null;
12
- /** 创建时间. */
13
- createdAt?: string | null;
14
- /** 场景中的创建者. */
15
- creators?: Array<Creator> | null;
16
- /** 场景深度. */
17
- depth?: number | null;
18
- /** 场景描述. */
19
- description?: string | null;
20
- /** 场景中的销毁者. */
21
- destroyers?: Array<Destroyer> | null;
22
- /** 场景中的输送线段. */
23
- edges?: Array<Edge> | null;
24
- /** 重力加速度. */
25
- gravity?: number | null;
26
- /** 场景高度,对应Z轴. */
27
- height?: number | null;
28
- /** 湿度百分比. */
29
- humidity?: number | null;
30
- /** 场景唯一标识符(主键). */
31
- id?: string | null;
32
- /** 最后运行时间. */
33
- lastRunTime?: string | null;
34
- /** 场景名称. */
35
- name?: string | null;
36
- /**
37
- * 普通输送机.
38
- */
39
- stations?: Array<Station> | null;
40
- /**
41
- * 叠盘机.
42
- */
43
- DPJ?: Array<Station> | null;
44
- /**
45
- * 顶升移载机.
46
- */
47
- DSYZJ?: Array<Station> | null;
48
- /**
49
- * 光电传感器.
50
- */
51
- GDCGQ?: Array<Station> | null;
52
- /** Status. */
53
- status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
54
- /** 场景中的任务. */
55
- tasks?: Array<AgentTask> | null;
56
- /** 环境温度(摄氏度). */
57
- temperature?: number | null;
58
- /** 仿真时间倍率. */
59
- timeScale?: number | null;
60
- /** 更新时间. */
61
- updatedAt?: string | null;
62
- /** 场景宽度,对应X轴. */
63
- width?: number | null;
64
- constructor(obj?: Scene);
65
- }
66
1
  /** RGV代理实体。
67
2
  * 从PLC下发命令执行动作的都算Agent。动作包括不限于移动,转弯、加速、减速等. */
68
3
  export declare class Agent {
@@ -86,6 +21,8 @@ export declare class Agent {
86
21
  * </p>.
87
22
  */
88
23
  brakingAcceleration?: number | null;
24
+ /** 编号. */
25
+ code?: string | null;
89
26
  /**
90
27
  * 通信时延.单位s.
91
28
  * 该变量CommunicationDelay和当前速度Velocity还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
@@ -117,7 +54,7 @@ export declare class Agent {
117
54
  /** Status. */
118
55
  status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
119
56
  /** Target Change Reason. */
120
- targetChangeReason?: 0 | 1 | 2 | null;
57
+ targetChangeReason?: 0 | 1 | 2 | 3 | null;
121
58
  /** Type. */
122
59
  type?: 0 | 1 | 2 | null;
123
60
  /** 更新时间. */
@@ -137,6 +74,175 @@ export declare class Agent {
137
74
  z?: number | null;
138
75
  constructor(obj?: Agent);
139
76
  }
77
+ export declare class AgentDto {
78
+ /** Acceleration. */
79
+ acceleration?: number | null;
80
+ /** Angle. */
81
+ angle?: number | null;
82
+ /** Braking Acceleration. */
83
+ brakingAcceleration?: number | null;
84
+ /** Communication Delay. */
85
+ communicationDelay?: number | null;
86
+ /** Destination Task Id. */
87
+ destinationTaskId?: string | null;
88
+ /** Height. */
89
+ height?: number | null;
90
+ /** Id. */
91
+ id?: string | null;
92
+ /** Is Available. */
93
+ isAvailable?: boolean | null;
94
+ /** Length. */
95
+ length?: number | null;
96
+ /** Max Velocity. */
97
+ maxVelocity?: number | null;
98
+ /** Status. */
99
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
100
+ /** Target Change Reason. */
101
+ targetChangeReason?: 0 | 1 | 2 | 3 | null;
102
+ /** Type. */
103
+ type?: 0 | 1 | 2 | null;
104
+ /** Velocity. */
105
+ velocity?: number | null;
106
+ /** Width. */
107
+ width?: number | null;
108
+ /** X. */
109
+ x?: number | null;
110
+ /** Y. */
111
+ y?: number | null;
112
+ /** Z. */
113
+ z?: number | null;
114
+ constructor(obj?: AgentDto);
115
+ }
116
+ export declare class AgentStatusUpdateRequest {
117
+ /** Agent Id. */
118
+ agentId?: string | null;
119
+ /** 角度(度),0度表示向右(正X方向),90度表示向上(正Y方向). */
120
+ angle?: number | null;
121
+ /** Status. */
122
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
123
+ /** X. */
124
+ x?: number | null;
125
+ /** Y. */
126
+ y?: number | null;
127
+ /** Z. */
128
+ z?: number | null;
129
+ constructor(obj?: AgentStatusUpdateRequest);
130
+ }
131
+ /** 代理任务实体. */
132
+ export declare class AgentTask {
133
+ /** Agent Task Type. */
134
+ agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
135
+ /**
136
+ * 角度(朝向).单位度.
137
+ * 0度表示向右(正X方向),90度表示向上(正Y方向),以此类推.
138
+ */
139
+ angle?: number | null;
140
+ /** 创建时间. */
141
+ createdAt?: string | null;
142
+ /** 边绘制的高度,对应Z轴. */
143
+ height?: number | null;
144
+ /** 任务唯一标识符(主键). */
145
+ id?: string | null;
146
+ /** 边绘制的长度,对应Y轴. */
147
+ length?: number | null;
148
+ /**
149
+ * 任务序号.
150
+ * 当任务优先级一样时,通过该字段按序执行任务.
151
+ * 建议使用Date.UtcNow.Ticks.
152
+ */
153
+ order?: number | null;
154
+ /** Priority. */
155
+ priority?: 1 | 2 | 3 | null;
156
+ /** Scene. */
157
+ scene?: Scene | null;
158
+ /** 所属场景ID. */
159
+ sceneId?: string | null;
160
+ /** Source Station. */
161
+ sourceStation?: Station | null;
162
+ /** 任务的目标站点Id. */
163
+ sourceStationId?: string | null;
164
+ /** Status. */
165
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
166
+ /** Target Station. */
167
+ targetStation?: Station | null;
168
+ /** 任务的目标站点Id. */
169
+ targetStationId?: string | null;
170
+ /** 更新时间. */
171
+ updatedAt?: string | null;
172
+ /** 边绘制的宽度,对应X轴. */
173
+ width?: number | null;
174
+ /** 坐标X. */
175
+ x?: number | null;
176
+ /** 坐标Y. */
177
+ y?: number | null;
178
+ /** 坐标Z. */
179
+ z?: number | null;
180
+ constructor(obj?: AgentTask);
181
+ }
182
+ export declare class AgentTaskDto {
183
+ /** Agent Task Type. */
184
+ agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
185
+ /** Angle. */
186
+ angle?: number | null;
187
+ /** Height. */
188
+ height?: number | null;
189
+ /** Id. */
190
+ id?: string | null;
191
+ /** Length. */
192
+ length?: number | null;
193
+ /** Order. */
194
+ order?: number | null;
195
+ /** Priority. */
196
+ priority?: 1 | 2 | 3 | null;
197
+ /** Source Station Id. */
198
+ sourceStationId?: string | null;
199
+ /** Status. */
200
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
201
+ /** Target Station Id. */
202
+ targetStationId?: string | null;
203
+ /** Width. */
204
+ width?: number | null;
205
+ /** X. */
206
+ x?: number | null;
207
+ /** Y. */
208
+ y?: number | null;
209
+ /** Z. */
210
+ z?: number | null;
211
+ constructor(obj?: AgentTaskDto);
212
+ }
213
+ export declare class CreateAgentRequest {
214
+ /** Angle. */
215
+ angle?: number | null;
216
+ /** Creator Id. */
217
+ creatorId?: string | null;
218
+ /** Scene Id. */
219
+ sceneId?: string | null;
220
+ /** Station Id. */
221
+ stationId?: string | null;
222
+ /** X. */
223
+ x?: number | null;
224
+ /** Y. */
225
+ y?: number | null;
226
+ /** Z. */
227
+ z?: number | null;
228
+ constructor(obj?: CreateAgentRequest);
229
+ }
230
+ /** 创建场景请求. */
231
+ export declare class CreateSceneRequest {
232
+ /** Depth. */
233
+ depth?: number | null;
234
+ /** Description. */
235
+ description?: string | null;
236
+ /** Height. */
237
+ height?: number | null;
238
+ /** Name. */
239
+ name?: string | null;
240
+ /** Time Scale. */
241
+ timeScale?: number | null;
242
+ /** Width. */
243
+ width?: number | null;
244
+ constructor(obj?: CreateSceneRequest);
245
+ }
140
246
  /** 创建者. */
141
247
  export declare class Creator {
142
248
  /**
@@ -144,8 +250,8 @@ export declare class Creator {
144
250
  * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
145
251
  */
146
252
  angle?: number | null;
147
- /** 名称. */
148
- name?: string | null;
253
+ /** 编号. */
254
+ code?: string | null;
149
255
  /** 创建时间. */
150
256
  createdAt?: string | null;
151
257
  /** 创建者高度,对应Z轴. */
@@ -178,15 +284,188 @@ export declare class Creator {
178
284
  z?: number | null;
179
285
  constructor(obj?: Creator);
180
286
  }
181
- /** 站点实体. */
182
- export declare class Station {
183
- /** 名称. */
184
- name?: string | null;
287
+ export declare class CreatorDto {
288
+ /** Angle. */
289
+ angle?: number | null;
290
+ /** Height. */
291
+ height?: number | null;
292
+ /** Id. */
293
+ id?: string | null;
294
+ /** Interval. */
295
+ interval?: number | null;
296
+ /** Is Enable. */
297
+ isEnable?: boolean | null;
298
+ /** Length. */
299
+ length?: number | null;
300
+ /** Station Id. */
301
+ stationId?: string | null;
302
+ /** Width. */
303
+ width?: number | null;
304
+ /** X. */
305
+ x?: number | null;
306
+ /** Y. */
307
+ y?: number | null;
308
+ /** Z. */
309
+ z?: number | null;
310
+ constructor(obj?: CreatorDto);
311
+ }
312
+ export declare class DestroyAgentRequest {
313
+ /** Agent Id. */
314
+ agentId?: string | null;
315
+ /** Destroyer Id. */
316
+ destroyerId?: string | null;
317
+ constructor(obj?: DestroyAgentRequest);
318
+ }
319
+ export declare class Destroyer {
320
+ /**
321
+ * 角度(朝向).单位度.
322
+ * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
323
+ */
324
+ angle?: number | null;
325
+ /** 编号. */
326
+ code?: string | null;
327
+ /** 创建时间. */
328
+ createdAt?: string | null;
329
+ /** 销毁者高度,对应Z轴. */
330
+ height?: number | null;
331
+ /** 销毁者唯一标识符(主键). */
332
+ id?: string | null;
333
+ /** 销毁间隔,单位毫秒. */
334
+ interval?: number | null;
335
+ /** 销毁者是否启用. */
336
+ isEnable?: boolean | null;
337
+ /** 销毁者长度,对应Y轴. */
338
+ length?: number | null;
339
+ /** Scene. */
340
+ scene?: Scene | null;
341
+ /** 所属场景ID. */
342
+ sceneId?: string | null;
343
+ /** Station. */
344
+ station?: Station | null;
345
+ /** 所属站点Id. */
346
+ stationId?: string | null;
347
+ /** 更新时间. */
348
+ updatedAt?: string | null;
349
+ /** 销毁者宽度,对应X轴. */
350
+ width?: number | null;
351
+ /** 坐标X. */
352
+ x?: number | null;
353
+ /** 坐标Y. */
354
+ y?: number | null;
355
+ /** 坐标Z. */
356
+ z?: number | null;
357
+ constructor(obj?: Destroyer);
358
+ }
359
+ export declare class DestroyerDto {
360
+ /** Angle. */
361
+ angle?: number | null;
362
+ /** Height. */
363
+ height?: number | null;
364
+ /** Id. */
365
+ id?: string | null;
366
+ /** Interval. */
367
+ interval?: number | null;
368
+ /** Is Enable. */
369
+ isEnable?: boolean | null;
370
+ /** Length. */
371
+ length?: number | null;
372
+ /** Station Id. */
373
+ stationId?: string | null;
374
+ /** Width. */
375
+ width?: number | null;
376
+ /** X. */
377
+ x?: number | null;
378
+ /** Y. */
379
+ y?: number | null;
380
+ /** Z. */
381
+ z?: number | null;
382
+ constructor(obj?: DestroyerDto);
383
+ }
384
+ /** 输送线段实体. */
385
+ export declare class Edge {
386
+ /**
387
+ * 角度(朝向).单位度.
388
+ * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
389
+ * 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
390
+ */
391
+ angle?: number | null;
392
+ /** 编号. */
393
+ code?: string | null;
394
+ /** 创建时间. */
395
+ createdAt?: string | null;
396
+ /** 边绘制的高度,对应Z轴. */
397
+ height?: number | null;
398
+ /** 线段唯一标识符(主键). */
399
+ id?: string | null;
400
+ /** 边绘制的长度,对应Y轴. */
401
+ length?: number | null;
402
+ /** Scene. */
403
+ scene?: Scene | null;
404
+ /** 所属场景ID. */
405
+ sceneId?: string | null;
406
+ /** 起始位置. */
407
+ source?: string | null;
408
+ /** 结束位置. */
409
+ target?: string | null;
410
+ /** Type. */
411
+ type?: 0 | 1 | null;
412
+ /** 更新时间. */
413
+ updatedAt?: string | null;
414
+ /** 边绘制的宽度,对应X轴. */
415
+ width?: number | null;
416
+ /** 坐标X. */
417
+ x?: number | null;
418
+ /** 坐标Y. */
419
+ y?: number | null;
420
+ /** 坐标Z. */
421
+ z?: number | null;
422
+ constructor(obj?: Edge);
423
+ }
424
+ export declare class EdgeDto {
425
+ /** Angle. */
426
+ angle?: number | null;
427
+ /** Height. */
428
+ height?: number | null;
429
+ /** Id. */
430
+ id?: string | null;
431
+ /** Length. */
432
+ length?: number | null;
433
+ /** Source. */
434
+ source?: string | null;
435
+ /** Target. */
436
+ target?: string | null;
437
+ /** Type. */
438
+ type?: 0 | 1 | null;
439
+ /** Width. */
440
+ width?: number | null;
441
+ /** X. */
442
+ x?: number | null;
443
+ /** Y. */
444
+ y?: number | null;
445
+ /** Z. */
446
+ z?: number | null;
447
+ constructor(obj?: EdgeDto);
448
+ }
449
+ export declare class GetAgentRequest {
450
+ /** Agent Id. */
451
+ agentId?: string | null;
452
+ constructor(obj?: GetAgentRequest);
453
+ }
454
+ /** 获取场景请求. */
455
+ export declare class GetSceneRequest {
456
+ /** Scene Id. */
457
+ sceneId?: string | null;
458
+ constructor(obj?: GetSceneRequest);
459
+ }
460
+ /** 顶升移载输送机实体. */
461
+ export declare class JackUpTransferStation {
185
462
  /**
186
463
  * 角度(朝向).单位度.
187
464
  * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
188
465
  */
189
466
  angle?: number | null;
467
+ /** 编号. */
468
+ code?: string | null;
190
469
  /** 创建时间. */
191
470
  createdAt?: string | null;
192
471
  /** Edge. */
@@ -221,50 +500,81 @@ export declare class Station {
221
500
  y?: number | null;
222
501
  /** 坐标Z. */
223
502
  z?: number | null;
224
- constructor(obj?: Station);
503
+ constructor(obj?: JackUpTransferStation);
225
504
  }
226
- /** 代理任务实体. */
227
- export declare class AgentTask {
228
- /** Agent Task Type. */
229
- agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
505
+ export declare class JackUpTransferStationDto {
506
+ /** Angle. */
507
+ angle?: number | null;
508
+ /** Edge Id. */
509
+ edgeId?: string | null;
510
+ /** Height. */
511
+ height?: number | null;
512
+ /** Id. */
513
+ id?: string | null;
514
+ /** Length. */
515
+ length?: number | null;
516
+ /** Priority. */
517
+ priority?: 0 | 1 | 2 | null;
518
+ /** Start Offset. */
519
+ startOffset?: number | null;
520
+ /** Status. */
521
+ status?: 0 | 1 | 2 | 3 | 4 | null;
522
+ /** Type. */
523
+ type?: 0 | 1 | 2 | 3 | 4 | null;
524
+ /** Width. */
525
+ width?: number | null;
526
+ /** X. */
527
+ x?: number | null;
528
+ /** Y. */
529
+ y?: number | null;
530
+ /** Z. */
531
+ z?: number | null;
532
+ constructor(obj?: JackUpTransferStationDto);
533
+ }
534
+ /** 移动代理请求. */
535
+ export declare class MoveAgentDirectRequest {
536
+ /** Container Id. */
537
+ containerId?: string | null;
538
+ /** Destination Address. */
539
+ destinationAddress?: string | null;
540
+ constructor(obj?: MoveAgentDirectRequest);
541
+ }
542
+ /** 叠盘机实体. */
543
+ export declare class PalletStackerStation {
230
544
  /**
231
545
  * 角度(朝向).单位度.
232
- * 0度表示向右(正X方向),90度表示向上(正Y方向),以此类推.
546
+ * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
233
547
  */
234
548
  angle?: number | null;
549
+ /** 编号. */
550
+ code?: string | null;
235
551
  /** 创建时间. */
236
552
  createdAt?: string | null;
237
- /** 边绘制的高度,对应Z轴. */
553
+ /** Edge. */
554
+ edge?: Edge | null;
555
+ /** 站点所属边. */
556
+ edgeId?: string | null;
557
+ /** 设备高度,对应Z轴. */
238
558
  height?: number | null;
239
- /** 任务唯一标识符(主键). */
559
+ /** 站点唯一标识符(主键). */
240
560
  id?: string | null;
241
- /** 边绘制的长度,对应Y轴. */
561
+ /** 设备长度,对应Y轴. */
242
562
  length?: number | null;
243
- /**
244
- * 任务序号.
245
- * 当任务优先级一样时,通过该字段按序执行任务.
246
- * 建议使用Date.UtcNow.Ticks.
247
- */
248
- order?: number | null;
249
563
  /** Priority. */
250
- priority?: 1 | 2 | 3 | null;
564
+ priority?: 0 | 1 | 2 | null;
251
565
  /** Scene. */
252
566
  scene?: Scene | null;
253
567
  /** 所属场景ID. */
254
568
  sceneId?: string | null;
255
- /** Source Station. */
256
- sourceStation?: Station | null;
257
- /** 任务的目标站点Id. */
258
- sourceStationId?: string | null;
569
+ /** 当前位置基于所属边的起始点的偏移量. */
570
+ startOffset?: number | null;
259
571
  /** Status. */
260
- status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
261
- /** Target Station. */
262
- targetStation?: Station | null;
263
- /** 任务的目标站点Id. */
264
- targetStationId?: string | null;
572
+ status?: 0 | 1 | 2 | 3 | 4 | null;
573
+ /** Type. */
574
+ type?: 0 | 1 | 2 | 3 | 4 | null;
265
575
  /** 更新时间. */
266
576
  updatedAt?: string | null;
267
- /** 边绘制的宽度,对应X轴. */
577
+ /** 设备宽度,对应X轴. */
268
578
  width?: number | null;
269
579
  /** 坐标X. */
270
580
  x?: number | null;
@@ -272,39 +582,73 @@ export declare class AgentTask {
272
582
  y?: number | null;
273
583
  /** 坐标Z. */
274
584
  z?: number | null;
275
- constructor(obj?: AgentTask);
585
+ constructor(obj?: PalletStackerStation);
276
586
  }
277
- export declare class Destroyer {
278
- /** 名称. */
279
- name?: string | null;
587
+ export declare class PalletStackerStationDto {
588
+ /** Angle. */
589
+ angle?: number | null;
590
+ /** Edge Id. */
591
+ edgeId?: string | null;
592
+ /** Height. */
593
+ height?: number | null;
594
+ /** Id. */
595
+ id?: string | null;
596
+ /** Length. */
597
+ length?: number | null;
598
+ /** Priority. */
599
+ priority?: 0 | 1 | 2 | null;
600
+ /** Start Offset. */
601
+ startOffset?: number | null;
602
+ /** Status. */
603
+ status?: 0 | 1 | 2 | 3 | 4 | null;
604
+ /** Type. */
605
+ type?: 0 | 1 | 2 | 3 | 4 | null;
606
+ /** Width. */
607
+ width?: number | null;
608
+ /** X. */
609
+ x?: number | null;
610
+ /** Y. */
611
+ y?: number | null;
612
+ /** Z. */
613
+ z?: number | null;
614
+ constructor(obj?: PalletStackerStationDto);
615
+ }
616
+ /** 光电传感器实体. */
617
+ export declare class PhotoelectricSensor {
280
618
  /**
281
619
  * 角度(朝向).单位度.
282
620
  * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
283
621
  */
284
622
  angle?: number | null;
623
+ /** 编号. */
624
+ code?: string | null;
285
625
  /** 创建时间. */
286
626
  createdAt?: string | null;
287
- /** 销毁者高度,对应Z轴. */
627
+ /** Edge. */
628
+ edge?: Edge | null;
629
+ /** 站点所属边. */
630
+ edgeId?: string | null;
631
+ /** 设备高度,对应Z轴. */
288
632
  height?: number | null;
289
- /** 销毁者唯一标识符(主键). */
633
+ /** 站点唯一标识符(主键). */
290
634
  id?: string | null;
291
- /** 销毁间隔,单位毫秒. */
292
- interval?: number | null;
293
- /** 销毁者是否启用. */
294
- isEnable?: boolean | null;
295
- /** 销毁者长度,对应Y轴. */
635
+ /** 设备长度,对应Y轴. */
296
636
  length?: number | null;
637
+ /** Priority. */
638
+ priority?: 0 | 1 | 2 | null;
297
639
  /** Scene. */
298
640
  scene?: Scene | null;
299
641
  /** 所属场景ID. */
300
642
  sceneId?: string | null;
301
- /** Station. */
302
- station?: Station | null;
303
- /** 所属站点Id. */
304
- stationId?: string | null;
643
+ /** 当前位置基于所属边的起始点的偏移量. */
644
+ startOffset?: number | null;
645
+ /** Status. */
646
+ status?: 0 | 1 | 2 | 3 | 4 | null;
647
+ /** Type. */
648
+ type?: 0 | 1 | 2 | 3 | 4 | null;
305
649
  /** 更新时间. */
306
650
  updatedAt?: string | null;
307
- /** 销毁者宽度,对应X轴. */
651
+ /** 设备宽度,对应X轴. */
308
652
  width?: number | null;
309
653
  /** 坐标X. */
310
654
  x?: number | null;
@@ -312,39 +656,210 @@ export declare class Destroyer {
312
656
  y?: number | null;
313
657
  /** 坐标Z. */
314
658
  z?: number | null;
315
- constructor(obj?: Destroyer);
659
+ constructor(obj?: PhotoelectricSensor);
316
660
  }
317
- /** 输送线段实体. */
318
- export declare class Edge {
319
- /** 名称. */
661
+ export declare class PhotoelectricSensorDto {
662
+ /** Angle. */
663
+ angle?: number | null;
664
+ /** Edge Id. */
665
+ edgeId?: string | null;
666
+ /** Height. */
667
+ height?: number | null;
668
+ /** Id. */
669
+ id?: string | null;
670
+ /** Length. */
671
+ length?: number | null;
672
+ /** Priority. */
673
+ priority?: 0 | 1 | 2 | null;
674
+ /** Start Offset. */
675
+ startOffset?: number | null;
676
+ /** Status. */
677
+ status?: 0 | 1 | 2 | 3 | 4 | null;
678
+ /** Type. */
679
+ type?: 0 | 1 | 2 | 3 | 4 | null;
680
+ /** Width. */
681
+ width?: number | null;
682
+ /** X. */
683
+ x?: number | null;
684
+ /** Y. */
685
+ y?: number | null;
686
+ /** Z. */
687
+ z?: number | null;
688
+ constructor(obj?: PhotoelectricSensorDto);
689
+ }
690
+ export declare class Result<T0> {
691
+ /** Code. */
692
+ code?: number | null;
693
+ /** Data. */
694
+ data?: T0 | null;
695
+ /** Message. */
696
+ message?: string | null;
697
+ /** Success. */
698
+ success?: boolean | null;
699
+ constructor(obj?: Result<T0>);
700
+ }
701
+ export declare class SaveSceneRequest {
702
+ /** Scene. */
703
+ scene?: SceneDto | null;
704
+ constructor(obj?: SaveSceneRequest);
705
+ }
706
+ /** 场景实体. */
707
+ export declare class Scene {
708
+ /** 场景中的代理. */
709
+ agents?: Array<Agent> | null;
710
+ /** 配置JSON. */
711
+ configurationJson?: string | null;
712
+ /** 创建时间. */
713
+ createdAt?: string | null;
714
+ /** 场景中的创建者. */
715
+ creators?: Array<Creator> | null;
716
+ /** 场景深度. */
717
+ depth?: number | null;
718
+ /** 场景描述. */
719
+ description?: string | null;
720
+ /** 场景中的销毁者. */
721
+ destroyers?: Array<Destroyer> | null;
722
+ /** 场景中的输送线段. */
723
+ edges?: Array<Edge> | null;
724
+ /** 重力加速度. */
725
+ gravity?: number | null;
726
+ /** 场景高度,对应Z轴. */
727
+ height?: number | null;
728
+ /** 湿度百分比. */
729
+ humidity?: number | null;
730
+ /** 场景唯一标识符(主键). */
731
+ id?: string | null;
732
+ /** 场景中的顶升移载输送机. */
733
+ jackUpTransferStations?: Array<JackUpTransferStation> | null;
734
+ /** 最后运行时间. */
735
+ lastRunTime?: string | null;
736
+ /** 场景名称. */
320
737
  name?: string | null;
738
+ /** 场景中的叠盘机. */
739
+ palletStackerStations?: Array<PalletStackerStation> | null;
740
+ /** 场景中的光电传感器. */
741
+ photoelectricSensors?: Array<PhotoelectricSensor> | null;
742
+ /** 场景中的站点. */
743
+ stations?: Array<Station> | null;
744
+ /** Status. */
745
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
746
+ /** 场景中的任务. */
747
+ tasks?: Array<AgentTask> | null;
748
+ /** 环境温度(摄氏度). */
749
+ temperature?: number | null;
750
+ /** 仿真时间倍率. */
751
+ timeScale?: number | null;
752
+ /** 更新时间. */
753
+ updatedAt?: string | null;
754
+ /** 场景宽度,对应X轴. */
755
+ width?: number | null;
756
+ constructor(obj?: Scene);
757
+ }
758
+ export declare class SceneDto {
759
+ /** Agents. */
760
+ agents?: Array<AgentDto> | null;
761
+ /** Configuration Json. */
762
+ configurationJson?: string | null;
763
+ /** Creators. */
764
+ creators?: Array<CreatorDto> | null;
765
+ /** Depth. */
766
+ depth?: number | null;
767
+ /** Description. */
768
+ description?: string | null;
769
+ /** Destroyers. */
770
+ destroyers?: Array<DestroyerDto> | null;
771
+ /** Edges. */
772
+ edges?: Array<EdgeDto> | null;
773
+ /** Gravity. */
774
+ gravity?: number | null;
775
+ /** Height. */
776
+ height?: number | null;
777
+ /** Humidity. */
778
+ humidity?: number | null;
779
+ /** 指定则更新,否则后端可生成. */
780
+ id?: string | null;
781
+ /** Jack Ups. */
782
+ jackUps?: Array<JackUpTransferStationDto> | null;
783
+ /** Name. */
784
+ name?: string | null;
785
+ /** Pallet Stackers. */
786
+ palletStackers?: Array<PalletStackerStationDto> | null;
787
+ /** Photoelectric Sensors. */
788
+ photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
789
+ /** Stations. */
790
+ stations?: Array<StationDto> | null;
791
+ /** Tasks. */
792
+ tasks?: Array<AgentTaskDto> | null;
793
+ /** Temperature. */
794
+ temperature?: number | null;
795
+ /** Time Scale. */
796
+ timeScale?: number | null;
797
+ /** Width. */
798
+ width?: number | null;
799
+ constructor(obj?: SceneDto);
800
+ }
801
+ export declare class SceneStats {
802
+ /** Active Agents. */
803
+ activeAgents?: number | null;
804
+ /** Agents By Status. */
805
+ agentsByStatus?: Record<any, number> | null;
806
+ /** Completed Tasks. */
807
+ completedTasks?: number | null;
808
+ /** Last Updated. */
809
+ lastUpdated?: string | null;
810
+ /** Scene Id. */
811
+ sceneId?: string | null;
812
+ /** Scene Name. */
813
+ sceneName?: string | null;
814
+ /** Status. */
815
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
816
+ /** Total Agents. */
817
+ totalAgents?: number | null;
818
+ /** Total Tasks. */
819
+ totalTasks?: number | null;
820
+ constructor(obj?: SceneStats);
821
+ }
822
+ export declare class StartSimulationRequest {
823
+ /** Scene Id. */
824
+ sceneId?: string | null;
825
+ constructor(obj?: StartSimulationRequest);
826
+ }
827
+ /** 站点实体. */
828
+ export declare class Station {
321
829
  /**
322
830
  * 角度(朝向).单位度.
323
831
  * 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
324
- * 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
325
832
  */
326
833
  angle?: number | null;
834
+ /** 编号. */
835
+ code?: string | null;
327
836
  /** 创建时间. */
328
837
  createdAt?: string | null;
329
- /** 边绘制的高度,对应Z轴. */
838
+ /** Edge. */
839
+ edge?: Edge | null;
840
+ /** 站点所属边. */
841
+ edgeId?: string | null;
842
+ /** 设备高度,对应Z轴. */
330
843
  height?: number | null;
331
- /** 线段唯一标识符(主键). */
844
+ /** 站点唯一标识符(主键). */
332
845
  id?: string | null;
333
- /** 边绘制的长度,对应Y轴. */
846
+ /** 设备长度,对应Y轴. */
334
847
  length?: number | null;
848
+ /** Priority. */
849
+ priority?: 0 | 1 | 2 | null;
335
850
  /** Scene. */
336
851
  scene?: Scene | null;
337
852
  /** 所属场景ID. */
338
853
  sceneId?: string | null;
339
- /** 起始位置. */
340
- source?: string | null;
341
- /** 结束位置. */
342
- target?: string | null;
854
+ /** 当前位置基于所属边的起始点的偏移量. */
855
+ startOffset?: number | null;
856
+ /** Status. */
857
+ status?: 0 | 1 | 2 | 3 | 4 | null;
343
858
  /** Type. */
344
- type?: 0 | 1 | null;
859
+ type?: 0 | 1 | 2 | 3 | 4 | null;
345
860
  /** 更新时间. */
346
861
  updatedAt?: string | null;
347
- /** 边绘制的宽度,对应X轴. */
862
+ /** 设备宽度,对应X轴. */
348
863
  width?: number | null;
349
864
  /** 坐标X. */
350
865
  x?: number | null;
@@ -352,8 +867,54 @@ export declare class Edge {
352
867
  y?: number | null;
353
868
  /** 坐标Z. */
354
869
  z?: number | null;
355
- constructor(obj?: Edge);
870
+ constructor(obj?: Station);
871
+ }
872
+ export declare class StationDto {
873
+ /** Angle. */
874
+ angle?: number | null;
875
+ /** Edge Id. */
876
+ edgeId?: string | null;
877
+ /** Height. */
878
+ height?: number | null;
879
+ /** Id. */
880
+ id?: string | null;
881
+ /** Length. */
882
+ length?: number | null;
883
+ /** Priority. */
884
+ priority?: 0 | 1 | 2 | null;
885
+ /** Start Offset. */
886
+ startOffset?: number | null;
887
+ /** Status. */
888
+ status?: 0 | 1 | 2 | 3 | 4 | null;
889
+ /** Type. */
890
+ type?: 0 | 1 | 2 | 3 | 4 | null;
891
+ /** Width. */
892
+ width?: number | null;
893
+ /** X. */
894
+ x?: number | null;
895
+ /** Y. */
896
+ y?: number | null;
897
+ /** Z. */
898
+ z?: number | null;
899
+ constructor(obj?: StationDto);
900
+ }
901
+ export declare class StopSimulationRequest {
902
+ /** Scene Id. */
903
+ sceneId?: string | null;
904
+ constructor(obj?: StopSimulationRequest);
905
+ }
906
+ export declare class UpdateSceneStatusRequest {
907
+ /** 场景ID. */
908
+ sceneId?: string | null;
909
+ /** Status. */
910
+ status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
911
+ constructor(obj?: UpdateSceneStatusRequest);
356
912
  }
913
+ /**
914
+ * 获取对象的属性名数组.
915
+ * @param obj 对象.
916
+ */
917
+ export declare function keys<C extends object>(obj: C): Array<keyof C>;
357
918
  /**
358
919
  * 创建一个新的对象, 并给部分属性设置默认值.
359
920
  *
@@ -390,6 +951,12 @@ export declare function newCreator(creator?: Creator): Creator;
390
951
  * @param destroyer 要覆盖的部分属性.
391
952
  */
392
953
  export declare function newDestroyer(destroyer?: Destroyer): Destroyer;
954
+ /**
955
+ * 创建一个新的对象, 并给部分属性设置默认值.
956
+ *
957
+ * @param edge 要覆盖的部分属性.
958
+ */
959
+ export declare function newEdge(edge?: Edge): Edge;
393
960
  /**
394
961
  * 工具栏位置.
395
962
  */
@@ -432,7 +999,7 @@ export declare const NODE_KEY: {
432
999
  */
433
1000
  DSYZJ: string;
434
1001
  /**
435
- * 线段.
1002
+ * 连线.
436
1003
  */
437
1004
  EDGE: string;
438
1005
  /**
@@ -469,7 +1036,7 @@ export declare const NODE_UI_KEY: {
469
1036
  */
470
1037
  DSYZJ_CODE: string;
471
1038
  /**
472
- * 线段--编号.
1039
+ * 连线--编号.
473
1040
  */
474
1041
  EDGE_CODE: string;
475
1042
  /**
@@ -504,10 +1071,6 @@ export declare type INodeProperty = {
504
1071
  * 对象.
505
1072
  */
506
1073
  data: Record<string, any>;
507
- /**
508
- * 对象主键.
509
- */
510
- id: string;
511
1074
  /**
512
1075
  * 对象类型.
513
1076
  *