23 lines
927 B
Plaintext
23 lines
927 B
Plaintext
@model IoTGateway.ViewModel.BasicData.DeviceVariableVMs.DeviceVariableVM
|
|
@inject IStringLocalizer<Program> Localizer;
|
|
|
|
<wt:form vm="@Model">
|
|
<wt:row items-per-row="ItemsPerRowEnum.Two">
|
|
<wt:combobox field="Entity.DeviceId" items="AllDevices" />
|
|
<wt:textbox field="Entity.Name" />
|
|
<wt:textbox field="Entity.Index" />
|
|
<wt:textbox field="Entity.Description" />
|
|
<wt:combobox field="Entity.Method" items=AllMethods />
|
|
<wt:textbox field="Entity.DeviceAddress" />
|
|
<wt:combobox field="Entity.DataType" />
|
|
<wt:textbox field="Entity.Expressions" />
|
|
<wt:combobox field="Entity.ProtectType" />
|
|
</wt:row>
|
|
<wt:quote>表达式可以进行简单的数学计算,其中raw为原值参与计算</wt:quote>
|
|
<wt:hidden field="Entity.ID" />
|
|
<wt:row align="AlignEnum.Right">
|
|
<wt:submitbutton />
|
|
<wt:closebutton />
|
|
</wt:row>
|
|
</wt:form>
|