@kengic/vue 0.30.1-beta.55 → 0.30.1-beta.57

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.
@@ -7,7 +7,7 @@ export declare type IUseDraw = {
7
7
  * @param param
8
8
  * @param param.agent 代理者.
9
9
  */
10
- $CircularConveyor$DrawAgent(param?: {
10
+ $CircularConveyor$drawAgent(param?: {
11
11
  agent: Agent;
12
12
  }): Q.Node | null;
13
13
  /**
@@ -16,7 +16,7 @@ export declare type IUseDraw = {
16
16
  * @param param
17
17
  * @param param.creator 创建者.
18
18
  */
19
- $CircularConveyor$DrawCreator(param?: {
19
+ $CircularConveyor$drawCreator(param?: {
20
20
  creator: Creator;
21
21
  }): Q.Node | null;
22
22
  /**
@@ -25,7 +25,7 @@ export declare type IUseDraw = {
25
25
  * @param param
26
26
  * @param param.dpj 叠盘机.
27
27
  */
28
- $CircularConveyor$DrawDPJ(param?: {
28
+ $CircularConveyor$drawDPJ(param?: {
29
29
  dpj: PalletStackerStation;
30
30
  }): Q.Node | null;
31
31
  /**
@@ -34,7 +34,7 @@ export declare type IUseDraw = {
34
34
  * @param param
35
35
  * @param param.dsyzj 顶升移载机.
36
36
  */
37
- $CircularConveyor$DrawDSYZJ(param?: {
37
+ $CircularConveyor$drawDSYZJ(param?: {
38
38
  dsyzj: JackUpTransferStation;
39
39
  }): Q.Node | null;
40
40
  /**
@@ -43,7 +43,7 @@ export declare type IUseDraw = {
43
43
  * @param param
44
44
  * @param param.destroyer 销毁者.
45
45
  */
46
- $CircularConveyor$DrawDestroyer(param?: {
46
+ $CircularConveyor$drawDestroyer(param?: {
47
47
  destroyer: Destroyer;
48
48
  }): Q.Node | null;
49
49
  /**
@@ -52,7 +52,7 @@ export declare type IUseDraw = {
52
52
  * @param param
53
53
  * @param param.gdcgq 光电传感器.
54
54
  */
55
- $CircularConveyor$DrawGDCGQ(param?: {
55
+ $CircularConveyor$drawGDCGQ(param?: {
56
56
  gdcgq: PhotoelectricSensor;
57
57
  }): Q.Node | null;
58
58
  /**
@@ -61,7 +61,7 @@ export declare type IUseDraw = {
61
61
  * @param param
62
62
  * @param param.ptssj 普通输送机.
63
63
  */
64
- $CircularConveyor$DrawPTSSJ(param?: {
64
+ $CircularConveyor$drawPTSSJ(param?: {
65
65
  ptssj: Station;
66
66
  }): Q.Node | null;
67
67
  /**
@@ -196,6 +196,8 @@ export declare class AgentStatusUpdateRequest {
196
196
  agentId?: string | null;
197
197
  /** 角度(度),0度表示向右(正X方向),90度表示向上(正Y方向). */
198
198
  angle?: number | null;
199
+ /** 当前站点编号. */
200
+ stationCode?: string | null;
199
201
  /** Status. */
200
202
  status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
201
203
  /** X. */
@@ -320,12 +322,20 @@ export declare class AgentTaskDto {
320
322
  export declare class CreateAgentIfAbsentAndDispatchTaskRequest {
321
323
  /** Agent编码. */
322
324
  agentCode?: string | null;
325
+ /** 直穿模式. 是否直穿, 如果直传则托盘不减速直接高速通过. */
326
+ isThrough?: number | null;
327
+ /** 代理长度, 对应 Y 轴. 默认为 1200 mm. */
328
+ length?: number | null;
323
329
  /** 场景编码. */
324
330
  sceneId?: string | null;
325
331
  /** 源站点编码:Agent当前所在站点编码. */
326
332
  sourceStationCode?: string | null;
327
333
  /** 目标站点编码:Agent要前往的目标站点编码. */
328
334
  targetStationCode?: string | null;
335
+ /** 直穿地址, 直穿后的下一个目标站点编码. */
336
+ throughStationCode?: string | null;
337
+ /** 代理宽度, 对应 X 轴. 默认为 1200 mm. */
338
+ width?: number | null;
329
339
  constructor(obj?: CreateAgentIfAbsentAndDispatchTaskRequest);
330
340
  }
331
341
  export declare class CreateAgentRequest {
@@ -1062,6 +1072,10 @@ export declare class Station {
1062
1072
  height?: number | null;
1063
1073
  /** 站点唯一标识符(主键). */
1064
1074
  id?: string | null;
1075
+ /** 是否 X 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1076
+ isLongDistanceSensorOnX?: boolean | null;
1077
+ /** 是否 Y 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1078
+ isLongDistanceSensorOnY?: boolean | null;
1065
1079
  /** 设备长度,对应Y轴. */
1066
1080
  length?: number | null;
1067
1081
  /** Priority. */
@@ -1105,6 +1119,10 @@ export declare class StationDto {
1105
1119
  height?: number | null;
1106
1120
  /** 站点唯一标识符(主键). */
1107
1121
  id?: string | null;
1122
+ /** 是否 X 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1123
+ isLongDistanceSensorOnX?: boolean | null;
1124
+ /** 是否 Y 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1125
+ isLongDistanceSensorOnY?: boolean | null;
1108
1126
  /** 设备长度,对应Y轴. */
1109
1127
  length?: number | null;
1110
1128
  /** Priority. */
@@ -1221,6 +1239,10 @@ export declare type IDragDataTransferData = {
1221
1239
  * 节点数据.
1222
1240
  */
1223
1241
  export declare type INodeProperty = {
1242
+ /**
1243
+ * 代理者--当前所在站点编号.
1244
+ */
1245
+ $Agent$CurrentStationCode?: string;
1224
1246
  /**
1225
1247
  * 代理者--移动--当前所在连线.
1226
1248
  */
@@ -1230,6 +1252,10 @@ export declare type INodeProperty = {
1230
1252
  * <p>每个叠盘机的正下方都有一个普通输送机, 因此如果是叠盘, 则是从普通输送机到叠盘机, 此时坐标不会变化, 因此如果是拆盘, 则是从叠盘机到普通输送机, 此时坐标也不会变化,</p>
1231
1253
  */
1232
1254
  $Agent$Move$Direction?: 'UP' | 'DOWN' | 'LEFT' | 'RIGHT' | 'DPJ';
1255
+ /**
1256
+ * 代理者--移动--第一次执行移动的时刻.
1257
+ */
1258
+ $Agent$Move$FirstMoveTime?: number;
1233
1259
  /**
1234
1260
  * 代理者--移动--起始 X.
1235
1261
  */
@@ -1238,6 +1264,10 @@ export declare type INodeProperty = {
1238
1264
  * 代理者--移动--起始 Y.
1239
1265
  */
1240
1266
  $Agent$Move$FromY?: number;
1267
+ /**
1268
+ * 代理者--移动--是否到达目的站点.
1269
+ */
1270
+ $Agent$Move$IsArrive?: boolean;
1241
1271
  /**
1242
1272
  * 代理者--移动--是否正在移动.
1243
1273
  */
@@ -54,9 +54,27 @@ export interface IKgSimulatorStoreGetters {
54
54
  /**
55
55
  * 配置--环形输送线--接口地址--WEBSOCKET.
56
56
  *
57
- * @default '/Scene/GetScenes'
57
+ * @default '/ws'
58
58
  */
59
59
  $Config$CircularConveyor$Api$WebSocket: string;
60
+ /**
61
+ * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(远).
62
+ *
63
+ * @default 200 mm
64
+ */
65
+ $Config$CircularConveyor$DefaultPhotoelectricSensor$LongDistance: number;
66
+ /**
67
+ * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(近).
68
+ *
69
+ * @default 20 mm
70
+ */
71
+ $Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance: number;
72
+ /**
73
+ * 配置--环形输送线--是否绘制默认的光电传感器.
74
+ *
75
+ * @default false
76
+ */
77
+ $Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor: boolean;
60
78
  /**
61
79
  * 配置--环形输送线--顶升移载机--操作持续时间.
62
80
  *
@@ -216,46 +234,86 @@ export interface IKgSimulatorStoreActions {
216
234
  saveScene(): Promise<void>;
217
235
  /**
218
236
  * 配置--环形输送线--代理者--全局加速度. 默认为 16 m/min/s, (16 * 1000) / (60 * 1000 * 1000) mm/ms^2.
237
+ *
238
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Agent$GlobalAcceleration
219
239
  */
220
240
  set$Config$CircularConveyor$Agent$GlobalAcceleration(value: number | null | undefined): void;
221
241
  /**
222
242
  * 配置--环形输送线--代理者--全局最大速度. 默认为 16 m/min, (16 * 1000) / (60 * 1000) mm/ms.
243
+ *
244
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Agent$GlobalMaxVelocity
223
245
  */
224
246
  set$Config$CircularConveyor$Agent$GlobalMaxVelocity(value: number | null | undefined): void;
225
247
  /**
226
248
  * 配置--环形输送线--代理者--移动动画时间间隔, 单位毫秒. 默认为 25 毫秒.
249
+ *
250
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Agent$MoveAnimationInterval
227
251
  */
228
252
  set$Config$CircularConveyor$Agent$MoveAnimationInterval(value: number | null | undefined): void;
229
253
  /**
230
254
  * 配置--环形输送线--接口地址--创建代理者. 默认为 '/Agent/CreateAgent'.
255
+ *
256
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Api$CreateAgent
231
257
  */
232
258
  set$Config$CircularConveyor$Api$CreateAgent(value: string | null | undefined): void;
233
259
  /**
234
260
  * 配置--环形输送线--接口地址--创建场景. 默认为 '/Scene/CreateScene'.
261
+ *
262
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Api$CreateScene
235
263
  */
236
264
  set$Config$CircularConveyor$Api$CreateScene(value: string | null | undefined): void;
237
265
  /**
238
266
  * 配置--环形输送线--接口地址--销毁代理者. 默认为 '/Agent/DestroyAgent'.
267
+ *
268
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Api$DestroyAgent
239
269
  */
240
270
  set$Config$CircularConveyor$Api$DestroyAgent(value: string | null | undefined): void;
241
271
  /**
242
272
  * 配置--环形输送线--接口地址--查询场景列表. 默认为 '/Scene/GetScenes'.
273
+ *
274
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Api$RequestSceneList
243
275
  */
244
276
  set$Config$CircularConveyor$Api$RequestSceneList(value: string | null | undefined): void;
245
277
  /**
246
278
  * 配置--环形输送线--接口地址--更新场景. 默认为 '/Scene/SaveScene'.
279
+ *
280
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Api$UpdateScene
247
281
  */
248
282
  set$Config$CircularConveyor$Api$UpdateScene(value: string | null | undefined): void;
249
283
  /**
250
- * 配置--环形输送线--接口地址--WEBSOCKET. 默认为 '/Scene/GetScenes'.
284
+ * 配置--环形输送线--接口地址--WEBSOCKET. 默认为 '/ws'.
285
+ *
286
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Api$WebSocket
251
287
  */
252
288
  set$Config$CircularConveyor$Api$WebSocket(value: string | null | undefined): void;
253
289
  /**
254
- * 配置--环形输送线--顶升移载机--操作持续时间. 默认 2 * 1000 ms.
290
+ * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(远). 默认为 200 mm.
291
+ *
292
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$DefaultPhotoelectricSensor$LongDistance
293
+ */
294
+ set$Config$CircularConveyor$DefaultPhotoelectricSensor$LongDistance(value: number | null | undefined): void;
295
+ /**
296
+ * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(近). 默认为 20 mm.
297
+ *
298
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance
299
+ */
300
+ set$Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance(value: number | null | undefined): void;
301
+ /**
302
+ * 配置--环形输送线--是否绘制默认的光电传感器. 默认为 false.
303
+ *
304
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor
305
+ */
306
+ set$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor(value: boolean | null | undefined): void;
307
+ /**
308
+ * 配置--环形输送线--顶升移载机--操作持续时间. 默认为 2 * 1000 ms.
309
+ *
310
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$JackUpTransferStation$Duration
255
311
  */
256
312
  set$Config$CircularConveyor$JackUpTransferStation$Duration(value: number | null | undefined): void;
257
313
  /**
258
- * 配置--环形输送线--叠盘机--操作持续时间. 默认 15 * 1000 ms.
314
+ * 配置--环形输送线--叠盘机--操作持续时间. 默认为 15 * 1000 ms.
315
+ *
316
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$PalletStackerStation$Duration
259
317
  */
260
318
  set$Config$CircularConveyor$PalletStackerStation$Duration(value: number | null | undefined): void;
261
319
  /**
@@ -270,6 +328,8 @@ export interface IKgSimulatorStoreActions {
270
328
  set$Config$Env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
271
329
  /**
272
330
  * 配置--是否自动打开上一次的场景. 默认为 true.
331
+ *
332
+ * @see IKgSimulatorStoreGetters.$Config$IsReopenSceneOnStart
273
333
  */
274
334
  set$Config$IsReopenSceneOnStart(value: boolean | null | undefined): void;
275
335
  /**
@@ -283,21 +343,117 @@ export interface IKgSimulatorStoreActions {
283
343
  * @param value
284
344
  */
285
345
  set$Config$Mode(value: 'EDIT' | 'MONITOR' | 'SIMULATE' | null | undefined): void;
346
+ /**
347
+ * 配置--工具栏--预制组件--是否打开. 默认为 true.
348
+ *
349
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Prefab$IsOpen
350
+ * @param value
351
+ */
286
352
  set$Config$Toolbar$Prefab$IsOpen(value: boolean | null | undefined): void;
353
+ /**
354
+ * 配置--工具栏--预制组件--是否显示. 默认为 true.
355
+ *
356
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Prefab$IsVisible
357
+ * @param value
358
+ */
287
359
  set$Config$Toolbar$Prefab$IsVisible(value: boolean | null | undefined): void;
360
+ /**
361
+ * 配置--工具栏--预制组件--位置. 默认为 'LEFT_TOP'.
362
+ *
363
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Prefab$Placement
364
+ * @param value
365
+ */
288
366
  set$Config$Toolbar$Prefab$Placement(value: IToolbarPlacement | null | undefined): void;
367
+ /**
368
+ * 配置--工具栏--属性--是否打开. 默认为 true.
369
+ *
370
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Property$IsOpen
371
+ * @param value
372
+ */
289
373
  set$Config$Toolbar$Property$IsOpen(value: boolean | null | undefined): void;
374
+ /**
375
+ * 配置--工具栏--属性--是否显示. 默认为 true.
376
+ *
377
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Property$IsVisible
378
+ * @param value
379
+ */
290
380
  set$Config$Toolbar$Property$IsVisible(value: boolean | null | undefined): void;
381
+ /**
382
+ * 配置--工具栏--属性--位置. 默认为 'RIGHT_TOP'.
383
+ *
384
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Property$Placement
385
+ * @param value
386
+ */
291
387
  set$Config$Toolbar$Property$Placement(value: IToolbarPlacement | null | undefined): void;
388
+ /**
389
+ * 配置--工具栏--场景--是否打开. 默认为 true.
390
+ *
391
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Scene$IsOpen
392
+ * @param value
393
+ */
292
394
  set$Config$Toolbar$Scene$IsOpen(value: boolean | null | undefined): void;
395
+ /**
396
+ * 配置--工具栏--场景--是否显示. 默认为 true.
397
+ *
398
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Scene$IsVisible
399
+ * @param value
400
+ */
293
401
  set$Config$Toolbar$Scene$IsVisible(value: boolean | null | undefined): void;
402
+ /**
403
+ * 配置--工具栏--场景--位置. 默认为 'LEFT_TOP'.
404
+ *
405
+ * @see IKgSimulatorStoreGetters.$Config$Toolbar$Scene$Placement
406
+ * @param value
407
+ */
294
408
  set$Config$Toolbar$Scene$Placement(value: IToolbarPlacement | null | undefined): void;
409
+ /**
410
+ * 环境--环形输送线--当前场景.
411
+ *
412
+ * @see IKgSimulatorStoreGetters.$Env$CircularConveyor$CurrentScene
413
+ * @param value
414
+ */
295
415
  set$Env$CircularConveyor$CurrentScene(value: Scene | null | undefined): void;
416
+ /**
417
+ * 环境--环形输送线--当前场景--是否已经保存.
418
+ *
419
+ * @see IKgSimulatorStoreGetters.$Env$CircularConveyor$CurrentScene$IsSave
420
+ * @param value
421
+ */
296
422
  set$Env$CircularConveyor$CurrentScene$IsSave(value: boolean | null | undefined): void;
423
+ /**
424
+ * 环境--环形输送线--当前场景--是否正在保存.
425
+ *
426
+ * @see IKgSimulatorStoreGetters.$Env$CircularConveyor$CurrentScene$IsSaving
427
+ * @param value
428
+ */
297
429
  set$Env$CircularConveyor$CurrentScene$IsSaving(value: boolean | null | undefined): void;
430
+ /**
431
+ * 环境--环形穿梭车--当前场景.
432
+ *
433
+ * @see IKgSimulatorStoreGetters.$Env$CircularShuttle$CurrentScene
434
+ * @param value
435
+ */
298
436
  set$Env$CircularShuttle$CurrentScene(value: any | null | undefined): void;
437
+ /**
438
+ * 环境--环形穿梭车--当前场景--是否已经保存.
439
+ *
440
+ * @see IKgSimulatorStoreGetters.$Env$CircularShuttle$CurrentScene$IsSave
441
+ * @param value
442
+ */
299
443
  set$Env$CircularShuttle$CurrentScene$IsSave(value: boolean | null | undefined): void;
444
+ /**
445
+ * 环境--环形穿梭车--当前场景--是否正在保存.
446
+ *
447
+ * @see IKgSimulatorStoreGetters.$Env$CircularShuttle$CurrentScene$IsSaving
448
+ * @param value
449
+ */
300
450
  set$Env$CircularShuttle$CurrentScene$IsSaving(value: boolean | null | undefined): void;
451
+ /**
452
+ * 配置--模式--仿真模式--正在运行. 默认为 false.
453
+ *
454
+ * @see IKgSimulatorStoreGetters.$Mode$Simulate$IsRunning
455
+ * @param value
456
+ */
301
457
  set$Mode$Simulate$IsRunning(value: boolean | null | undefined): void;
302
458
  set$graph(value: Q.Graph | null | undefined): void;
303
459
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.55",
3
+ "version": "0.30.1-beta.57",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -47,7 +47,7 @@
47
47
  "@kengic/core.react": "0.0.2-beta.42",
48
48
  "@kengic/pont": "1.2.17-beta.5",
49
49
  "@rys-fe/vite-plugin-theme": "0.8.6",
50
- "@thymine/xunee": "0.4.9-beta.40",
50
+ "@thymine/xunee": "0.4.9-beta.42",
51
51
  "@types/crypto-js": "4.1.1",
52
52
  "@types/fs-extra": "9.0.13",
53
53
  "@types/inquirer": "8.2.5",