2022-08-21 14:01:32 +00:00
|
|
|
|
@using IoTGateway.ViewModel.BasicData.DeviceVariableVMs
|
|
|
|
|
@model IoTGateway.ViewModel.BasicData.DeviceVariableVMs.SetValueVM
|
2022-05-09 15:57:46 +00:00
|
|
|
|
@inject IStringLocalizer<Program> Localizer;
|
|
|
|
|
|
|
|
|
|
|
2022-08-21 14:01:32 +00:00
|
|
|
|
<wt:form vm="@Model" Url="/BasicData/DeviceVariable/DoSetValue">
|
2022-05-09 15:57:46 +00:00
|
|
|
|
<wt:row items-per-row="ItemsPerRowEnum.One">
|
2022-08-21 14:01:32 +00:00
|
|
|
|
@if (@Model.SetValues.Any())
|
|
|
|
|
{
|
|
|
|
|
foreach (var setValue in @Model.SetValues)
|
|
|
|
|
{
|
|
|
|
|
<hr class="layui-border-blue">
|
|
|
|
|
<wt:quote>@setValue.DeviceName/@setValue.Name:【原值:@setValue.RawValue】=>【计算值:@setValue.Value】</wt:quote>
|
|
|
|
|
<div style="display: none">
|
|
|
|
|
<wt:textbox field=@setValue.ID />
|
|
|
|
|
</div>
|
|
|
|
|
<wt:textbox field=@setValue.SetRawValue/>
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-05-09 15:57:46 +00:00
|
|
|
|
</wt:row>
|
|
|
|
|
|
|
|
|
|
<wt:row align="AlignEnum.Right">
|
2022-08-21 14:01:32 +00:00
|
|
|
|
<wt:submitbutton text="下发" />
|
2022-05-09 15:57:46 +00:00
|
|
|
|
<wt:closebutton text="取消" />
|
|
|
|
|
</wt:row>
|
|
|
|
|
</wt:form>
|