iotgateway/IoTGateway/Areas/BasicData/Views/Device/Create.cshtml

19 lines
659 B
Plaintext
Raw Normal View History

2021-12-12 06:55:48 +00:00
@model IoTGateway.ViewModel.BasicData.DeviceVMs.DeviceVM
@inject IStringLocalizer<Program> Localizer;
<wt:form vm="@Model">
<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:display field="Entity.DeviceTypeEnum"/>
</wt:row>
<wt:row align="AlignEnum.Right">
<wt:submitbutton />
<wt:closebutton />
</wt:row>
</wt:form>