@@ -4187,6 +4187,7 @@ context.meta2d.translate(
// maxText: 'max',
// minText: 'min',
scaleShow: false,
+ distance:10,
props: {
look:true,
custom: [
@@ -4219,11 +4220,65 @@ context.meta2d.translate(
key: 'scaleShow',
label: '刻度显示',
type: 'bool',
- }
+ },
+ {
+ key: 'wAmplitude',
+ label: '宽幅,推荐值0-10',
+ type: 'number',
+ placeholder:'默认2'
+ key: 'hAmplitude',
+ label: '高幅,推荐值1-10',
+ placeholder:'默认5'
+ key: 'distance',
+ label: '液边距',
]
}
},
+ name: '水箱',
+ icon: 'l-pool',
+ data: {
+ name: 'tank',
+ width: 350,
+ height: 120,
+ disableAnchor: true,
+ background: '#4583FF',
+ borderRadius: 0.1,
+ progress:0.5,
+ maxBackground: '#f5222d',
+ minBackground: '#52c41a',
+ props: {
+ look:true,
+ custom: [
+ ]
+ }
{
name: '指示灯',
icon: 'l-zhishideng',
@@ -50,7 +50,8 @@ const components = [
'thermometer1',
'airSwitch',
'waterTank',
- 'tablePlus'
+ 'tablePlus',
+ 'tank'
];
export const getDownloadList = (meta2dData: any, path: string = 'v') => {