皮带分页面当前状态信息
<h5>简要描述</h5>
<ul>
<li>皮带分页面<strong>当前状态信息</strong>接口</li>
<li>一个皮带对应一个,url中有belt_id</li>
</ul>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/743e73144d08c8baa2c8d8050ecb6786" alt="" /></p>
<h5>请求URL</h5>
<ul>
<li><code>http://host/api/belt/<int:belt_id>/currentalarm</code></li>
</ul>
<h5>返回示例</h5>
<pre><code> {
"error_code": 0,
"data": [0,0,0,0,0,0,0,1,0,1]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">error_code</td>
<td style="text-align: left;">int</td>
<td>为0时表示无错误</td>
</tr>
</tbody>
</table>
<p>data中数据依次是10个测点的当前运行信息</p>