跳至内容
中消云物联网研究院
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
wiki:v_interface_get_device_attributeset
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
<h3 style="padding: 0px; line-height: 1.2; clear: left; font-size: 1.125em; margin: 0px 0px 0.888em; color: rgb(51, 51, 51); font-family: Arial, sans-serif;"><span font-size:="" 14pt="">获取设备属性集信息</span></h3><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong>功能:</strong><span font-size:="" 10="" 5pt="">获取设备当前的属性集信息,目前可获取属性集设备包括1、WIFI设备,设备编号01_WF_XXXXXX059;2、TX3191-M设备,设备编号:01_NB_XXXXX076;3、自带电源照明灯设备,设备编号:01_NB_XXXXXXXX0229</span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong><span calibri="" font-size:="" 10="" 5pt=""><span>请求方式</span></span><span font-size:="" 10="" 5pt="">:</span></strong><span font-size:="" 10="" 5pt="">GET</span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong>请求路径:</strong><span calibri="" font-size:="" 10="" 5pt="">{projectServerUrl}/api/2.0/getDeviceAttributeSet<br /></span><span font-size:="" 10="" 5pt=""><br /></span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong><span></span></strong></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong>请求参数:</strong></p><table border="1" cellspacing="0" style="margin: 0px 0px 1.4em; padding: 0px; border-collapse: collapse; empty-cells: show; border-spacing: 0px; border: 1px solid rgb(204, 204, 204); color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><tbody><tr><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 65.85pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体; font-size: 10.5pt;">参数</span></p></td><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 52.35pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体;"><span 14px="">是否必填</span></span></p></td><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 78.95pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体; font-size: 10.5pt;">类型</span></p></td><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 221.15pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体; font-size: 10.5pt;">描述</span></p></td></tr><tr><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 65.85pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体; font-size: 12pt;"><span rgb="" 51="" font-size:="" 10="" 5pt="" font-family:="" calibri="">deviceId</span><br /></span></p></td><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 52.35pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体;"><span 14px="">是</span></span></p></td><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 78.95pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体; font-size: 10.5pt;">String<span rgb="" 51="" font-family:="" font-size:="" 14px="">(</span><span rgb="" 51="" font-size:="" 14px="" font-family:="" calibri="">UUID</span><span rgb="" 51="" font-family:="" font-size:="" 14px="">)</span><br /></span></p></td><td style="padding: 0.3em 0.5em; margin: 0px; vertical-align: top; border: 1px solid rgb(204, 204, 204); width: 221.15pt;"><p style="margin: 0px 0px 1.4em; padding: 0px;"><span style="font-family: 宋体; font-size: 12pt;">设备<span style="font-family: Calibri;">ID</span></span></p></td></tr></tbody></table><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;" /><p><span style="font-family:Arial;color:rgb(51, 51, 51);font-size:10.5pt;"><span style="font-family:宋体;">返回参数:</span></span></p><table border="1" cellspacing="0"><tbody><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">参数</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">名称</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">类型</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">备注</span></p></td></tr><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">code</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">返回码</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">string</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span></p></td></tr><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">message</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">提示语</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">string</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span></p></td></tr><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">data</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">数据</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:#333333;">Array</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span></p></td></tr><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">-</span><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">deviceAttributeSetTypeCode</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">属性编号</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">Integer</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">2</span></p></td></tr><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">-</span><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">deviceAttributeSetTypeName</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">属性名称</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">String</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">撤防/布放</span></p></td></tr><tr><td style="width:140.9pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">–deviceAttributeSetValue</span></p></td><td style="width:79.1pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">属性值</span></p></td><td style="width:70.3pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">String</span></p></td><td style="width:135.5pt;"><p><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;"> </span><span style="font-family:微软雅黑;color:rgb(51, 51, 51);font-size:9pt;">撤防</span></p></td></tr></tbody></table><br /><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;" /><span style="color: rgb(51, 51, 51); font-size: 14px; font-family: 宋体;"><span 14px=""><strong><br /></strong></span></span><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><span><span style="font-size: 16px;"><strong>示例:</strong></span></span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><strong><span style="font-size: 16px;"><span font-weight:="" 700="">示</span>例地址:</span></strong><span 10="" 5pt="" font-family:="" calibri=""></span><span rgb="" 51="" font-size:="" 10="" 5pt="" font-family:="" calibri="">https:/</span><span rgb="" 51="" font-size:="" 10="" 5pt="" font-family:="">/</span><span rgb="" 51="" font-size:="" 10="" 5pt="" font-family:="" calibri="">xf.tandatech.com:4433/thirdPartyApi</span><span 10="" 5pt="">/ThreePlaceREST</span><span 10="" 5pt="" font-family:="" calibri="">/api/2.0/</span><span 10="" 5pt=""></span><span calibri="" font-size:="" 14px=""><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;">getDeviceAttributeSet</span><br />?<span rgb="" 51="" font-size:="" 10="" 5pt="" font-family:="" calibri="">device</span><span rgb="" 51="" font-size:="" 10="" 5pt="" font-family:="">Id=<span 10="5pt=">cc739a05716c4bdfb3a06b33a4291a2d</span></span><br /></span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><span style="font-family: 宋体;"><span 16px=""><strong>示例结果:</strong></span></span></p><p style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"><span font-size:="" 10="" 5pt=""><strong></strong></span></p><p class="p" 0pt="" text-indent:="" background-image:="" initial="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" style="margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;">{<br /> "code": "000000",<br /> "message": "成功获取设备属性集信息!",<br /> "data": [<br /> {<br /> "deviceAttributeSetTypeCode": 2,<br /> "deviceAttributeSetTypeName": "布防/撤防",<br /> "deviceAttributeSetValue": "布防"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 3,<br /> "deviceAttributeSetTypeName": "工作模式",<br /> "deviceAttributeSetValue": "年检"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 12,<br /> "deviceAttributeSetTypeName": "起始时间段",<br /> "deviceAttributeSetValue": "0630"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 13,<br /> "deviceAttributeSetTypeName": "末尾时间段",<br /> "deviceAttributeSetValue": "2020"<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 14,<br /> "deviceAttributeSetTypeName": "时间段标识",<br /> "deviceAttributeSetValue": null<br /> },<br /> {<br /> "deviceAttributeSetTypeCode": 128,<br /> "deviceAttributeSetTypeName": "Wifi SSID",<br /> "deviceAttributeSetValue": "园哥的wifi"<br /> }<br /> ]<br />}</p>
wiki/v_interface_get_device_attributeset.1607501945.txt.gz
· 最后更改: 2020/12/09 08:19 由
admin
页面工具
显示页面
修订记录
反向链接
回到顶部