1.0
spaceId
[resource/params.spaceId]
group
设备是否按类型分组,缺省false不分组
9
false
query
poc
type
name
position
remark
spaceId
deviceId
=nvl(spaceId, $disabled)
='1'
eqData
设备类型树
clmt('dict/sys_eq', {scopeFilter: false}, 'rtn')
grid
设备分组
1
8
0
98
=a1!=null
0
1
2
3
4
5
6
7
=query.group(type)
1
0
0
=query.type
type
0
1
=get(treeNode(eqData, 'code', a1), 'name')
typeName
=query.list()
1
0
2
children
0
3
=query.deviceId
deviceId
0
4
=query.name
name
0
5
=query.position
position
0
6
=query.remark
remark
0
7
2
0
查询空间下的设备(所在关系)
2021-6-4 18:12
1
返回示例
分组:
{
"rtn": [
{
"type": "SETDHS",
"typeName": "高压开关柜",
"children": [
{
"deviceId": "6dcbd6a1f7904f50bd6d73fe132a5ac3",
"name": "高压开关柜01_1",
"position": "{\"x\":12,\"y\":23}"
}
]
}
]
}
不分租:
{
"rtn": [
{
"type": "SETDHS",
"name": "高压开关柜01_1",
"position": "{\"x\":12,\"y\":23}",
"spaceId": "Sp0002220011f170a7c74f8347589ea9863cfec65fab",
"deviceId": "6dcbd6a1f7904f50bd6d73fe132a5ac3"
}
]
}
2021-6-9 11:55
0