You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.8 KiB
49 lines
1.8 KiB
import type { IMeta } from '@/core/base/IMeta.ts'
|
|
|
|
export default [
|
|
{ field: 'uuid', editor: 'UUID', label: 'uuid', readonly: true, category: 'basic' },
|
|
{ field: 'name', editor: 'TextInput', label: '名称', category: 'basic' },
|
|
{ field: 'dt.label', editor: 'TextInput', label: '标签', category: 'basic' },
|
|
{ editor: 'TransformEditor', category: 'basic' },
|
|
{ field: 'dt.color', editor: 'Color', label: '颜色', category: 'basic' },
|
|
{ editor: '-', category: 'basic' },
|
|
|
|
{ field: 'dt.chargerWidth', editor: 'NumberInput', label: '充电桩宽度', category: 'basic' },
|
|
{ field: 'dt.chargerDepth', editor: 'NumberInput', label: '充电桩深度', category: 'basic' },
|
|
/**
|
|
* dt.bays 5列3层货架示例
|
|
* {
|
|
* dt: {
|
|
* rackDepth: 1.1, // 货架深度
|
|
* levelCount: 3, // 总层数
|
|
* bayCount: 5, // 总列数
|
|
* hideFloor: false, // 隐藏底板
|
|
* extendColumns: true, // 扩展挡板
|
|
* columnSpacing: 1, // 支脚跨越
|
|
* bays: [ // 每列的配置
|
|
* {
|
|
* bayWidth: 1.6, // 列的宽度
|
|
* levelHeight: [ 1.4, 1.4, 1.4 ] // 每层的高度
|
|
* },
|
|
* {bayWidth: 1.6, levelHeight: [ 1.4, 1.4, 1.4 ]},
|
|
* {bayWidth: 1.6, levelHeight: [ 1.4, 1.4, 1.4 ]},
|
|
* {bayWidth: 1.6, levelHeight: [ 1.4, 1.4, 1.4 ]},
|
|
* {bayWidth: 1.6, levelHeight: [ 1.4, 1.4, 1.4 ]},
|
|
* ]
|
|
* }
|
|
* }
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
|
|
{ field: 'tf', editor: 'InOutCenterEditor', category: 'basic' },
|
|
{ field: 'dt.selectable', editor: 'Switch', label: '可选中', category: 'basic' },
|
|
{ field: 'dt.protected', editor: 'Switch', label: '受保护', category: 'basic' },
|
|
{ field: 'visible', editor: 'Switch', label: '可见', category: 'basic' }
|
|
] as IMeta
|
|
|