2021-12-12 06:55:48 +00:00
|
|
|
@model IoTGateway.ViewModel.BasicData.DeviceConfigVMs.DeviceConfigVM
|
|
|
|
@inject IStringLocalizer<Program> Localizer;
|
|
|
|
|
2021-12-17 14:39:18 +00:00
|
|
|
<wt:form vm="@Model" height="400">
|
2021-12-12 06:55:48 +00:00
|
|
|
<wt:row items-per-row="ItemsPerRowEnum.Two">
|
2021-12-16 08:25:02 +00:00
|
|
|
@*<wt:textbox field="Entity.DeviceConfigName" />*@
|
2021-12-12 06:55:48 +00:00
|
|
|
@{
|
2022-08-08 07:16:42 +00:00
|
|
|
if (!string.IsNullOrEmpty(Model.Entity.EnumInfo))
|
2021-12-12 06:55:48 +00:00
|
|
|
{
|
|
|
|
<wt:combobox field="Entity.Value" items="AllTypes" />
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<wt:textbox field="Entity.Value" />
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<wt:textbox field="Entity.Description" />
|
2021-12-16 08:25:02 +00:00
|
|
|
@*<wt:textbox field="Entity.EnumInfo" />*@
|
|
|
|
@*<wt:combobox field="Entity.DeviceId" items="AllDevices" />*@
|
2021-12-12 06:55:48 +00:00
|
|
|
</wt:row>
|
|
|
|
<wt:hidden field="Entity.ID" />
|
|
|
|
<wt:row align="AlignEnum.Right">
|
|
|
|
<wt:submitbutton />
|
|
|
|
<wt:closebutton />
|
|
|
|
</wt:row>
|
|
|
|
</wt:form>
|