完成编辑变量对话框的更改
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
Grid.Column="2"
|
||||
MinWidth="150"
|
||||
hc:InfoElement.Title="S7地址:"
|
||||
IsEnabled="{Binding IsAddModel}"
|
||||
Text="{Binding Variable.S7Address, UpdateSourceTrigger=PropertyChanged}">
|
||||
<hc:TextBox.Style>
|
||||
<Style BasedOn="{StaticResource {x:Type hc:TextBox}}" TargetType="hc:TextBox">
|
||||
@@ -101,6 +102,7 @@
|
||||
Grid.Column="2"
|
||||
MinWidth="150"
|
||||
hc:InfoElement.Title="OpcUa节点ID:"
|
||||
IsEnabled="{Binding IsAddModel}"
|
||||
Text="{Binding Variable.OpcUaNodeId, UpdateSourceTrigger=PropertyChanged}">
|
||||
<hc:TextBox.Style>
|
||||
<Style BasedOn="{StaticResource {x:Type hc:TextBox}}" TargetType="hc:TextBox">
|
||||
@@ -162,6 +164,7 @@
|
||||
Grid.Column="2"
|
||||
Margin="0,15,0,0"
|
||||
hc:InfoElement.Title="数据类型:"
|
||||
IsEnabled="{Binding IsAddModel}"
|
||||
ItemsSource="{Binding Source={StaticResource CSharpDataType}}"
|
||||
SelectedItem="{Binding Variable.CSharpDataType, UpdateSourceTrigger=PropertyChanged}">
|
||||
<ComboBox.ItemTemplate>
|
||||
|
||||
Reference in New Issue
Block a user