| | |
| | | <GroupBox Grid.Row="1" Header="{DynamicResource Setting.PlcSetting}" Padding="10"> |
| | | <StackPanel> |
| | | <pu:FormGroup Header="{DynamicResource Setting.PlcIp}" HeaderWidth="Auto" GroupName="MyFormGroup"> |
| | | <TextBox Text="{Binding PlcIp}"/> |
| | | <TextBox Text="{Binding PlcIp,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
| | | </pu:FormGroup> |
| | | |
| | | <pu:FormGroup Header="PLC Port" HeaderWidth="Auto" GroupName="MyFormGroup"> |
| | | <pu:NumberInput Value="{Binding PlcPort,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
| | | </pu:FormGroup> |
| | | <pu:FormGroup Header="{DynamicResource Setting.PlcEnabled}" HeaderWidth="Auto" GroupName="MyFormGroup"> |
| | | <CheckBox IsChecked="{Binding PlcEnabled,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
| | | </pu:FormGroup> |