智慧工地平台接口文档

智慧工地平台接口文档


获取指定设备的时间区间实时值

<h5>简要描述</h5> <ul> <li>获取指定设备的时间区间实时值</li> </ul> <h5>请求URL</h5> <ul> <li><code>ip:port/unloadingPlatformData/listUnloadDataScheduleCurrent?size=10&amp;amp;sort=fv54s3&amp;amp;page=1</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">header</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">authorization</td> <td style="text-align: left;">是</td> <td>string</td> <td>登录token值</td> </tr> </tbody> </table> <p><strong>请求参数:</strong></p> <table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Description</th> <th>Required</th> <th>Since</th> </tr> </thead> <tbody> <tr> <td>unloadIdSet</td> <td>array</td> <td>设备id集合</td> <td>false</td> <td>-</td> </tr> <tr> <td>createTime</td> <td>array</td> <td>BETWEEN</td> <td>false</td> <td>-</td> </tr> <tr> <td>page</td> <td>int32</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>size</td> <td>int32</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>sort</td> <td>string</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> </tbody> </table> <p><strong>Request-example:</strong></p> <pre><code>curl -X POST -H 'Content-Type: application/json' -H 'authorization:Bearer Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIyNzExYjRiMWIwODY0YmI2YTU2Y2Y0ZGJlNDE5ZjA5NSIsImF1dGgiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.6j6Q2KFpSfzwKG5nkWQ7gXdNnDbTKqVH-gNU8StmLlGCIpvuKN_2ycPrFcJaY5RPvYzQDjPoBk9J8VtSm0yLYA' -i ip:port/unloadingPlatformData/listUnloadDataScheduleCurrent?sort=aom8ag&amp;amp;size=10&amp;amp;page=1 --data '{&amp;quot;unloadIdSet&amp;quot;:[24],&amp;quot;createTime&amp;quot;:[2023-09-07 10:16:07]}'</code></pre> <p><strong>返回值</strong></p> <table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Description</th> <th>Required</th> <th>Since</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>int64</td> <td>ID</td> <td>false</td> <td>-</td> </tr> <tr> <td>unloadId</td> <td>int64</td> <td>设备ID</td> <td>false</td> <td>-</td> </tr> <tr> <td>awPercentUp</td> <td>float</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>alarmWeight</td> <td>float</td> <td>报警重量</td> <td>false</td> <td>-</td> </tr> <tr> <td>alarmWeightUp</td> <td>float</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>allowAlarm</td> <td>float</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>bias</td> <td>float</td> <td>偏置值(-100~100,bias&lt;0往左偏,bias&gt;0往右偏)</td> <td>false</td> <td>-</td> </tr> <tr> <td>ewPercentUp</td> <td>float</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>earlyWarningWeight</td> <td>float</td> <td>预警重量</td> <td>false</td> <td>-</td> </tr> <tr> <td>electricQuantity</td> <td>float</td> <td>电量百分比</td> <td>false</td> <td>-</td> </tr> <tr> <td>partialLoadWeightUp</td> <td>float</td> <td>No comments found.</td> <td>false</td> <td>-</td> </tr> <tr> <td>upstate</td> <td>int32</td> <td>数据状态 0正常 1预警 2报警</td> <td>false</td> <td>-</td> </tr> <tr> <td>weight</td> <td>float</td> <td>重量,单位千克</td> <td>false</td> <td>-</td> </tr> </tbody> </table>

页面列表

ITEM_HTML