自控页面弹窗获取动作列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取命令列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xgkj.hljnyxx.com/dongnongBackend/Home/Plc/getActionInfo</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<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;">plcId</td>
<td style="text-align: left;">是</td>
<td>左侧菜单接口的 id 字段</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;查询成功&quot;,
&quot;data&quot;: {
&quot;action_info&quot;: [
{
&quot;name&quot;: &quot;遮阳上升&quot;,
&quot;id&quot;: &quot;0&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 1
},
{
&quot;name&quot;: &quot;遮阳下降&quot;,
&quot;id&quot;: &quot;0&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 2
},
{
&quot;name&quot;: &quot;外卷被上升&quot;,
&quot;id&quot;: &quot;1&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 3
},
{
&quot;name&quot;: &quot;外卷被下降&quot;,
&quot;id&quot;: &quot;1&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 4
},
{
&quot;name&quot;: &quot;外卷膜A上升&quot;,
&quot;id&quot;: &quot;2&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 5
},
{
&quot;name&quot;: &quot;外卷膜A下降&quot;,
&quot;id&quot;: &quot;2&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 6
},
{
&quot;name&quot;: &quot;外卷膜B上升&quot;,
&quot;id&quot;: &quot;3&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 7
},
{
&quot;name&quot;: &quot;外卷膜B下降&quot;,
&quot;id&quot;: &quot;3&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 8
},
{
&quot;name&quot;: &quot;内卷膜A上升&quot;,
&quot;id&quot;: &quot;4&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 9
},
{
&quot;name&quot;: &quot;内卷膜A下降&quot;,
&quot;id&quot;: &quot;4&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 10
},
{
&quot;name&quot;: &quot;内卷膜B上升&quot;,
&quot;id&quot;: &quot;5&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 11
},
{
&quot;name&quot;: &quot;内卷膜B下降&quot;,
&quot;id&quot;: &quot;5&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 12
},
{
&quot;name&quot;: &quot;内卷膜C上升&quot;,
&quot;id&quot;: &quot;6&quot;,
&quot;msg&quot;: 1,
&quot;uid&quot;: 13
},
{
&quot;name&quot;: &quot;内卷膜C下降&quot;,
&quot;id&quot;: &quot;6&quot;,
&quot;msg&quot;: 2,
&quot;uid&quot;: 14
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">name</td>
<td>命令名称</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td>后续传参用</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td>后续传参用</td>
</tr>
<tr>
<td style="text-align: left;">uid</td>
<td>唯一标识</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>无</li>
</ul>