26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
@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.Index"/>
|
|
<wt:textbox field="Entity.Description" />
|
|
<wt:combobox field="Entity.Method" items="AllMethods" required="true" />
|
|
<wt:textbox field="Entity.DeviceAddress" />
|
|
<wt:combobox field="Entity.DataType" />
|
|
<wt:switch field="Entity.IsTrigger" />
|
|
<wt:combobox field="Entity.EndianType" />
|
|
<wt:textbox field="Entity.Expressions" />
|
|
<wt:switch field="Entity.IsUpload" />
|
|
<wt:combobox field="Entity.ProtectType" />
|
|
<wt:textbox field="Entity.Alias" />
|
|
</wt:row>
|
|
<wt:quote>表达式可以进行简单的数学计算,其中raw为原值参与计算</wt:quote>
|
|
<wt:row align="AlignEnum.Right">
|
|
<wt:submitbutton />
|
|
<wt:closebutton />
|
|
</wt:row>
|
|
</wt:form>
|