2021-12-12 06:55:48 +00:00
|
|
|
@model IoTGateway.ViewModel.BasicData.DeviceVMs.DeviceVM
|
|
|
|
@inject IStringLocalizer<Program> Localizer;
|
|
|
|
|
|
|
|
<wt:form vm="@Model">
|
2022-05-17 05:45:12 +00:00
|
|
|
<wt:row items-per-row="ItemsPerRowEnum.Two">
|
|
|
|
<wt:combobox field="Entity.ParentId" items="AllParents" required=true />
|
|
|
|
<wt:textbox field="Entity.DeviceName" required=true />
|
|
|
|
<wt:textbox field="Entity.Index" />
|
|
|
|
<wt:textbox field="Entity.Description" />
|
|
|
|
<wt:combobox field="Entity.DriverId" items="AllDrivers" required=true />
|
|
|
|
<wt:switch field="Entity.AutoStart" />
|
|
|
|
<wt:switch field="Entity.CgUpload" />
|
|
|
|
<wt:textbox field="Entity.EnforcePeriod" />
|
|
|
|
<wt:display field="Entity.DeviceTypeEnum" />
|
|
|
|
</wt:row>
|
2021-12-12 06:55:48 +00:00
|
|
|
<wt:row align="AlignEnum.Right">
|
|
|
|
<wt:submitbutton />
|
|
|
|
<wt:closebutton />
|
|
|
|
</wt:row>
|
|
|
|
</wt:form>
|