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

22 lines
873 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:switch field="Entity.CgUpload" />
<wt:textbox field="Entity.EnforcePeriod" />
2022-10-12 06:35:45 +00:00
<wt:textbox field="Entity.CmdPeriod" />
<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>