2021-12-12 06:55:48 +00:00
|
|
|
@model IoTGateway.ViewModel.BasicData.DeviceVariableVMs.DeviceVariableVM
|
|
|
|
@inject IStringLocalizer<Program> Localizer;
|
|
|
|
|
|
|
|
<wt:form vm="@Model" height="500">
|
|
|
|
<wt:row items-per-row="ItemsPerRowEnum.Two">
|
|
|
|
<wt:combobox field="Entity.DeviceId" items="AllDevices" trigger-url="/BasicData/Device/GetMethods" link-field="Entity.Method" required="true" />
|
|
|
|
<wt:textbox field="Entity.Name" required="true" />
|
|
|
|
<wt:textbox field="Entity.Description" />
|
|
|
|
<wt:combobox field="Entity.Method" items="AllMethods" required="true" />
|
|
|
|
<wt:textbox field="Entity.DeviceAddress" />
|
|
|
|
<wt:combobox field="Entity.DataType" />
|
2021-12-17 07:51:25 +00:00
|
|
|
<wt:textbox field="Entity.Expressions"/>
|
2021-12-12 06:55:48 +00:00
|
|
|
<wt:combobox field="Entity.ProtectType" />
|
|
|
|
</wt:row>
|
2021-12-17 07:51:25 +00:00
|
|
|
<wt:quote>表达式可以进行简单的数学计算,其中raw为原值参与计算</wt:quote>
|
2021-12-12 06:55:48 +00:00
|
|
|
<wt:row align="AlignEnum.Right">
|
|
|
|
<wt:submitbutton />
|
|
|
|
<wt:closebutton />
|
|
|
|
</wt:row>
|
|
|
|
</wt:form>
|