属性相关API
Methods
-
inner getAllAttribute(funcRet)
-
获得所有属性md5
Parameters:
Name Type Description funcRet
getAllAttributeCallback -
inner getAllAttributeInfo(funcRet)
-
获得所有属性的信息
Parameters:
Name Type Description funcRet
getAllAttributeInfoCallback -
inner getAttributeInfo(md5, funcRet)
-
按属性md5查询属性信息
Parameters:
Name Type Description md5
string 属性md5
funcRet
getAttributeInfoCallback
Type Definitions
-
getAllAttributeCallback(returnValue)
-
getAllAttribute回调函数
Parameters:
Name Type Description returnValue
Array.<string> 属性md5
-
getAllAttributeInfoCallback(returnValue)
-
getAllAttributeInfo回调函数
Parameters:
Name Type Description returnValue
JSON getAllAttributeInfo回调函数JSON对象
格式如下
[{
Md5: string, 获取属性md5
Name: string, 获取编号名称,KZ1等等
Category: string, 获取大类,例如:墙、梁、板、柱等等;
Major: string, 获取专业 例如:土建、钢筋等等;
PID: int, 打开的代理工程id
Subcategory: string, 获取小类,比如剪力墙等等
floor: string, 楼层名称
DependElements: string[], 获取依赖该属性对象的element对象
}] -
getAttributeInfoCallback(returnValue)
-
getAttributeInfo回调函数
Parameters:
Name Type Description returnValue
JSON getAttributeInfo回调函数JSON对象
格式如下
{
Name: string, 获取编号名称,KZ1等等
Category: string, 获取大类,例如:墙、梁、板、柱等等;
Major: string, 获取专业 例如:土建、钢筋等等;
PID: int, 打开的代理工程id
Subcategory: string, 获取小类,比如剪力墙等等
floor: string, 楼层名称
DependElements: string[], 获取依赖该属性对象的element对象
}