@kengic/vue 0.30.1-beta.2 → 0.30.1-beta.21
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/CHANGELOG.md +1 -1
- package/dist/align-left-outlined.579b01c6.mjs +8 -0
- package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
- package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
- package/dist/caret-up-outlined.81b559ad.mjs +8 -0
- package/dist/double-right-outlined.f057a6b2.mjs +8 -0
- package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
- package/dist/holder-outlined.9e698750.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +133709 -96220
- package/dist/loading-outlined.13a15197.mjs +8 -0
- package/dist/more-outlined.8e1202ac.mjs +8 -0
- package/dist/palette-swatch-variant.f7258843.mjs +8 -0
- package/dist/project/build/utils.ts +20 -15
- package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +3 -3
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/WarehouseController/ListVO.d.ts +25 -0
- package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/index.d.ts +1 -1
- package/dist/src/api/WMS/models.d.ts +11 -5
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
- package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +15 -3
- package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +7 -1
- package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +1 -33
- package/dist/src/component/KgForm/KgForm.d.ts +3 -3
- package/dist/src/component/KgForm/index.d.ts +4 -4
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +1 -3
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +2 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +2 -6
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +4 -2
- package/dist/src/component/KgLayoutHeader/{components/KgLayoutHeaderLocale.d.ts → KgLayoutHeader.Locale.d.ts} +1 -1
- package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
- package/dist/src/component/KgModal/KgModal.d.ts +1 -1
- package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +74 -0
- package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +81 -0
- package/dist/src/component/KgSimulator/KgSimulator.Toolbar.Prefab.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.Toolbar.d.ts +113 -0
- package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +17 -0
- package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +363 -0
- package/dist/src/component/KgSimulator/KgSimulator.service.d.ts +20 -0
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +68 -0
- package/dist/src/component/KgSimulator/index.d.ts +3 -0
- package/dist/src/component/KgTable/{components/KgTable.BodyCell.d.ts → KgTable.BodyCell.d.ts} +1 -1
- package/dist/src/component/KgTable/{components/KgTable.HeaderCell.d.ts → KgTable.HeadCell.d.ts} +1 -1
- package/dist/src/component/KgTable/{components/setting/KgTable.Setting.service.d.ts → KgTable.Setting.service.d.ts} +1 -1
- package/dist/src/component/KgTable/KgTable.model.d.ts +0 -2
- package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +72 -0
- package/dist/src/component/KgVar/KgVar.model.d.ts +0 -5
- package/dist/src/component/KgVar/KgVarFactory.d.ts +12 -4
- package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -3
- package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +2 -2
- package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +4 -4
- package/dist/src/component/index.d.ts +1 -0
- package/dist/src/config/config.store.d.ts +15 -3
- package/dist/src/const/const.model.d.ts +549 -6
- package/dist/src/const/form-id.const.d.ts +10 -10
- package/dist/src/const/index.d.ts +0 -1
- package/dist/src/i18n/cs_CZ.d.ts +1 -1
- package/dist/src/i18n/en.d.ts +1 -1
- package/dist/src/i18n/es_ES.d.ts +1 -1
- package/dist/src/i18n/fr_FR.d.ts +1 -1
- package/dist/src/i18n/km_KH.d.ts +1 -1
- package/dist/src/i18n/ko_KR.d.ts +1 -1
- package/dist/src/i18n/vi_VN.d.ts +1 -1
- package/dist/src/i18n/zh_CN.d.ts +1 -1
- package/dist/src/page/{KgCircleVis/KgPageCircleVis.d.ts → KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts} +1 -1
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Legend.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Offline.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Setting.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Tab.Rgv.d.ts} +5 -5
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.d.ts +5 -0
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.hooks.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.hooks.d.ts} +6 -6
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.model.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.model.d.ts} +1 -1
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.store.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.store.d.ts} +12 -12
- package/dist/src/page/KgPageCircularShuttleMonitor/index.d.ts +1 -0
- package/dist/src/page/KgPageDda/KgPageDda.d.ts +1 -1
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +3 -3
- package/dist/src/page/index.d.ts +2 -2
- package/dist/src/project/src/utils/env.d.ts +0 -16
- package/dist/src/util/ant-design-vue.d.ts +1 -1
- package/package.json +8 -6
- package/dist/src/api/WMS/Controllers/WhController/ListVO.d.ts +0 -54
- package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
- package/dist/src/const/injection-keys.const.d.ts +0 -11
- package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Setting.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +0 -5
- package/dist/src/page/KgCircleVis/index.d.ts +0 -1
- /package/dist/src/api/WMS/Controllers/{WhController → WarehouseController}/index.d.ts +0 -0
- /package/dist/src/component/KgTable/{components/KgTable.Info.d.ts → KgTable.Info.d.ts} +0 -0
- /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts → KgTable.Setting.VarGridMaster.SaveAs.d.ts} +0 -0
- /package/dist/src/component/KgTable/{components/setting/KgTable.Setting.d.ts → KgTable.Setting.d.ts} +0 -0
- /package/dist/src/page/{KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 工具栏位置.
|
|
3
|
+
*/
|
|
4
|
+
export declare type ToolbarPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP' | 'RIGHT_BOTTOM';
|
|
5
|
+
/**
|
|
6
|
+
* 面板位置.
|
|
7
|
+
*/
|
|
8
|
+
export declare type PanelPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP' | 'RIGHT_BOTTOM';
|
|
9
|
+
/**
|
|
10
|
+
* 节点类型.
|
|
11
|
+
*/
|
|
12
|
+
export declare const NODE_KEY: {
|
|
13
|
+
/**
|
|
14
|
+
* 叠盘机.
|
|
15
|
+
*/
|
|
16
|
+
DPJ: string;
|
|
17
|
+
/**
|
|
18
|
+
* 顶升移载机.
|
|
19
|
+
*/
|
|
20
|
+
DSYZJ: string;
|
|
21
|
+
/**
|
|
22
|
+
* 光电传感器.
|
|
23
|
+
*/
|
|
24
|
+
GDCGQ: string;
|
|
25
|
+
/**
|
|
26
|
+
* 普通输送机.
|
|
27
|
+
*/
|
|
28
|
+
PTSSJ: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* 获取对象的属性名数组.
|
|
32
|
+
* @param obj 对象.
|
|
33
|
+
*/
|
|
34
|
+
export declare function keys<C extends object>(obj: C): Array<keyof C>;
|
|
35
|
+
/** 场景实体. */
|
|
36
|
+
export declare class Scene {
|
|
37
|
+
/** 场景中的代理. */
|
|
38
|
+
agents?: Array<Agent> | null;
|
|
39
|
+
/** 配置JSON. */
|
|
40
|
+
configurationJson?: string | null;
|
|
41
|
+
/** 创建时间. */
|
|
42
|
+
createdAt?: string | null;
|
|
43
|
+
/** 场景中的创建者. */
|
|
44
|
+
creators?: Array<Creator> | null;
|
|
45
|
+
/** 场景深度. */
|
|
46
|
+
depth?: number | null;
|
|
47
|
+
/** 场景描述. */
|
|
48
|
+
description?: string | null;
|
|
49
|
+
/** 场景中的销毁者. */
|
|
50
|
+
destroyers?: Array<Destroyer> | null;
|
|
51
|
+
/** 场景中的输送线段. */
|
|
52
|
+
edges?: Array<Edge> | null;
|
|
53
|
+
/** 重力加速度. */
|
|
54
|
+
gravity?: number | null;
|
|
55
|
+
/** 场景高度,对应Z轴. */
|
|
56
|
+
height?: number | null;
|
|
57
|
+
/** 湿度百分比. */
|
|
58
|
+
humidity?: number | null;
|
|
59
|
+
/** 场景唯一标识符(主键). */
|
|
60
|
+
id?: string | null;
|
|
61
|
+
/** 最后运行时间. */
|
|
62
|
+
lastRunTime?: string | null;
|
|
63
|
+
/** 场景名称. */
|
|
64
|
+
name?: string | null;
|
|
65
|
+
/** 场景中的站点. */
|
|
66
|
+
stations?: Array<Station> | null;
|
|
67
|
+
/** Status. */
|
|
68
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
69
|
+
/** 场景中的任务. */
|
|
70
|
+
tasks?: Array<AgentTask> | null;
|
|
71
|
+
/** 环境温度(摄氏度). */
|
|
72
|
+
temperature?: number | null;
|
|
73
|
+
/** 仿真时间倍率. */
|
|
74
|
+
timeScale?: number | null;
|
|
75
|
+
/** 更新时间. */
|
|
76
|
+
updatedAt?: string | null;
|
|
77
|
+
/** 场景宽度,对应X轴. */
|
|
78
|
+
width?: number | null;
|
|
79
|
+
constructor(obj?: Scene);
|
|
80
|
+
}
|
|
81
|
+
/** RGV代理实体。
|
|
82
|
+
* 从PLC下发命令执行动作的都算Agent。动作包括不限于移动,转弯、加速、减速等. */
|
|
83
|
+
export declare class Agent {
|
|
84
|
+
/**
|
|
85
|
+
* 当前加速度.单位m/s^2.
|
|
86
|
+
* <p>
|
|
87
|
+
* 加速时为正值,减速时为负值。匀速运行时为0
|
|
88
|
+
* 此为固定值,暂不支持动态加速度。
|
|
89
|
+
* </p>.
|
|
90
|
+
*/
|
|
91
|
+
acceleration?: number | null;
|
|
92
|
+
/**
|
|
93
|
+
* 角度(朝向).单位度.
|
|
94
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
95
|
+
*/
|
|
96
|
+
angle?: number | null;
|
|
97
|
+
/**
|
|
98
|
+
* 刹车的加速度. 注意该值应该为负值。单位m/s^2.
|
|
99
|
+
* <p>
|
|
100
|
+
* 此为固定值,暂不支持动态加速度。
|
|
101
|
+
* </p>.
|
|
102
|
+
*/
|
|
103
|
+
brakingAcceleration?: number | null;
|
|
104
|
+
/**
|
|
105
|
+
* 通信时延.单位s.
|
|
106
|
+
* 该变量CommunicationDelay和当前速度Velocity还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
107
|
+
* <p>
|
|
108
|
+
* 从Agent更新速度和当前加速度,到获取该信息,一直到Agent接收到变更信息之间的通信延迟。可适当调大以充当余量。
|
|
109
|
+
* </p>.
|
|
110
|
+
*/
|
|
111
|
+
communicationDelay?: number | null;
|
|
112
|
+
/** 创建时间. */
|
|
113
|
+
createdAt?: string | null;
|
|
114
|
+
/** Destination Task. */
|
|
115
|
+
destinationTask?: AgentTask | null;
|
|
116
|
+
/** 最终的目标任务Id. */
|
|
117
|
+
destinationTaskId?: string | null;
|
|
118
|
+
/** Agent高度,对应Z轴. */
|
|
119
|
+
height?: number | null;
|
|
120
|
+
/** 代理唯一标识符(主键). */
|
|
121
|
+
id?: string | null;
|
|
122
|
+
/** 是否可用,可能因为故障而去修理,这时状态为不可用,Agent不在边上. */
|
|
123
|
+
isAvailable?: boolean | null;
|
|
124
|
+
/** Agent长度,对应Y轴. */
|
|
125
|
+
length?: number | null;
|
|
126
|
+
/** 最大速度.单位m/s. */
|
|
127
|
+
maxVelocity?: number | null;
|
|
128
|
+
/** Scene. */
|
|
129
|
+
scene?: Scene | null;
|
|
130
|
+
/** 所属场景ID. */
|
|
131
|
+
sceneId?: string | null;
|
|
132
|
+
/** Status. */
|
|
133
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
134
|
+
/** Target Change Reason. */
|
|
135
|
+
targetChangeReason?: 0 | 1 | 2 | null;
|
|
136
|
+
/** Type. */
|
|
137
|
+
type?: 0 | 1 | 2 | null;
|
|
138
|
+
/** 更新时间. */
|
|
139
|
+
updatedAt?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* 当前速度.单位m/s.
|
|
142
|
+
* 该变量Velocity和通信时延CommunicationDelay还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
143
|
+
*/
|
|
144
|
+
velocity?: number | null;
|
|
145
|
+
/** Agent宽度,对应X轴. */
|
|
146
|
+
width?: number | null;
|
|
147
|
+
/** 坐标X. */
|
|
148
|
+
x?: number | null;
|
|
149
|
+
/** 坐标Y. */
|
|
150
|
+
y?: number | null;
|
|
151
|
+
/** 坐标Z. */
|
|
152
|
+
z?: number | null;
|
|
153
|
+
constructor(obj?: Agent);
|
|
154
|
+
}
|
|
155
|
+
/** 创建者. */
|
|
156
|
+
export declare class Creator {
|
|
157
|
+
/**
|
|
158
|
+
* 角度(朝向).单位度.
|
|
159
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
160
|
+
*/
|
|
161
|
+
angle?: number | null;
|
|
162
|
+
/** 创建时间. */
|
|
163
|
+
createdAt?: string | null;
|
|
164
|
+
/** 创建者高度,对应Z轴. */
|
|
165
|
+
height?: number | null;
|
|
166
|
+
/** 创建者唯一标识符(主键). */
|
|
167
|
+
id?: string | null;
|
|
168
|
+
/** 创建间隔,单位毫秒. */
|
|
169
|
+
interval?: number | null;
|
|
170
|
+
/** 创建者是否启用. */
|
|
171
|
+
isEnable?: boolean | null;
|
|
172
|
+
/** 创建者长度,对应Y轴. */
|
|
173
|
+
length?: number | null;
|
|
174
|
+
/** Scene. */
|
|
175
|
+
scene?: Scene | null;
|
|
176
|
+
/** 所属场景ID. */
|
|
177
|
+
sceneId?: string | null;
|
|
178
|
+
/** Station. */
|
|
179
|
+
station?: Station | null;
|
|
180
|
+
/** 所属站点Id. */
|
|
181
|
+
stationId?: string | null;
|
|
182
|
+
/** 更新时间. */
|
|
183
|
+
updatedAt?: string | null;
|
|
184
|
+
/** 创建者宽度,对应X轴. */
|
|
185
|
+
width?: number | null;
|
|
186
|
+
/** 坐标X. */
|
|
187
|
+
x?: number | null;
|
|
188
|
+
/** 坐标Y. */
|
|
189
|
+
y?: number | null;
|
|
190
|
+
/** 坐标Z. */
|
|
191
|
+
z?: number | null;
|
|
192
|
+
constructor(obj?: Creator);
|
|
193
|
+
}
|
|
194
|
+
/** 站点实体. */
|
|
195
|
+
export declare class Station {
|
|
196
|
+
/**
|
|
197
|
+
* 角度(朝向).单位度.
|
|
198
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
199
|
+
*/
|
|
200
|
+
angle?: number | null;
|
|
201
|
+
/** 创建时间. */
|
|
202
|
+
createdAt?: string | null;
|
|
203
|
+
/** Edge. */
|
|
204
|
+
edge?: Edge | null;
|
|
205
|
+
/** 站点所属边. */
|
|
206
|
+
edgeId?: string | null;
|
|
207
|
+
/** 设备高度,对应Z轴. */
|
|
208
|
+
height?: number | null;
|
|
209
|
+
/** 站点唯一标识符(主键). */
|
|
210
|
+
id?: string | null;
|
|
211
|
+
/** 设备长度,对应Y轴. */
|
|
212
|
+
length?: number | null;
|
|
213
|
+
/** Priority. */
|
|
214
|
+
priority?: 0 | 1 | 2 | null;
|
|
215
|
+
/** Scene. */
|
|
216
|
+
scene?: Scene | null;
|
|
217
|
+
/** 所属场景ID. */
|
|
218
|
+
sceneId?: string | null;
|
|
219
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
220
|
+
startOffset?: number | null;
|
|
221
|
+
/** Status. */
|
|
222
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
223
|
+
/** Type. */
|
|
224
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
225
|
+
/** 更新时间. */
|
|
226
|
+
updatedAt?: string | null;
|
|
227
|
+
/** 设备宽度,对应X轴. */
|
|
228
|
+
width?: number | null;
|
|
229
|
+
/** 坐标X. */
|
|
230
|
+
x?: number | null;
|
|
231
|
+
/** 坐标Y. */
|
|
232
|
+
y?: number | null;
|
|
233
|
+
/** 坐标Z. */
|
|
234
|
+
z?: number | null;
|
|
235
|
+
constructor(obj?: Station);
|
|
236
|
+
}
|
|
237
|
+
/** 代理任务实体. */
|
|
238
|
+
export declare class AgentTask {
|
|
239
|
+
/** Agent Task Type. */
|
|
240
|
+
agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
241
|
+
/**
|
|
242
|
+
* 角度(朝向).单位度.
|
|
243
|
+
* 0度表示向右(正X方向),90度表示向上(正Y方向),以此类推.
|
|
244
|
+
*/
|
|
245
|
+
angle?: number | null;
|
|
246
|
+
/** 创建时间. */
|
|
247
|
+
createdAt?: string | null;
|
|
248
|
+
/** 边绘制的高度,对应Z轴. */
|
|
249
|
+
height?: number | null;
|
|
250
|
+
/** 任务唯一标识符(主键). */
|
|
251
|
+
id?: string | null;
|
|
252
|
+
/** 边绘制的长度,对应Y轴. */
|
|
253
|
+
length?: number | null;
|
|
254
|
+
/**
|
|
255
|
+
* 任务序号.
|
|
256
|
+
* 当任务优先级一样时,通过该字段按序执行任务.
|
|
257
|
+
* 建议使用Date.UtcNow.Ticks.
|
|
258
|
+
*/
|
|
259
|
+
order?: number | null;
|
|
260
|
+
/** Priority. */
|
|
261
|
+
priority?: 1 | 2 | 3 | null;
|
|
262
|
+
/** Scene. */
|
|
263
|
+
scene?: Scene | null;
|
|
264
|
+
/** 所属场景ID. */
|
|
265
|
+
sceneId?: string | null;
|
|
266
|
+
/** Source Station. */
|
|
267
|
+
sourceStation?: Station | null;
|
|
268
|
+
/** 任务的目标站点Id. */
|
|
269
|
+
sourceStationId?: string | null;
|
|
270
|
+
/** Status. */
|
|
271
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
272
|
+
/** Target Station. */
|
|
273
|
+
targetStation?: Station | null;
|
|
274
|
+
/** 任务的目标站点Id. */
|
|
275
|
+
targetStationId?: string | null;
|
|
276
|
+
/** 更新时间. */
|
|
277
|
+
updatedAt?: string | null;
|
|
278
|
+
/** 边绘制的宽度,对应X轴. */
|
|
279
|
+
width?: number | null;
|
|
280
|
+
/** 坐标X. */
|
|
281
|
+
x?: number | null;
|
|
282
|
+
/** 坐标Y. */
|
|
283
|
+
y?: number | null;
|
|
284
|
+
/** 坐标Z. */
|
|
285
|
+
z?: number | null;
|
|
286
|
+
constructor(obj?: AgentTask);
|
|
287
|
+
}
|
|
288
|
+
export declare class Destroyer {
|
|
289
|
+
/**
|
|
290
|
+
* 角度(朝向).单位度.
|
|
291
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
292
|
+
*/
|
|
293
|
+
angle?: number | null;
|
|
294
|
+
/** 创建时间. */
|
|
295
|
+
createdAt?: string | null;
|
|
296
|
+
/** 销毁者高度,对应Z轴. */
|
|
297
|
+
height?: number | null;
|
|
298
|
+
/** 销毁者唯一标识符(主键). */
|
|
299
|
+
id?: string | null;
|
|
300
|
+
/** 销毁间隔,单位毫秒. */
|
|
301
|
+
interval?: number | null;
|
|
302
|
+
/** 销毁者是否启用. */
|
|
303
|
+
isEnable?: boolean | null;
|
|
304
|
+
/** 销毁者长度,对应Y轴. */
|
|
305
|
+
length?: number | null;
|
|
306
|
+
/** Scene. */
|
|
307
|
+
scene?: Scene | null;
|
|
308
|
+
/** 所属场景ID. */
|
|
309
|
+
sceneId?: string | null;
|
|
310
|
+
/** Station. */
|
|
311
|
+
station?: Station | null;
|
|
312
|
+
/** 所属站点Id. */
|
|
313
|
+
stationId?: string | null;
|
|
314
|
+
/** 更新时间. */
|
|
315
|
+
updatedAt?: string | null;
|
|
316
|
+
/** 销毁者宽度,对应X轴. */
|
|
317
|
+
width?: number | null;
|
|
318
|
+
/** 坐标X. */
|
|
319
|
+
x?: number | null;
|
|
320
|
+
/** 坐标Y. */
|
|
321
|
+
y?: number | null;
|
|
322
|
+
/** 坐标Z. */
|
|
323
|
+
z?: number | null;
|
|
324
|
+
constructor(obj?: Destroyer);
|
|
325
|
+
}
|
|
326
|
+
/** 输送线段实体. */
|
|
327
|
+
export declare class Edge {
|
|
328
|
+
/**
|
|
329
|
+
* 角度(朝向).单位度.
|
|
330
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
331
|
+
* 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
|
|
332
|
+
*/
|
|
333
|
+
angle?: number | null;
|
|
334
|
+
/** 创建时间. */
|
|
335
|
+
createdAt?: string | null;
|
|
336
|
+
/** 边绘制的高度,对应Z轴. */
|
|
337
|
+
height?: number | null;
|
|
338
|
+
/** 线段唯一标识符(主键). */
|
|
339
|
+
id?: string | null;
|
|
340
|
+
/** 边绘制的长度,对应Y轴. */
|
|
341
|
+
length?: number | null;
|
|
342
|
+
/** Scene. */
|
|
343
|
+
scene?: Scene | null;
|
|
344
|
+
/** 所属场景ID. */
|
|
345
|
+
sceneId?: string | null;
|
|
346
|
+
/** 起始位置. */
|
|
347
|
+
source?: string | null;
|
|
348
|
+
/** 结束位置. */
|
|
349
|
+
target?: string | null;
|
|
350
|
+
/** Type. */
|
|
351
|
+
type?: 0 | 1 | null;
|
|
352
|
+
/** 更新时间. */
|
|
353
|
+
updatedAt?: string | null;
|
|
354
|
+
/** 边绘制的宽度,对应X轴. */
|
|
355
|
+
width?: number | null;
|
|
356
|
+
/** 坐标X. */
|
|
357
|
+
x?: number | null;
|
|
358
|
+
/** 坐标Y. */
|
|
359
|
+
y?: number | null;
|
|
360
|
+
/** 坐标Z. */
|
|
361
|
+
z?: number | null;
|
|
362
|
+
constructor(obj?: Edge);
|
|
363
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare type IUseDraw = {
|
|
3
|
+
/**
|
|
4
|
+
* 绘制图形.
|
|
5
|
+
*
|
|
6
|
+
* @param param
|
|
7
|
+
* @param param.isZoomToOverview 是否纵览比例, 默认为 false.
|
|
8
|
+
*/
|
|
9
|
+
draw(param?: {
|
|
10
|
+
isZoomToOverview?: boolean;
|
|
11
|
+
}): void;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* 绘制.
|
|
15
|
+
*
|
|
16
|
+
* @param param.graphData 图形数据.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useDraw(param: {
|
|
19
|
+
graphData: Ref<any | null>;
|
|
20
|
+
}): IUseDraw;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
|
2
|
+
import { KgStoreDefinition } from '../../const';
|
|
3
|
+
import { Scene, ToolbarPlacement } from './KgSimulator.model';
|
|
4
|
+
export interface IKgSimulatorStoreGetters {
|
|
5
|
+
/**
|
|
6
|
+
* 环形输送机画布数据.
|
|
7
|
+
*/
|
|
8
|
+
$circularConveyorGraphData: Scene | null;
|
|
9
|
+
/**
|
|
10
|
+
* 环形穿梭车画布数据.
|
|
11
|
+
*/
|
|
12
|
+
$circularShuttleGraphData: any | null;
|
|
13
|
+
/**
|
|
14
|
+
* 配置--环境--是否是环形输送机.
|
|
15
|
+
*
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
$config$env$isCircularConveyor: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 配置--环境--是否是环形穿梭车.
|
|
21
|
+
*
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
$config$env$isCircularShuttle: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 配置--工具栏--预制组件--是否打开.
|
|
27
|
+
*
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
$config$toolbar$prefab$isOpen: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 配置--工具栏--预制组件--是否显示.
|
|
33
|
+
*
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
$config$toolbar$prefab$isVisible: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* 配置--工具栏--预制组件--名称.
|
|
39
|
+
*
|
|
40
|
+
* @default '预制组件'
|
|
41
|
+
*/
|
|
42
|
+
$config$toolbar$prefab$name: string;
|
|
43
|
+
/**
|
|
44
|
+
* 配置--工具栏--预制组件--位置.
|
|
45
|
+
*
|
|
46
|
+
* @default 'LEFT_TOP'
|
|
47
|
+
*/
|
|
48
|
+
$config$toolbar$prefab$placement: ToolbarPlacement;
|
|
49
|
+
$graph: Q.Graph | null;
|
|
50
|
+
}
|
|
51
|
+
export interface IKgSimulatorStoreActions {
|
|
52
|
+
set$circularConveyorGraphData(value: Scene | null | undefined): void;
|
|
53
|
+
set$circularShuttleGraphData(value: any | null | undefined): void;
|
|
54
|
+
/**
|
|
55
|
+
* <p>设置环境. 默认为环形输送机.</p>
|
|
56
|
+
* <ul>
|
|
57
|
+
* <li>CIRCULAR_CONVEYOR: 环形输送机</li>
|
|
58
|
+
* <li>CIRCULAR_SHUTTLE: 环形穿梭车</li>
|
|
59
|
+
* </ul>
|
|
60
|
+
*
|
|
61
|
+
* @param value
|
|
62
|
+
*/
|
|
63
|
+
set$config$env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
|
|
64
|
+
set$config$toolbar$prefab$isOpen(value: boolean | null | undefined): void;
|
|
65
|
+
set$config$toolbar$prefab$placement(value: ToolbarPlacement | null | undefined): void;
|
|
66
|
+
set$graph(value: Q.Graph | null | undefined): void;
|
|
67
|
+
}
|
|
68
|
+
export declare function buildKgSimulatorStore(id: string | null | undefined): KgStoreDefinition<IKgSimulatorStoreGetters, IKgSimulatorStoreActions>;
|
|
@@ -63,5 +63,3 @@ export declare const KG_TABLE_TD_MAX_WIDTH = 1920;
|
|
|
63
63
|
export declare const KG_TABLE_TD_CHECK_WIDTH = 32;
|
|
64
64
|
/** 序号列的宽度. */
|
|
65
65
|
export declare const KG_TABLE_TD_INDEX_WIDTH = 55;
|
|
66
|
-
/** 在表格内创建时, 空白行的临时主键. */
|
|
67
|
-
export declare const KG_TABLE_TEMP_ID = "__KG_TABLE_TEMP_ID__";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { VxeTableDefines } from 'vxe-table';
|
|
3
|
+
import { KG_TABLE_CELL_CONTEXT } from '../KgTable';
|
|
4
|
+
export declare const getProps: () => {
|
|
5
|
+
/**
|
|
6
|
+
* 列的数据.
|
|
7
|
+
*/
|
|
8
|
+
column: {
|
|
9
|
+
type: PropType<VxeTableDefines.ColumnInfo<any>>;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 行的数据.
|
|
13
|
+
*/
|
|
14
|
+
row: {
|
|
15
|
+
type: PropType<any>;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 所处环境.
|
|
19
|
+
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
|
20
|
+
*/
|
|
21
|
+
kgContext: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
default: KG_TABLE_CELL_CONTEXT;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const KgTable02BodyCell: import("vue").DefineComponent<{
|
|
27
|
+
/**
|
|
28
|
+
* 列的数据.
|
|
29
|
+
*/
|
|
30
|
+
column: {
|
|
31
|
+
type: PropType<VxeTableDefines.ColumnInfo<any>>;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 行的数据.
|
|
35
|
+
*/
|
|
36
|
+
row: {
|
|
37
|
+
type: PropType<any>;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 所处环境.
|
|
41
|
+
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
|
42
|
+
*/
|
|
43
|
+
kgContext: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
default: KG_TABLE_CELL_CONTEXT;
|
|
46
|
+
};
|
|
47
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgUpdateLinkClick"[], "kgUpdateLinkClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
/**
|
|
49
|
+
* 列的数据.
|
|
50
|
+
*/
|
|
51
|
+
column: {
|
|
52
|
+
type: PropType<VxeTableDefines.ColumnInfo<any>>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* 行的数据.
|
|
56
|
+
*/
|
|
57
|
+
row: {
|
|
58
|
+
type: PropType<any>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* 所处环境.
|
|
62
|
+
* @default KG_TABLE_CELL_CONTEXT.TABLE_CELL
|
|
63
|
+
*/
|
|
64
|
+
kgContext: {
|
|
65
|
+
type: PropType<string>;
|
|
66
|
+
default: KG_TABLE_CELL_CONTEXT;
|
|
67
|
+
};
|
|
68
|
+
}>> & {
|
|
69
|
+
onKgUpdateLinkClick?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
kgContext: string;
|
|
72
|
+
}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
1
|
import { IKgButtonProps } from '../KgButton';
|
|
3
2
|
import { IKgFormItemSlotControlParameter, IKgFormItemSlotControlRightParameter } from '../KgForm.Item/KgForm.Item.model';
|
|
4
3
|
import { IKgSearchProps } from '../KgSearch';
|
|
@@ -61,8 +60,6 @@ export declare type IKgSlots = {
|
|
|
61
60
|
[childFormID: string]: () => any;
|
|
62
61
|
};
|
|
63
62
|
};
|
|
64
|
-
/** 注入 kgSlots 参数. */
|
|
65
|
-
export declare const KG__DI__KG_VAR__KG_SLOTS: InjectionKey<IKgSlots | undefined>;
|
|
66
63
|
export declare type IKgProps = {
|
|
67
64
|
KgButton?: IKgButtonProps;
|
|
68
65
|
KgSearch?: IKgSearchProps;
|
|
@@ -71,5 +68,3 @@ export declare type IKgProps = {
|
|
|
71
68
|
KgTable02?: KgTable02Props;
|
|
72
69
|
KgVar?: KgVarProps;
|
|
73
70
|
};
|
|
74
|
-
/** 注入 kgProps 参数. */
|
|
75
|
-
export declare const KG__DI__KG_VAR__KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
|
|
@@ -4,7 +4,9 @@ export declare function KgVarFactory(param?: {
|
|
|
4
4
|
kgBackgroundGray: {
|
|
5
5
|
type: import("vue").PropType<boolean>;
|
|
6
6
|
default: undefined;
|
|
7
|
-
};
|
|
7
|
+
}; /**
|
|
8
|
+
* 子页面的组件.
|
|
9
|
+
*/
|
|
8
10
|
kgFormID: import("vue").PropType<string>;
|
|
9
11
|
kgLevel: {
|
|
10
12
|
type: import("vue").PropType<number>;
|
|
@@ -16,7 +18,9 @@ export declare function KgVarFactory(param?: {
|
|
|
16
18
|
kgBackgroundGray: {
|
|
17
19
|
type: import("vue").PropType<boolean>;
|
|
18
20
|
default: undefined;
|
|
19
|
-
};
|
|
21
|
+
}; /**
|
|
22
|
+
* 子页面的组件.
|
|
23
|
+
*/
|
|
20
24
|
kgFormID: import("vue").PropType<string>;
|
|
21
25
|
kgLevel: {
|
|
22
26
|
type: import("vue").PropType<number>;
|
|
@@ -35,7 +39,9 @@ export declare const KgVar2: import("vue").DefineComponent<{
|
|
|
35
39
|
kgBackgroundGray: {
|
|
36
40
|
type: import("vue").PropType<boolean>;
|
|
37
41
|
default: undefined;
|
|
38
|
-
};
|
|
42
|
+
}; /**
|
|
43
|
+
* 子页面的组件.
|
|
44
|
+
*/
|
|
39
45
|
kgFormID: import("vue").PropType<string>;
|
|
40
46
|
kgLevel: {
|
|
41
47
|
type: import("vue").PropType<number>;
|
|
@@ -47,7 +53,9 @@ export declare const KgVar2: import("vue").DefineComponent<{
|
|
|
47
53
|
kgBackgroundGray: {
|
|
48
54
|
type: import("vue").PropType<boolean>;
|
|
49
55
|
default: undefined;
|
|
50
|
-
};
|
|
56
|
+
}; /**
|
|
57
|
+
* 子页面的组件.
|
|
58
|
+
*/
|
|
51
59
|
kgFormID: import("vue").PropType<string>;
|
|
52
60
|
kgLevel: {
|
|
53
61
|
type: import("vue").PropType<number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IRemoveEventListener } from '@kengic/core.core';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { WarehouseDTO } from '../../api/WMS/models';
|
|
4
4
|
import { IKgWarehouseOnMountedEventListener } from './KgWarehouse.event';
|
|
5
5
|
import { useKgWarehouseStore } from './KgWarehouse.store';
|
|
6
6
|
export declare type IUseKgWarehouse = {
|
|
@@ -18,6 +18,6 @@ export declare type IUseKgWarehouse = {
|
|
|
18
18
|
/**
|
|
19
19
|
* 当前仓库.
|
|
20
20
|
*/
|
|
21
|
-
warehouse: ComputedRef<
|
|
21
|
+
warehouse: ComputedRef<WarehouseDTO | null>;
|
|
22
22
|
};
|
|
23
23
|
export declare function useKgWarehouse(): IUseKgWarehouse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WarehouseDTO } from '../../api/WMS/models';
|
|
2
2
|
import { KgStoreDefinition } from '../../const';
|
|
3
3
|
export interface IUseKgWarehouseStoreState {
|
|
4
4
|
/**
|
|
@@ -8,14 +8,14 @@ export interface IUseKgWarehouseStoreState {
|
|
|
8
8
|
/**
|
|
9
9
|
* 当前仓库.
|
|
10
10
|
*/
|
|
11
|
-
warehouse:
|
|
11
|
+
warehouse: WarehouseDTO | null;
|
|
12
12
|
}
|
|
13
13
|
export interface IUseKgWarehouseStoreGetters {
|
|
14
14
|
/**
|
|
15
15
|
* 是否显示弹窗.
|
|
16
16
|
*/
|
|
17
17
|
getVisible: boolean;
|
|
18
|
-
getWarehouse:
|
|
18
|
+
getWarehouse: WarehouseDTO | null;
|
|
19
19
|
}
|
|
20
20
|
export interface IUseKgWarehouseStoreActions {
|
|
21
21
|
/**
|
|
@@ -29,6 +29,6 @@ export interface IUseKgWarehouseStoreActions {
|
|
|
29
29
|
*
|
|
30
30
|
* @param warehouse 当前仓库.
|
|
31
31
|
*/
|
|
32
|
-
setWarehouse(warehouse?:
|
|
32
|
+
setWarehouse(warehouse?: WarehouseDTO | null): void;
|
|
33
33
|
}
|
|
34
34
|
export declare const useKgWarehouseStore: KgStoreDefinition<IUseKgWarehouseStoreGetters, IUseKgWarehouseStoreActions>;
|