@kengic/vue 0.30.1-beta.42 → 0.30.1-beta.45
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
64
|
+
$CircularConveyor$DrawPTSSJ(param?: {
|
|
65
65
|
ptssj: Station;
|
|
66
66
|
}): Q.Node | null;
|
|
67
67
|
/**
|
|
@@ -1221,13 +1221,18 @@ export declare type IDragDataTransferData = {
|
|
|
1221
1221
|
*/
|
|
1222
1222
|
export declare type INodeProperty = {
|
|
1223
1223
|
/**
|
|
1224
|
-
*
|
|
1224
|
+
* <p>代理者--移动--移动方向.</p>
|
|
1225
|
+
* <p>每个叠盘机的正下方都有一个普通输送机, 因此如果是叠盘, 则是从普通输送机到叠盘机, 此时坐标不会变化, 因此如果是拆盘, 则是从叠盘机到普通输送机, 此时坐标也不会变化,</p>
|
|
1225
1226
|
*/
|
|
1226
|
-
$Agent$Move$Direction?: 'UP' | 'DOWN' | 'LEFT' | 'RIGHT';
|
|
1227
|
+
$Agent$Move$Direction?: 'UP' | 'DOWN' | 'LEFT' | 'RIGHT' | 'DPJ';
|
|
1227
1228
|
/**
|
|
1228
1229
|
* 代理者--移动--是否正在移动.
|
|
1229
1230
|
*/
|
|
1230
1231
|
$Agent$Move$IsMoving?: boolean;
|
|
1232
|
+
/**
|
|
1233
|
+
* 代理者--移动--目标编码.
|
|
1234
|
+
*/
|
|
1235
|
+
$Agent$Move$ToCode?: string;
|
|
1231
1236
|
/**
|
|
1232
1237
|
* 代理者--移动--目标 X.
|
|
1233
1238
|
*/
|
|
@@ -1240,6 +1245,12 @@ export declare type INodeProperty = {
|
|
|
1240
1245
|
* 创建者--计时器.
|
|
1241
1246
|
*/
|
|
1242
1247
|
$Creator$Timer?: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* <p>叠盘机--最近叠盘的代理者主键.</p>
|
|
1250
|
+
* <p>如果叠盘机最近一次是叠盘操作, 则该属性记录了这次叠盘的代理者主键,</p>
|
|
1251
|
+
* <p>如果叠盘机最近一次是拆盘操作, 则该属性为 undefined,</p>
|
|
1252
|
+
*/
|
|
1253
|
+
$DPJ$CurrentAgentId?: string;
|
|
1243
1254
|
/**
|
|
1244
1255
|
* 叠盘机--是否正在叠盘.
|
|
1245
1256
|
*/
|
|
@@ -1248,10 +1259,6 @@ export declare type INodeProperty = {
|
|
|
1248
1259
|
* 叠盘机--是否正在拆盘.
|
|
1249
1260
|
*/
|
|
1250
1261
|
$DPJ$IsOutDoing?: boolean;
|
|
1251
|
-
/**
|
|
1252
|
-
* 叠盘机--是否已准备好叠盘或者拆盘.
|
|
1253
|
-
*/
|
|
1254
|
-
$DPJ$IsReady?: boolean;
|
|
1255
1262
|
/**
|
|
1256
1263
|
* 顶升移栽机--当前位置.
|
|
1257
1264
|
*/
|
|
@@ -6,13 +6,13 @@ export interface IKgSimulatorStoreGetters {
|
|
|
6
6
|
/**
|
|
7
7
|
* 配置--环形输送线--代理者--全局加速度.
|
|
8
8
|
*
|
|
9
|
-
* @default 16 m/min/s,
|
|
9
|
+
* @default 16 m/min/s, 16*1000/(60*1000*1000) mm/ms^2
|
|
10
10
|
*/
|
|
11
11
|
$Config$CircularConveyor$Agent$GlobalAcceleration: number;
|
|
12
12
|
/**
|
|
13
13
|
* 配置--环形输送线--代理者--全局最大速度.
|
|
14
14
|
*
|
|
15
|
-
* @default 16 m/min,
|
|
15
|
+
* @default 16 m/min, 16*1000/(60*1000) mm/ms
|
|
16
16
|
*/
|
|
17
17
|
$Config$CircularConveyor$Agent$GlobalMaxVelocity: number;
|
|
18
18
|
/**
|
|
@@ -51,6 +51,18 @@ export interface IKgSimulatorStoreGetters {
|
|
|
51
51
|
* @default '/Scene/GetScenes'
|
|
52
52
|
*/
|
|
53
53
|
$Config$CircularConveyor$Api$WebSocket: string;
|
|
54
|
+
/**
|
|
55
|
+
* 配置--环形输送线--顶升移载机--操作持续时间.
|
|
56
|
+
*
|
|
57
|
+
* @default 2 * 1000 ms
|
|
58
|
+
*/
|
|
59
|
+
$Config$CircularConveyor$JackUpTransferStation$Duration: number;
|
|
60
|
+
/**
|
|
61
|
+
* 配置--环形输送线--叠盘机--操作持续时间.
|
|
62
|
+
*
|
|
63
|
+
* @default 15 * 1000 ms
|
|
64
|
+
*/
|
|
65
|
+
$Config$CircularConveyor$PalletStackerStation$Duration: number;
|
|
54
66
|
/**
|
|
55
67
|
* 配置--环境--是否是环形输送线.
|
|
56
68
|
*
|
|
@@ -196,16 +208,48 @@ export interface IKgSimulatorStoreActions {
|
|
|
196
208
|
* 保存场景.
|
|
197
209
|
*/
|
|
198
210
|
saveScene(): Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* 配置--环形输送线--代理者--全局加速度. 默认为 16 m/min/s, (16 * 1000) / (60 * 1000 * 1000) mm/ms^2.
|
|
213
|
+
*/
|
|
199
214
|
set$Config$CircularConveyor$Agent$GlobalAcceleration(value: number | null | undefined): void;
|
|
215
|
+
/**
|
|
216
|
+
* 配置--环形输送线--代理者--全局最大速度. 默认为 16 m/min, (16 * 1000) / (60 * 1000) mm/ms.
|
|
217
|
+
*/
|
|
200
218
|
set$Config$CircularConveyor$Agent$GlobalMaxVelocity(value: number | null | undefined): void;
|
|
219
|
+
/**
|
|
220
|
+
* 配置--环形输送线--接口地址--创建代理者. 默认为 '/Agent/CreateAgent'.
|
|
221
|
+
*/
|
|
201
222
|
set$Config$CircularConveyor$Api$CreateAgent(value: string | null | undefined): void;
|
|
223
|
+
/**
|
|
224
|
+
* 配置--环形输送线--接口地址--创建场景. 默认为 '/Scene/CreateScene'.
|
|
225
|
+
*/
|
|
202
226
|
set$Config$CircularConveyor$Api$CreateScene(value: string | null | undefined): void;
|
|
227
|
+
/**
|
|
228
|
+
* 配置--环形输送线--接口地址--销毁代理者. 默认为 '/Agent/DestroyAgent'.
|
|
229
|
+
*/
|
|
203
230
|
set$Config$CircularConveyor$Api$DestroyAgent(value: string | null | undefined): void;
|
|
231
|
+
/**
|
|
232
|
+
* 配置--环形输送线--接口地址--查询场景列表. 默认为 '/Scene/GetScenes'.
|
|
233
|
+
*/
|
|
204
234
|
set$Config$CircularConveyor$Api$RequestSceneList(value: string | null | undefined): void;
|
|
235
|
+
/**
|
|
236
|
+
* 配置--环形输送线--接口地址--更新场景. 默认为 '/Scene/SaveScene'.
|
|
237
|
+
*/
|
|
205
238
|
set$Config$CircularConveyor$Api$UpdateScene(value: string | null | undefined): void;
|
|
239
|
+
/**
|
|
240
|
+
* 配置--环形输送线--接口地址--WEBSOCKET. 默认为 '/Scene/GetScenes'.
|
|
241
|
+
*/
|
|
206
242
|
set$Config$CircularConveyor$Api$WebSocket(value: string | null | undefined): void;
|
|
207
243
|
/**
|
|
208
|
-
*
|
|
244
|
+
* 配置--环形输送线--顶升移载机--操作持续时间. 默认 2 * 1000 ms.
|
|
245
|
+
*/
|
|
246
|
+
set$Config$CircularConveyor$JackUpTransferStation$Duration(value: number | null | undefined): void;
|
|
247
|
+
/**
|
|
248
|
+
* 配置--环形输送线--叠盘机--操作持续时间. 默认 15 * 1000 ms.
|
|
249
|
+
*/
|
|
250
|
+
set$Config$CircularConveyor$PalletStackerStation$Duration(value: number | null | undefined): void;
|
|
251
|
+
/**
|
|
252
|
+
* <p>设置环境. 默认为环形输送线.</p>
|
|
209
253
|
* <ul>
|
|
210
254
|
* <li>CIRCULAR_CONVEYOR: 环形输送线</li>
|
|
211
255
|
* <li>CIRCULAR_SHUTTLE: 环形穿梭车</li>
|
|
@@ -214,6 +258,9 @@ export interface IKgSimulatorStoreActions {
|
|
|
214
258
|
* @param value
|
|
215
259
|
*/
|
|
216
260
|
set$Config$Env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
|
|
261
|
+
/**
|
|
262
|
+
* 配置--是否自动打开上一次的场景. 默认为 true.
|
|
263
|
+
*/
|
|
217
264
|
set$Config$IsReopenSceneOnStart(value: boolean | null | undefined): void;
|
|
218
265
|
/**
|
|
219
266
|
* <p>设置模式. 默认为编辑模式.</p>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.45",
|
|
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",
|