智慧工地平台接口文档

智慧工地平台接口文档


获取升降机实时运行数据

<h3>获取升降机实时运行数据</h3> <p>维护人:fanq</p> <h4>URL</h4> <ul> <li><code>POST</code> /ip:port/hoistDeviceData/listDeviceWorkCycleInfo</li> </ul> <p>描述:获取升降机实时运行数据</p> <p>ContentType:<code>application/json</code></p> <h4>请求头</h4> <table> <thead> <tr> <th>名称</th> <th>必填</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>authorization</td> <td>否</td> <td>登录token值</td> <td>Bearer Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyNzExYjRiMWIwODY0YmI2YTU2Y2Y0ZGJlNDE5ZjA5NSIsImF1dGgiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.6j6Q2KFpSfzwKG5nkWQ7gXdNnDbTKqVH-gNU8StmLlGCIpvuKN_2ycPrFcJaY5RPvYzQDjPoBk9J8VtSm0yLYA</td> </tr> </tbody> </table> <h4>请求参数</h4> <h5>Body Parameter</h5> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>deviceIdSet</td> <td>array</td> <td>否</td> <td>-</td> <td>No comments found.,[array of int64]</td> <td>365,888</td> </tr> <tr> <td>page</td> <td>int32</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>1</td> </tr> <tr> <td>size</td> <td>int32</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>10</td> </tr> <tr> <td>sort</td> <td>string</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>y8c66i</td> </tr> </tbody> </table> <h4>请求示例</h4> <pre><code>{ &amp;quot;deviceIdSet&amp;quot;: [ 365, 888 ], &amp;quot;page&amp;quot;: 1, &amp;quot;size&amp;quot;: 10, &amp;quot;sort&amp;quot;: &amp;quot;y8c66i&amp;quot; }</code></pre> <h4>响应参数</h4> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必填</th> <th>最大长度</th> <th>描述</th> <th>示例值</th> </tr> </thead> <tbody> <tr> <td>totalElements</td> <td>int64</td> <td>否</td> <td>-</td> <td>No comments found.</td> <td>607</td> </tr> <tr> <td>contentObj</td> <td>object</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ id</td> <td>int64</td> <td>否</td> <td>-</td> <td>id</td> <td>958</td> </tr> <tr> <td>└ deviceId</td> <td>int64</td> <td>否</td> <td>-</td> <td>设备ID</td> <td>500</td> </tr> <tr> <td>└ hoistTime</td> <td>object</td> <td>否</td> <td>-</td> <td>时间</td> <td>2023-09-08 14:30:21</td> </tr> <tr> <td>└ realTimeHeight</td> <td>double</td> <td>否</td> <td>-</td> <td>高度(m)</td> <td>71.20</td> </tr> <tr> <td>└ heightPercentage</td> <td>double</td> <td>否</td> <td>-</td> <td>高度百分比</td> <td>20.86</td> </tr> <tr> <td>└ realTimeLiftingWeight</td> <td>double</td> <td>否</td> <td>-</td> <td>重量(t)</td> <td>29.30</td> </tr> <tr> <td>└ weightPercentage</td> <td>double</td> <td>否</td> <td>-</td> <td>重量百分比</td> <td>44.37</td> </tr> <tr> <td>└ realTimeGradient1</td> <td>double</td> <td>否</td> <td>-</td> <td>倾斜度1,水平倾角x</td> <td>86.89</td> </tr> <tr> <td>└ realTimeGradient2</td> <td>double</td> <td>否</td> <td>-</td> <td>倾斜度2,垂直倾角y</td> <td>23.99</td> </tr> <tr> <td>└ tiltPercentage1</td> <td>double</td> <td>否</td> <td>-</td> <td>倾斜百分比1</td> <td>13.26</td> </tr> <tr> <td>└ tiltPercentage2</td> <td>double</td> <td>否</td> <td>-</td> <td>倾斜百分比2</td> <td>22.31</td> </tr> <tr> <td>└ realTimeNumberOfPeople</td> <td>int32</td> <td>否</td> <td>-</td> <td>人数</td> <td>387</td> </tr> <tr> <td>└ realTimeSpeed</td> <td>double</td> <td>否</td> <td>-</td> <td>速度的原始格式。</td> <td>12.74</td> </tr> <tr> <td>└ realTimeSpeedDirection</td> <td>int32</td> <td>否</td> <td>-</td> <td>速度方向,0停止,1上,2下</td> <td>645</td> </tr> <tr> <td>└ windSpeed</td> <td>double</td> <td>否</td> <td>-</td> <td>速度(m/s)</td> <td>27.04</td> </tr> <tr> <td>└ reallyWindSpeed</td> <td>double</td> <td>否</td> <td>-</td> <td>风速(m/s)</td> <td>26.80</td> </tr> <tr> <td>└ lockState</td> <td>string</td> <td>否</td> <td>-</td> <td>门锁状态</td> <td>oq8x6i</td> </tr> <tr> <td>└ hoistSystemState</td> <td>string</td> <td>否</td> <td>-</td> <td>系统状态的原始格式</td> <td>2awcoe</td> </tr> <tr> <td>└ systemState</td> <td>string</td> <td>否</td> <td>-</td> <td>系统状态</td> <td>yi5o33</td> </tr> <tr> <td>└ hoistLevel</td> <td>int32</td> <td>否</td> <td>-</td> <td>级别(0正常,1预警,2报警)</td> <td>359</td> </tr> <tr> <td>└ hoistAlarmReason</td> <td>int32</td> <td>否</td> <td>-</td> <td>警报原因</td> <td>192</td> </tr> <tr> <td>└ realTimeOrAlarm</td> <td>int32</td> <td>否</td> <td>-</td> <td>数据的类型(1实时值,2报警值)</td> <td>228</td> </tr> <tr> <td>└ driverIdentificationState</td> <td>int32</td> <td>否</td> <td>-</td> <td>驾驶员身份认证结果(0为未认证,非0为驾驶员工号)</td> <td>9</td> </tr> <tr> <td>content</td> <td>array</td> <td>否</td> <td></td> <td>No comments found.</td> <td></td> </tr> <tr> <td>└ any object</td> <td>object</td> <td>否</td> <td>-</td> <td>any object.</td> <td></td> </tr> </tbody> </table> <h4>响应示例</h4> <pre><code>{ &amp;quot;totalElements&amp;quot;: 607, &amp;quot;contentObj&amp;quot;: { &amp;quot;id&amp;quot;: 958, &amp;quot;deviceId&amp;quot;: 500, &amp;quot;hoistTime&amp;quot;: &amp;quot;2023-09-08 14:30:21&amp;quot;, &amp;quot;realTimeHeight&amp;quot;: 71.2, &amp;quot;heightPercentage&amp;quot;: 20.86, &amp;quot;realTimeLiftingWeight&amp;quot;: 29.3, &amp;quot;weightPercentage&amp;quot;: 44.37, &amp;quot;realTimeGradient1&amp;quot;: 86.89, &amp;quot;realTimeGradient2&amp;quot;: 23.99, &amp;quot;tiltPercentage1&amp;quot;: 13.26, &amp;quot;tiltPercentage2&amp;quot;: 22.31, &amp;quot;realTimeNumberOfPeople&amp;quot;: 387, &amp;quot;realTimeSpeed&amp;quot;: 12.74, &amp;quot;realTimeSpeedDirection&amp;quot;: 645, &amp;quot;windSpeed&amp;quot;: 27.04, &amp;quot;reallyWindSpeed&amp;quot;: 26.8, &amp;quot;lockState&amp;quot;: &amp;quot;oq8x6i&amp;quot;, &amp;quot;hoistSystemState&amp;quot;: &amp;quot;2awcoe&amp;quot;, &amp;quot;systemState&amp;quot;: &amp;quot;yi5o33&amp;quot;, &amp;quot;hoistLevel&amp;quot;: 359, &amp;quot;hoistAlarmReason&amp;quot;: 192, &amp;quot;realTimeOrAlarm&amp;quot;: 228, &amp;quot;driverIdentificationState&amp;quot;: 9 }, &amp;quot;content&amp;quot;: [ { &amp;quot;any object&amp;quot;: {} } ] }</code></pre> <h4>错误码</h4> <p>无</p>

页面列表

ITEM_HTML