用户工具

站点工具


wiki:v_interface_get_device_attributeset

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
wiki:v_interface_get_device_attributeset [2020/12/09 08:19]
admin 创建
wiki:v_interface_get_device_attributeset [2023/09/08 06:36] (当前版本)
admin
行 1: 行 1:
-<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-collapsecollapse; empty-cells:​ show; border-spacing:​ 0px; border: 1px solid rgb(204, 204, 204); color: rgb(51, 51, 51); font-familyArial, sans-serif; font-size14px;"><​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-size12pt;"><​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-size10.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;">&​nbsp;</​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;">&​nbsp;</​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;">&​nbsp;</​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;">&​nbsp;​</​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;">&​nbsp;​</​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;">&​nbsp;​</​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.4empadding0pxcolorrgb(51, 51, 51)font-familyArial, sans-seriffont-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><​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 />&​nbsp;​ &nbsp; &​quot;​code&​quot;:​ &​quot;​000000&​quot;,<​br />&​nbsp;​ &nbsp; &​quot;​message&​quot;:​ &​quot;​成功获取设备属性集信息!&​quot;,<​br />&​nbsp;​ &nbsp; &​quot;​data&​quot;:​ [<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 2,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​布防/​撤防&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​布防&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 3,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​工作模式&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​年检&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 12,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​起始时间段&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​0630&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 13,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​末尾时间段&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​2020&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 14,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​时间段标识&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;: ​null<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 128,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​Wifi SSID&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &quot;园哥的wifi&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; }<br />&​nbsp;​ &nbsp; ]<br />​}</​p>​+<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;"><​span style="​font-family:​ 宋体; font-size: 10.5pt;"​></span></​p><​p><​strong><​span ​style="​font-family:Arial;​color:​rgb(51,​ 51, 51);font-size:10.5pt;"><​span style="​font-family:宋体;">​请求参数:</​span></​span></​strong></​p><​table border="​1"​ cellspacing="​0"><​tbody><​tr><​td style="​width:​65.85pt;"><​p><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);​font-size:​10.5pt;">​参数</​span></​p></​td><​td style="​width:​52.35pt;"><​p><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);​font-size:​9pt;​">​是否必填</​span></​p></​td><​td style="​width:​78.95pt;"><​p><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);​font-size:​10.5pt;">​类型</​span></​p></​td><​td style="​width:​221.15pt;"><​p><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);​font-size:​10.5pt;">​描述</​span></​p></​td></​tr><​tr><​td style="​width:​65.85pt;"><​p><​span style="​font-family:​宋体;​color:rgb(51, 51, 51);font-size:9pt;">​deviceId</​span></​p></​td><​td style="​width:​52.35pt;"><​p><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);​font-size:​9pt;​">​是</​span></​p></​td><​td style="​width:​78.95pt;"><​p><​span style="​font-family:​宋体;​color:rgb(51, 51, 51);font-size:9pt;">String(UUID)</​span></​p></​td><​td style="​width:​221.15pt;"><​p><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);font-size:9pt;">​设备ID</​span></​p></​td></​tr></​tbody></​table><p><br /></p><​p><​strong><​span style="​font-family:​宋体;​color:​rgb(51,​ 51, 51);​font-size:​10.5pt;"><​span style="​font-family:​宋体;">​返回参数:</​span></​span></​strong></​p><​table border="​1"​ cellspacing="​0"><​tbody><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​参数</​span></​p></​td><​td style="​width:​82.5pt;"><​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:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​备注</​span></​p></​td></​tr><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​code</​span></​p></​td><​td style="​width:​82.5pt;"><​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;">​string</​span></​p></​td><​td style="​width:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">&​nbsp;</​span></​p></​td></​tr><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​message</​span></​p></​td><​td style="​width:​82.5pt;"><​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;">​string</​span></​p></​td><​td style="​width:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">&​nbsp;</​span></​p></​td></​tr><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​data</​span></​p></​td><​td style="​width:​82.5pt;"><​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:​Arial;color:rgb(51, 51, 51);​font-size:​10.5pt;">array&​lt;​object&​gt;​</​span></​p></​td><​td style="​width:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">&​nbsp;</​span></​p></​td></​tr><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​-deviceAttributeSetTypeCode</​span></​p></​td><​td style="​width:​82.5pt;"><​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;">​Integer</​span></​p></​td><​td style="​width:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">&​nbsp;​2</​span></​p></​td></​tr><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​-deviceAttributeSetTypeName</​span></​p></​td><​td style="​width:​82.5pt;"><​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;">​String</​span></​p></​td><​td style="​width:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">&​nbsp;​撤防/​布放</​span></​p></​td></​tr><​tr><​td style="​width:​152.5pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">​–deviceAttributeSetValue</​span></​p></​td><​td style="​width:​82.5pt;"><​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;">​String</​span></​p></​td><​td style="​width:​103.45pt;"><​p><​span style="​font-family:​微软雅黑;​color:​rgb(51,​ 51, 51);​font-size:​9pt;">&​nbsp;​撤防</​span></​p></​td></​tr></​tbody></​table><​h3 style="​margin: 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family:​ Arial, sans-serif;"​><​strong><​span style="​font-size:​16px;"><​/span></​strong></​h3><p style="​font-family:​ Arial, sans-serif;"><​strong><​span style="​font-family:​ 宋体; ​font-size: ​10.5pt;"></​span></​strong></​p><​p ​class="​p" ​style="​margin-left0pttext-indent0ptbackground-imageinitialbackground-positioninitialbackground-size: ​initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;"><​strong><​span style="​font-family:​ 宋体; letter-spacing:​ 0pt; font-size: ​10.5pt; background-image:​ initial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;"><​span ​style="​font-family:宋体;"><​br />例:</​span>​</​span></​strong><​span ​style="​font-family: ​Arial; letter-spacing:​ 0pt; font-size: 9pt;"><o:p></o:p></span></​p><​p class="p" ​style="margin-left:​ 0pt; text-indent:​ 0pt; background-image:​ initial; background-position:​ initial; background-size: ​initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;"><​strong><​span style="​font-family: ​宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-image:​ initial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;"><​span style="font-family:​宋体;​">示例地址:<​/span></span></​strong><​span ​style="font-family:​ 宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-imageinitial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;">https://</​span><​span ​style="font-family:​ 宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-imageinitial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;">www.zxyun119.com/​thirdPartyApi</​span><​span ​style="font-family:​ 宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-image:​ initial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;">/​ThreePlaceREST</​span><​span ​style="​font-family: ​宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-image:​ initial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;">/​api/​2.0/​getDeviceAttributeSet</​span><​span ​style="font-family:​ 宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-image:​ initial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;">?​deviceId=8d718ce3-050c-4e95-87a8-3261b607bde9</​span><​span style="​font-family:​ Arial; letter-spacing: 0pt; font-size: ​9pt;"><​o:​p></​o:​p>​</​span></​p><p class="p" ​style="margin-left:​ 0pt; text-indent:​ 0pt; background-image:​ initial; background-position:​ initial; background-size: ​initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;"><​strong><​span style="font-family:​ 宋体; letter-spacing:​ 0pt; font-size: 10.5pt; background-image:​ initial; background-position:​ initial; background-size:​ initial; background-repeat:​ initial; background-attachment:​ initial; background-origin:​ initial; background-clip:​ initial;"><​span style="​font-family:​宋体;">示例结果:</​span><​/span></​strong><​span style="font-family:​ Arial; letter-spacing:​ 0pt; font-size: ​9pt;"><​o:​p></​o:​p></​span></​p><​p style="​font-family: ​Arial, sans-serif;"><​strong>​<​span ​style="font-family:​ 宋体; font-size: 10.5pt;"></​span></​strong></​p><​h3 style="​margin:​ 0px 0px 1.4em; padding: 0px; color: rgb(51, 51, 51); font-family:​ Arial, sans-serif;"><​span style="​font-family:​ 宋体;"><​span 16px=""​ style=""><​strong>​<span style="​font-size:16px;"></​span>​</​strong></​span></​span></​h3><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 />&​nbsp;​ &nbsp; &​quot;​code&​quot;:​ &​quot;​000000&​quot;,<​br />&​nbsp;​ &nbsp; &​quot;​message&​quot;:​ &​quot;​成功获取设备属性集信息!&​quot;,<​br />&​nbsp;​ &nbsp; &​quot;​data&​quot;:​ [<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 2,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​布防/​撤防&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​布防&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 3,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​工作模式&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​年检&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 12,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​起始时间段&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​0630&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 13,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​末尾时间段&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &​quot;​2020&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 14,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​时间段标识&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;: ​<span style="​color:​ rgb(51, 51, 51); font-family:​ Arial, sans-serif; font-size: 14px;">&​quot;​-&​quot;</​span>​<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; },<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; {<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeCode&​quot;:​ 128,<br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetTypeName&​quot;:​ &​quot;​Wifi SSID&​quot;,<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &​quot;​deviceAttributeSetValue&​quot;:​ &quot;我家的wifi&​quot;<​br />&​nbsp;​ &nbsp; &nbsp; &nbsp; }<br />&​nbsp;​ &nbsp; ]<br />​}</​p>​
wiki/v_interface_get_device_attributeset.1607501945.txt.gz · 最后更改: 2020/12/09 08:19 由 admin