@kengic/vue 0.30.1-beta.37 → 0.30.1-beta.38

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.
@@ -2,20 +2,29 @@ import { ExtractPropTypes, PropType } from 'vue';
2
2
  import './KgCanvas.css';
3
3
  export declare const getProps: () => {
4
4
  /**
5
- * 画布--工具按钮--交互模式--是否可用.
5
+ * 该组件实例的唯一标识.
6
+ */
7
+ id: {
8
+ type: PropType<string>;
9
+ required: boolean;
10
+ };
11
+ /**
12
+ * 画布--右键菜单--重新加载--是否可用.
6
13
  *
7
14
  * @default true
8
15
  */
9
- KgCanvasToolbarButtonMode$isAvailable: {
16
+ kg$ContextMenu$Reload$IsAvailable: {
10
17
  type: PropType<boolean>;
11
18
  default: boolean;
12
19
  };
13
20
  /**
14
- * 该组件实例的唯一标识.
21
+ * 画布--工具按钮--交互模式--是否可用.
22
+ *
23
+ * @default true
15
24
  */
16
- id: {
17
- type: PropType<string>;
18
- required: boolean;
25
+ kg$KgCanvasToolbarButtonMode$IsAvailable: {
26
+ type: PropType<boolean>;
27
+ default: boolean;
19
28
  };
20
29
  /**
21
30
  * 组件 KgCanvasToolbarButtonFullscreen 的参数.
@@ -68,20 +77,29 @@ export declare const getProps: () => {
68
77
  export declare type KgCanvasProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
69
78
  declare const _default: import("vue").DefineComponent<{
70
79
  /**
71
- * 画布--工具按钮--交互模式--是否可用.
80
+ * 该组件实例的唯一标识.
81
+ */
82
+ id: {
83
+ type: PropType<string>;
84
+ required: boolean;
85
+ };
86
+ /**
87
+ * 画布--右键菜单--重新加载--是否可用.
72
88
  *
73
89
  * @default true
74
90
  */
75
- KgCanvasToolbarButtonMode$isAvailable: {
91
+ kg$ContextMenu$Reload$IsAvailable: {
76
92
  type: PropType<boolean>;
77
93
  default: boolean;
78
94
  };
79
95
  /**
80
- * 该组件实例的唯一标识.
96
+ * 画布--工具按钮--交互模式--是否可用.
97
+ *
98
+ * @default true
81
99
  */
82
- id: {
83
- type: PropType<string>;
84
- required: boolean;
100
+ kg$KgCanvasToolbarButtonMode$IsAvailable: {
101
+ type: PropType<boolean>;
102
+ default: boolean;
85
103
  };
86
104
  /**
87
105
  * 组件 KgCanvasToolbarButtonFullscreen 的参数.
@@ -132,20 +150,29 @@ declare const _default: import("vue").DefineComponent<{
132
150
  };
133
151
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
134
152
  /**
135
- * 画布--工具按钮--交互模式--是否可用.
153
+ * 该组件实例的唯一标识.
154
+ */
155
+ id: {
156
+ type: PropType<string>;
157
+ required: boolean;
158
+ };
159
+ /**
160
+ * 画布--右键菜单--重新加载--是否可用.
136
161
  *
137
162
  * @default true
138
163
  */
139
- KgCanvasToolbarButtonMode$isAvailable: {
164
+ kg$ContextMenu$Reload$IsAvailable: {
140
165
  type: PropType<boolean>;
141
166
  default: boolean;
142
167
  };
143
168
  /**
144
- * 该组件实例的唯一标识.
169
+ * 画布--工具按钮--交互模式--是否可用.
170
+ *
171
+ * @default true
145
172
  */
146
- id: {
147
- type: PropType<string>;
148
- required: boolean;
173
+ kg$KgCanvasToolbarButtonMode$IsAvailable: {
174
+ type: PropType<boolean>;
175
+ default: boolean;
149
176
  };
150
177
  /**
151
178
  * 组件 KgCanvasToolbarButtonFullscreen 的参数.
@@ -195,7 +222,8 @@ declare const _default: import("vue").DefineComponent<{
195
222
  default: boolean;
196
223
  };
197
224
  }>>, {
198
- KgCanvasToolbarButtonMode$isAvailable: boolean;
225
+ kg$ContextMenu$Reload$IsAvailable: boolean;
226
+ kg$KgCanvasToolbarButtonMode$IsAvailable: boolean;
199
227
  kgIsEditable: boolean;
200
228
  kgIsEnableOverview: boolean;
201
229
  kgIsGridBackground: boolean;
@@ -1 +1,27 @@
1
- export declare const TODO1: {};
1
+ /**
2
+ * 节点用户属性.
3
+ */
4
+ export declare type IKgCanvasElementProperties = {
5
+ /**
6
+ * 编码, 全局唯一.
7
+ */
8
+ key?: string;
9
+ /**
10
+ * 数据.
11
+ */
12
+ data?: any;
13
+ /**
14
+ * 是否启用提示文本.
15
+ */
16
+ isEnableTooltip?: boolean;
17
+ /**
18
+ * 样式.
19
+ */
20
+ style?: {
21
+ /**
22
+ * 鼠标划过时的指针样式.
23
+ */
24
+ hoverCursor?: 'pointer' | 'default';
25
+ };
26
+ [index: string]: any;
27
+ };
@@ -1,38 +1,12 @@
1
1
  import { Q } from '@thymine/xunee';
2
2
  import { Ref } from 'vue';
3
3
  import { IKgCanvasContextMenu, KgCanvasContextMenuProps } from './KgCanvas.ContextMenu';
4
- /**
5
- * 用户属性.
6
- */
7
- export declare type IKgCanvasElementProperties = {
8
- /**
9
- * 编码, 全局唯一.
10
- */
11
- key?: string;
12
- /**
13
- * 数据.
14
- */
15
- data?: any;
16
- /**
17
- * 是否启用提示文本.
18
- */
19
- isEnableTooltip?: boolean;
20
- /**
21
- * 样式.
22
- */
23
- style?: {
24
- /**
25
- * 鼠标划过时的指针样式.
26
- */
27
- hoverCursor?: 'pointer' | 'default';
28
- };
29
- [index: string]: any;
30
- };
31
4
  export declare type IUseGlobalContextMenuList = {
32
5
  globalContextMenuList: Array<IKgCanvasContextMenu>;
33
6
  };
34
7
  export declare function _useGlobalContextMenuList(param: {
35
8
  id: string | undefined;
9
+ kg$ContextMenu$Reload$IsAvailable?: boolean | null | undefined;
36
10
  }): IUseGlobalContextMenuList;
37
11
  export declare type IUseResizeObserver = {};
38
12
  export declare function _useResizeObserver(param: {
@@ -1,4 +1,4 @@
1
1
  export { default as KgCanvas } from './KgCanvas';
2
2
  export { type IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
3
3
  export * from './KgCanvas.hooks';
4
- export { type IKgCanvasElementProperties } from './KgCanvas.service';
4
+ export { type IKgCanvasElementProperties } from './KgCanvas.model';
@@ -1,5 +1,5 @@
1
1
  import { Q } from '@thymine/xunee';
2
- import { Agent, Creator, Destroyer, Station } from './KgSimulator.model';
2
+ import { Agent, Creator, Destroyer, JackUpTransferStation, PalletStackerStation, PhotoelectricSensor, Station } from './KgSimulator.model';
3
3
  export declare type IUseDraw = {
4
4
  /**
5
5
  * 绘制环形输送线--绘制代理者.
@@ -26,7 +26,7 @@ export declare type IUseDraw = {
26
26
  * @param param.dpj 叠盘机.
27
27
  */
28
28
  circularConveyor$DrawDPJ(param?: {
29
- dpj: Station;
29
+ dpj: PalletStackerStation;
30
30
  }): Q.Node | null;
31
31
  /**
32
32
  * 绘制环形输送线--绘制顶升移载机.
@@ -35,7 +35,7 @@ export declare type IUseDraw = {
35
35
  * @param param.dsyzj 顶升移载机.
36
36
  */
37
37
  circularConveyor$DrawDSYZJ(param?: {
38
- dsyzj: Station;
38
+ dsyzj: JackUpTransferStation;
39
39
  }): Q.Node | null;
40
40
  /**
41
41
  * 绘制环形输送线--绘制销毁者.
@@ -53,7 +53,7 @@ export declare type IUseDraw = {
53
53
  * @param param.gdcgq 光电传感器.
54
54
  */
55
55
  circularConveyor$DrawGDCGQ(param?: {
56
- gdcgq: Station;
56
+ gdcgq: PhotoelectricSensor;
57
57
  }): Q.Node | null;
58
58
  /**
59
59
  * 绘制环形输送线--绘制普通输送机.
@@ -205,6 +205,17 @@ export declare class AgentStatusUpdateRequest {
205
205
  z?: number | null;
206
206
  constructor(obj?: AgentStatusUpdateRequest);
207
207
  }
208
+ export declare class AgentStatusUpdateRequestWebSocketMessage {
209
+ /** Data. */
210
+ data?: any | null;
211
+ /** Message Id. */
212
+ messageId?: string | null;
213
+ /** Timestamp. */
214
+ timestamp?: string | null;
215
+ /** Type. */
216
+ type?: string | null;
217
+ constructor(obj?: AgentStatusUpdateRequestWebSocketMessage);
218
+ }
208
219
  /** 代理任务实体. */
209
220
  export declare class AgentTask {
210
221
  /** Agent Task Type. */
@@ -847,12 +858,31 @@ export declare class PhotoelectricSensorDto {
847
858
  z?: number | null;
848
859
  constructor(obj?: PhotoelectricSensorDto);
849
860
  }
861
+ export declare class PlcActionRequestWebSocketMessage {
862
+ /** Action Type. */
863
+ actionType?: string | null;
864
+ /** Data. */
865
+ data?: any | null;
866
+ /** Message Id. */
867
+ messageId?: string | null;
868
+ /** Timestamp. */
869
+ timestamp?: string | null;
870
+ /** Type. */
871
+ type?: string | null;
872
+ constructor(obj?: PlcActionRequestWebSocketMessage);
873
+ }
850
874
  /** 用于前端生成类型定义. */
851
875
  export declare class PontRequest {
852
876
  /** Agent Created Message. */
853
877
  agentCreatedMessage?: AgentCreatedMessage | null;
854
878
  /** Agent Destroyed Message. */
855
879
  agentDestroyedMessage?: AgentDestroyedMessage | null;
880
+ /** Agent Status Update Request Web Socket Message. */
881
+ agentStatusUpdateRequestWebSocketMessage?: AgentStatusUpdateRequestWebSocketMessage | null;
882
+ /** Plc Action Request Web Socket Message. */
883
+ plcActionRequestWebSocketMessage?: PlcActionRequestWebSocketMessage | null;
884
+ /** Web Socket Message. */
885
+ webSocketMessage?: WebSocketMessage | null;
856
886
  constructor(obj?: PontRequest);
857
887
  }
858
888
  export declare class Result<T0> {
@@ -1097,6 +1127,18 @@ export declare class UpdateSceneStatusRequest {
1097
1127
  status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
1098
1128
  constructor(obj?: UpdateSceneStatusRequest);
1099
1129
  }
1130
+ /** WebSocket消息类型. */
1131
+ export declare class WebSocketMessage {
1132
+ /** Data. */
1133
+ data?: any | null;
1134
+ /** Message Id. */
1135
+ messageId?: string | null;
1136
+ /** Timestamp. */
1137
+ timestamp?: string | null;
1138
+ /** Type. */
1139
+ type?: string | null;
1140
+ constructor(obj?: WebSocketMessage);
1141
+ }
1100
1142
  /**
1101
1143
  * 获取对象的属性名数组.
1102
1144
  * @param obj 对象.
@@ -1167,10 +1209,38 @@ export declare type IDragDataTransferData = {
1167
1209
  * 节点数据.
1168
1210
  */
1169
1211
  export declare type INodeProperty = {
1212
+ /**
1213
+ * 代理者--移动--移动方向.
1214
+ */
1215
+ $Agent$Move$Direction?: 'UP' | 'DOWN' | 'LEFT' | 'RIGHT';
1216
+ /**
1217
+ * 代理者--移动--是否正在移动.
1218
+ */
1219
+ $Agent$Move$IsMoving?: boolean;
1220
+ /**
1221
+ * 代理者--移动--目标 X.
1222
+ */
1223
+ $Agent$Move$ToX?: number;
1224
+ /**
1225
+ * 代理者--移动--目标 Y.
1226
+ */
1227
+ $Agent$Move$ToY?: number;
1170
1228
  /**
1171
1229
  * 创建者--计时器.
1172
1230
  */
1173
1231
  $Creator$Timer?: number;
1232
+ /**
1233
+ * 顶升移栽机--是否正在下降.
1234
+ */
1235
+ $DSYZJ$IsDownDoing?: boolean;
1236
+ /**
1237
+ * 顶升移栽机--是否正在上升.
1238
+ */
1239
+ $DSYZJ$IsUpDoing?: boolean;
1240
+ /**
1241
+ * 顶升移栽机--当前位置.
1242
+ */
1243
+ $DSYZJ$Position?: 'UP' | 'DOWN';
1174
1244
  /**
1175
1245
  * 创建者--计时器.
1176
1246
  */
@@ -1269,6 +1339,14 @@ export declare const NODE_UI_KEY: {
1269
1339
  * 顶升移载机--编号.
1270
1340
  */
1271
1341
  DSYZJ_CODE: string;
1342
+ /**
1343
+ * 顶升移载机--下降箭头.
1344
+ */
1345
+ DSYZJ_DOWN_ARROW: string;
1346
+ /**
1347
+ * 顶升移载机--上升箭头.
1348
+ */
1349
+ DSYZJ_UP_ARROW: string;
1272
1350
  /**
1273
1351
  * 连线--编号.
1274
1352
  */
@@ -3,156 +3,168 @@ import { WebSocketResult } from '@vueuse/core';
3
3
  import { KgStoreDefinition } from '../../const';
4
4
  import { IToolbarPlacement, Scene } from './KgSimulator.model';
5
5
  export interface IKgSimulatorStoreGetters {
6
+ /**
7
+ * 配置--环形输送线--代理者--全局加速度.
8
+ *
9
+ * @default 16 m/min/s, 16000/(60*1000*1000) mm/ms^2
10
+ */
11
+ $Config$CircularConveyor$Agent$GlobalAcceleration: number;
12
+ /**
13
+ * 配置--环形输送线--代理者--全局最大速度.
14
+ *
15
+ * @default 16 m/min, 16000/(60*1000) mm/ms
16
+ */
17
+ $Config$CircularConveyor$Agent$GlobalMaxVelocity: number;
6
18
  /**
7
19
  * 配置--环形输送线--接口地址--创建代理者.
8
20
  *
9
21
  * @default '/Agent/CreateAgent'
10
22
  */
11
- $config$circularConveyor$api$CreateAgent: string;
23
+ $Config$CircularConveyor$Api$CreateAgent: string;
12
24
  /**
13
25
  * 配置--环形输送线--接口地址--创建场景.
14
26
  *
15
27
  * @default '/Scene/CreateScene'
16
28
  */
17
- $config$circularConveyor$api$CreateScene: string;
29
+ $Config$CircularConveyor$Api$CreateScene: string;
18
30
  /**
19
31
  * 配置--环形输送线--接口地址--销毁代理者.
20
32
  *
21
33
  * @default '/Agent/DestroyAgent'
22
34
  */
23
- $config$circularConveyor$api$DestroyAgent: string;
35
+ $Config$CircularConveyor$Api$DestroyAgent: string;
24
36
  /**
25
37
  * 配置--环形输送线--接口地址--查询场景列表.
26
38
  *
27
39
  * @default '/Scene/GetScenes'
28
40
  */
29
- $config$circularConveyor$api$RequestSceneList: string;
41
+ $Config$CircularConveyor$Api$RequestSceneList: string;
30
42
  /**
31
43
  * 配置--环形输送线--接口地址--更新场景.
32
44
  *
33
45
  * @default '/Scene/SaveScene'
34
46
  */
35
- $config$circularConveyor$api$UpdateScene: string;
47
+ $Config$CircularConveyor$Api$UpdateScene: string;
36
48
  /**
37
49
  * 配置--环形输送线--接口地址--WEBSOCKET.
38
50
  *
39
51
  * @default '/Scene/GetScenes'
40
52
  */
41
- $config$circularConveyor$api$ws: string;
53
+ $Config$CircularConveyor$Api$WebSocket: string;
42
54
  /**
43
55
  * 配置--环境--是否是环形输送线.
44
56
  *
45
57
  * @default true
46
58
  */
47
- $config$env$isCircularConveyor: boolean;
59
+ $Config$Env$IsCircularConveyor: boolean;
48
60
  /**
49
61
  * 配置--环境--是否是环形穿梭车.
50
62
  *
51
63
  * @default false
52
64
  */
53
- $config$env$isCircularShuttle: boolean;
65
+ $Config$Env$IsCircularShuttle: boolean;
54
66
  /**
55
67
  * 配置--工具栏--预制组件--是否打开.
56
68
  *
57
69
  * @default true
58
70
  */
59
- $config$toolbar$prefab$isOpen: boolean;
71
+ $Config$Toolbar$Prefab$IsOpen: boolean;
60
72
  /**
61
73
  * 配置--工具栏--预制组件--是否显示.
62
74
  *
63
75
  * @default true
64
76
  */
65
- $config$toolbar$prefab$isVisible: boolean;
77
+ $Config$Toolbar$Prefab$IsVisible: boolean;
66
78
  /**
67
79
  * 配置--工具栏--预制组件--位置.
68
80
  *
69
81
  * @default 'LEFT_TOP'
70
82
  */
71
- $config$toolbar$prefab$placement: IToolbarPlacement;
83
+ $Config$Toolbar$Prefab$Placement: IToolbarPlacement;
72
84
  /**
73
85
  * 配置--工具栏--属性--是否打开.
74
86
  *
75
87
  * @default true
76
88
  */
77
- $config$toolbar$property$isOpen: boolean;
89
+ $Config$Toolbar$Property$IsOpen: boolean;
78
90
  /**
79
91
  * 配置--工具栏--属性--是否显示.
80
92
  *
81
93
  * @default true
82
94
  */
83
- $config$toolbar$property$isVisible: boolean;
95
+ $Config$Toolbar$Property$IsVisible: boolean;
84
96
  /**
85
97
  * 配置--工具栏--属性--位置.
86
98
  *
87
99
  * @default 'RIGHT_TOP'
88
100
  */
89
- $config$toolbar$property$placement: IToolbarPlacement;
101
+ $Config$Toolbar$Property$Placement: IToolbarPlacement;
90
102
  /**
91
103
  * 配置--工具栏--场景--是否打开.
92
104
  *
93
105
  * @default true
94
106
  */
95
- $config$toolbar$scene$isOpen: boolean;
107
+ $Config$Toolbar$Scene$IsOpen: boolean;
96
108
  /**
97
109
  * 配置--工具栏--场景--是否显示.
98
110
  *
99
111
  * @default true
100
112
  */
101
- $config$toolbar$scene$isVisible: boolean;
113
+ $Config$Toolbar$Scene$IsVisible: boolean;
102
114
  /**
103
115
  * 配置--工具栏--场景--位置.
104
116
  *
105
117
  * @default 'LEFT_TOP'
106
118
  */
107
- $config$toolbar$scene$placement: IToolbarPlacement;
119
+ $Config$Toolbar$Scene$Placement: IToolbarPlacement;
108
120
  /**
109
121
  * 环境--环形输送线--当前场景.
110
122
  */
111
- $env$circularConveyor$currentScene: Scene | null;
123
+ $Env$CircularConveyor$CurrentScene: Scene | null;
112
124
  /**
113
125
  * 环境--环形输送线--当前场景--是否已经保存.
114
126
  */
115
- $env$circularConveyor$currentScene$isSave: boolean;
127
+ $Env$CircularConveyor$CurrentScene$IsSave: boolean;
116
128
  /**
117
129
  * 环境--环形输送线--当前场景--是否正在保存.
118
130
  */
119
- $env$circularConveyor$currentScene$isSaving: boolean;
131
+ $Env$CircularConveyor$CurrentScene$IsSaving: boolean;
120
132
  /**
121
133
  * 环境--环形穿梭车--当前场景.
122
134
  */
123
- $env$circularShuttle$currentScene: any | null;
135
+ $Env$CircularShuttle$CurrentScene: any | null;
124
136
  /**
125
137
  * 环境--环形穿梭车--当前场景--是否已经保存.
126
138
  */
127
- $env$circularShuttle$currentScene$isSave: boolean;
139
+ $Env$CircularShuttle$CurrentScene$IsSave: boolean;
128
140
  /**
129
141
  * 环境--环形穿梭车--当前场景--是否正在保存.
130
142
  */
131
- $env$circularShuttle$currentScene$isSaving: boolean;
143
+ $Env$CircularShuttle$CurrentScene$IsSaving: boolean;
132
144
  /**
133
145
  * 模式--是否是编辑模式.
134
146
  *
135
147
  * @default true
136
148
  */
137
- $mode$isEdit: boolean;
149
+ $Mode$IsEdit: boolean;
138
150
  /**
139
151
  * 模式--是否是监控模式.
140
152
  *
141
153
  * @default false
142
154
  */
143
- $mode$isMonitor: boolean;
155
+ $Mode$IsMonitor: boolean;
144
156
  /**
145
157
  * 配置--模式--是否是仿真模式.
146
158
  *
147
159
  * @default false
148
160
  */
149
- $mode$isSimulate: boolean;
161
+ $Mode$IsSimulate: boolean;
150
162
  /**
151
163
  * 配置--模式--仿真模式--正在运行.
152
164
  *
153
165
  * @default false
154
166
  */
155
- $mode$simulate$isRunning: boolean;
167
+ $Mode$Simulate$IsRunning: boolean;
156
168
  }
157
169
  export interface IKgSimulatorStoreActions {
158
170
  /**
@@ -172,12 +184,14 @@ export interface IKgSimulatorStoreActions {
172
184
  * 保存场景.
173
185
  */
174
186
  saveScene(): Promise<void>;
175
- set$config$circularConveyor$api$CreateAgent(value: string | null | undefined): void;
176
- set$config$circularConveyor$api$CreateScene(value: string | null | undefined): void;
177
- set$config$circularConveyor$api$DestroyAgent(value: string | null | undefined): void;
178
- set$config$circularConveyor$api$RequestSceneList(value: string | null | undefined): void;
179
- set$config$circularConveyor$api$UpdateScene(value: string | null | undefined): void;
180
- set$config$circularConveyor$api$ws(value: string | null | undefined): void;
187
+ set$Config$CircularConveyor$Agent$GlobalAcceleration(value: number | null | undefined): void;
188
+ set$Config$CircularConveyor$Agent$GlobalMaxVelocity(value: number | null | undefined): void;
189
+ set$Config$CircularConveyor$Api$CreateAgent(value: string | null | undefined): void;
190
+ set$Config$CircularConveyor$Api$CreateScene(value: string | null | undefined): void;
191
+ set$Config$CircularConveyor$Api$DestroyAgent(value: string | null | undefined): void;
192
+ set$Config$CircularConveyor$Api$RequestSceneList(value: string | null | undefined): void;
193
+ set$Config$CircularConveyor$Api$UpdateScene(value: string | null | undefined): void;
194
+ set$Config$CircularConveyor$Api$WebSocket(value: string | null | undefined): void;
181
195
  /**
182
196
  * <p>设置环境.</p>
183
197
  * <ul>
@@ -187,7 +201,7 @@ export interface IKgSimulatorStoreActions {
187
201
  *
188
202
  * @param value
189
203
  */
190
- set$config$env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
204
+ set$Config$Env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
191
205
  /**
192
206
  * <p>设置模式. 默认为编辑模式.</p>
193
207
  * <ul>
@@ -198,23 +212,23 @@ export interface IKgSimulatorStoreActions {
198
212
  *
199
213
  * @param value
200
214
  */
201
- set$config$mode(value: 'EDIT' | 'MONITOR' | 'SIMULATE' | null | undefined): void;
202
- set$config$toolbar$prefab$isOpen(value: boolean | null | undefined): void;
203
- set$config$toolbar$prefab$isVisible(value: boolean | null | undefined): void;
204
- set$config$toolbar$prefab$placement(value: IToolbarPlacement | null | undefined): void;
205
- set$config$toolbar$property$isOpen(value: boolean | null | undefined): void;
206
- set$config$toolbar$property$isVisible(value: boolean | null | undefined): void;
207
- set$config$toolbar$property$placement(value: IToolbarPlacement | null | undefined): void;
208
- set$config$toolbar$scene$isOpen(value: boolean | null | undefined): void;
209
- set$config$toolbar$scene$isVisible(value: boolean | null | undefined): void;
210
- set$config$toolbar$scene$placement(value: IToolbarPlacement | null | undefined): void;
211
- set$env$circularConveyor$currentScene(value: Scene | null | undefined): void;
212
- set$env$circularConveyor$currentScene$isSave(value: boolean | null | undefined): void;
213
- set$env$circularConveyor$currentScene$isSaving(value: boolean | null | undefined): void;
214
- set$env$circularShuttle$currentScene(value: any | null | undefined): void;
215
- set$env$circularShuttle$currentScene$isSave(value: boolean | null | undefined): void;
216
- set$env$circularShuttle$currentScene$isSaving(value: boolean | null | undefined): void;
215
+ set$Config$Mode(value: 'EDIT' | 'MONITOR' | 'SIMULATE' | null | undefined): void;
216
+ set$Config$Toolbar$Prefab$IsOpen(value: boolean | null | undefined): void;
217
+ set$Config$Toolbar$Prefab$IsVisible(value: boolean | null | undefined): void;
218
+ set$Config$Toolbar$Prefab$Placement(value: IToolbarPlacement | null | undefined): void;
219
+ set$Config$Toolbar$Property$IsOpen(value: boolean | null | undefined): void;
220
+ set$Config$Toolbar$Property$IsVisible(value: boolean | null | undefined): void;
221
+ set$Config$Toolbar$Property$Placement(value: IToolbarPlacement | null | undefined): void;
222
+ set$Config$Toolbar$Scene$IsOpen(value: boolean | null | undefined): void;
223
+ set$Config$Toolbar$Scene$IsVisible(value: boolean | null | undefined): void;
224
+ set$Config$Toolbar$Scene$Placement(value: IToolbarPlacement | null | undefined): void;
225
+ set$Env$CircularConveyor$CurrentScene(value: Scene | null | undefined): void;
226
+ set$Env$CircularConveyor$CurrentScene$IsSave(value: boolean | null | undefined): void;
227
+ set$Env$CircularConveyor$CurrentScene$IsSaving(value: boolean | null | undefined): void;
228
+ set$Env$CircularShuttle$CurrentScene(value: any | null | undefined): void;
229
+ set$Env$CircularShuttle$CurrentScene$IsSave(value: boolean | null | undefined): void;
230
+ set$Env$CircularShuttle$CurrentScene$IsSaving(value: boolean | null | undefined): void;
231
+ set$Mode$Simulate$IsRunning(value: boolean | null | undefined): void;
217
232
  set$graph(value: Q.Graph | null | undefined): void;
218
- set$mode$simulate$isRunning(value: boolean | null | undefined): void;
219
233
  }
220
234
  export declare function buildKgSimulatorStore(id: string | null | undefined): KgStoreDefinition<IKgSimulatorStoreGetters, IKgSimulatorStoreActions>;
@@ -1,3 +1,4 @@
1
+ import { Q } from '@thymine/xunee';
1
2
  /**
2
3
  * 判断是不是同一个点, 考虑一定误差.
3
4
  */
@@ -6,3 +7,15 @@ export declare function isSamePoint(x1: number | null | undefined, x2: number |
6
7
  * 获取时间戳.
7
8
  */
8
9
  export declare function timestamp(): string;
10
+ /**
11
+ * 获取节点下的界面元素.
12
+ *
13
+ * @param param.code 编号.
14
+ * @param param.node 节点.
15
+ */
16
+ export declare function getNodeUiByCode<T extends Q.BaseUI>(param: {
17
+ code: string;
18
+ node: Q.Node;
19
+ }): {
20
+ ui: T;
21
+ };