New Samples Update. Modbus Coil Read Write Fix.
This commit is contained in:
30
Samples/TaskManager/Views/Home/Index.cshtml
Normal file
30
Samples/TaskManager/Views/Home/Index.cshtml
Normal file
@@ -0,0 +1,30 @@
|
||||
@model List<TaskManager.Models.TaskViewModel>
|
||||
@{
|
||||
ViewBag.Title = "Task Manager";
|
||||
}
|
||||
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr class="active">
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>Type</th>
|
||||
<th>Address</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var addressValue in @Model)
|
||||
{
|
||||
<tr>
|
||||
<td>@addressValue.Name</td>
|
||||
<td id="@addressValue.Id">@addressValue.Value</td>
|
||||
<td>@addressValue.Type</td>
|
||||
<td>@addressValue.Address</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@section scripts{
|
||||
<script src="~/Scripts/refresh.js"></script>
|
||||
}
|
||||
Reference in New Issue
Block a user