You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.4 KiB
42 lines
1.4 KiB
@model List<Gateway>
|
|
@{
|
|
ViewBag.HideBread = true;
|
|
}
|
|
<div class="box">
|
|
<a class="btn btn-primary cmd" href="/api/refresh">查询所有网关</a>
|
|
<a class="btn btn-primary cmd" href="/api/refresh">查询所有网关</a>
|
|
</div>
|
|
<div class="box">
|
|
<table class="table table-bordered">
|
|
<tr>
|
|
<th>Sn编号</th>
|
|
<th>Ip地址</th>
|
|
<th>节点</th>
|
|
<th>推送</th>
|
|
<th>版本</th>
|
|
<th>用户名</th>
|
|
<th>密码</th>
|
|
<th>设备</th>
|
|
<th>编译版本</th>
|
|
<th>查询网关设备</th>
|
|
<th>查看</th>
|
|
</tr>
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>@item.Sn</td>
|
|
<td>@item.Ip</td>
|
|
<td>@item.NodeName</td>
|
|
<td>@Html.DisplayFor(o => item.Enable)</td>
|
|
<td>@item.Version</td>
|
|
<td>@item.UserName</td>
|
|
<td>@item.Password</td>
|
|
<td>@item.DeviceCount</td>
|
|
<td>@item.CompileVersion</td>
|
|
<td><a class="btn btn-primary cmd" href="/api/x81?sn=@item.Sn">查询网关信息</a></td>
|
|
<td><a class="btn btn-primary cmd" href="/api/x81?sn=@item.Sn">查询网关设备</a></td>
|
|
<td><a href="/Home/Gateway?sn=@item.Sn">查看设备</a></td>
|
|
</tr>
|
|
}
|
|
</table>
|
|
</div> |