Commit a620f441 authored by fenghen777's avatar fenghen777

feat: 数值类型符号增加参数名参数(param1-param4默认值)

parent 5863c171
...@@ -83,6 +83,7 @@ export const DEVICE_CATEGORIES = [ ...@@ -83,6 +83,7 @@ export const DEVICE_CATEGORIES = [
{ id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' }, { id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' },
], ],
params: [ params: [
{ key: 'name', label: '参数名', unit: '', defaultValue: 'param1' },
{ key: 'value', label: '值', unit: '', defaultValue: '0' }, { key: 'value', label: '值', unit: '', defaultValue: '0' },
], ],
}, },
...@@ -93,6 +94,7 @@ export const DEVICE_CATEGORIES = [ ...@@ -93,6 +94,7 @@ export const DEVICE_CATEGORIES = [
{ id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' }, { id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' },
], ],
params: [ params: [
{ key: 'name', label: '参数名', unit: '', defaultValue: 'param2' },
{ key: 'value', label: '值', unit: '', defaultValue: '0.0' }, { key: 'value', label: '值', unit: '', defaultValue: '0.0' },
], ],
}, },
...@@ -103,6 +105,7 @@ export const DEVICE_CATEGORIES = [ ...@@ -103,6 +105,7 @@ export const DEVICE_CATEGORIES = [
{ id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' }, { id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' },
], ],
params: [ params: [
{ key: 'name', label: '参数名', unit: '', defaultValue: 'param3' },
{ key: 'value', label: '值', unit: '', defaultValue: '' }, { key: 'value', label: '值', unit: '', defaultValue: '' },
], ],
}, },
...@@ -113,6 +116,7 @@ export const DEVICE_CATEGORIES = [ ...@@ -113,6 +116,7 @@ export const DEVICE_CATEGORIES = [
{ id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' }, { id: 'p-out', name: 'out', side: 'right', position: 0.5, type: 'signal', connector: 'out' },
], ],
params: [ params: [
{ key: 'name', label: '参数名', unit: '', defaultValue: 'param4' },
{ key: 'value', label: '值', unit: '', defaultValue: 'true' }, { key: 'value', label: '值', unit: '', defaultValue: 'true' },
], ],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment